Package Details: freedv 1.2.2-1

Git Clone URL: https://aur.archlinux.org/freedv.git (read-only)
Package Base: freedv
Description: Digital Voice for Radio Amateurs
Upstream URL: http://freedv.org/
Keywords: ham radio
Licenses: GPL2
Submitter: AxPU
Maintainer: AxPU
Last Packager: AxPU
Votes: 5
Popularity: 0.632339
First Submitted: 2015-09-22 20:17
Last Updated: 2017-11-19 00:30

Latest Comments

arthurulfeldt commented on 2017-11-22 19:31

it's also necessary to depend on codec2-svn until the codec2 release files are updated to include 700C support which the release version already depends on.

so it seems that the release version of freeDV is depending on a pre-release library ... :-/ anyway here's a patch:

cat 0001-depend-on-codec2-svn-until-they-relase-a-stable-veri.patch 1 ↵ (master⚡) arthur@a:11:29:14
From ce803c1a7f4add0fc30047907b9757becfaf19d5 Mon Sep 17 00:00:00 2001
From: Arthur Ulfeldt <arthur@yummly.com>
Date: Wed, 22 Nov 2017 11:28:57 -0800
Subject: [PATCH] depend on codec2-svn until they relase a stable verison with
700C

---
PKGBUILD | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/PKGBUILD b/PKGBUILD
index cd1ecac..f18efd9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,7 +7,7 @@ pkgdesc="Digital Voice for Radio Amateurs"
arch=('i686' 'x86_64')
license=('GPL2')
url="http://freedv.org/"
-depends=('glibc' 'portaudio' 'hamlib' 'sox' 'wxgtk' 'codec2' 'speex' 'libao')
+depends=('glibc' 'portaudio' 'hamlib' 'sox' 'wxgtk' 'codec2-svn' 'speex' 'libao')
#depends=('glibc' 'portaudio' 'hamlib' 'wxgtk' 'codec2' 'speex')
makedepends=('cmake')

--
2.15.0


and it's pushed to my gihub repo linked below

arthurulfeldt commented on 2017-11-22 19:09

i pushed an updated package to https://github.com/thearthur/freedv-aur with the corrected download links.
here's the diff:

cat 0001-use-new-download-link-and-upgrade-to-1.2.2.patch (master⚡) arthur@a:11:08:30
From 9a74047bfdd0c1656d1e20af5eb1938e3389f38d Mon Sep 17 00:00:00 2001
From: Arthur Ulfeldt <arthur@yummly.com>
Date: Wed, 22 Nov 2017 11:01:29 -0800
Subject: [PATCH] use new download link and upgrade to 1.2.2

---
PKGBUILD | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/PKGBUILD b/PKGBUILD
index 6af2727..cd1ecac 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Andreas Schreiner <andreas.schreiner@sonnenmulde.at>

pkgname=freedv
-pkgver="1.2"
+pkgver="1.2.2"
pkgrel=1
pkgdesc="Digital Voice for Radio Amateurs"
arch=('i686' 'x86_64')
@@ -10,8 +10,9 @@ url="http://freedv.org/"
depends=('glibc' 'portaudio' 'hamlib' 'sox' 'wxgtk' 'codec2' 'speex' 'libao')
#depends=('glibc' 'portaudio' 'hamlib' 'wxgtk' 'codec2' 'speex')
makedepends=('cmake')
-source=("https://files.freedv.org/$pkgname/$pkgname-$pkgver.tar.xz")
-sha512sums=('6f368ba3517ac57cdb581a21bf3a87f50b168bf3de51666b99f09469ed12e45a368740ee8a7f83adf6f6b59341ea7a14b3ba30a597f7ad96ba2091ecd9b89661')
+
+source=("https://freedv.com/wp-content/uploads/sites/8/2017/10/$pkgname-$pkgver.tar.xz")
+sha512sums=('63ad0fd7a3fc0f88784b934738a51a2a6a0e58ae15aa4599c0efa36d3119f0c9c5778a1becaa8daa7161a8da3dc4c9247a813fea6a4c7de6d3cb22f5df437737')


build() {
@@ -19,7 +20,7 @@ build() {
mkdir -p build_linux
cd build_linux
cmake ../ -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR:PATH=lib -DUSE_STATIC_SOX=TRUE -DUSE_STATIC_SPEEXDSP=FALSE -DUSE_STATIC_CODEC2=FALSE -DBOOTSTRAP_WXWIDGETS=FALSE
- make
+ make
}

package() {
--
2.15.0

petris commented on 2017-11-21 23:50

files.freedv.org appears to not work anymore. A working download URL for 1.2.2 is https://freedv.com/wp-content/uploads/sites/8/2017/10/freedv-1.2.2.tar.xz

AxPU commented on 2017-02-23 19:40

Version 1.2 is out but needs codec2 version 0.6 that is not yet in AUR (probably very soon tough).

Until then you have to update codec2 yourself, it is a simple change of version number in the PKGBUILD and correcting the hashes.

If you don't know about all of that, just wait for a few days.. vy 73

maze commented on 2016-02-14 08:29

Hamlib has been upgraded to 3.x, please test.

AxPU commented on 2015-11-23 22:30

Thank you for the information - that dependency slipped my attention until now!

arthurulfeldt commented on 2015-11-23 20:58

Do I need to build libao independently? Building this today is failing with:

-- Will attempt static build of sox.
ERRORCould not find libao.
On Linux systems try installing:
libao-devel (RPM based systems)
libao-dev (DEB based systems)

... and ...

-- Build type will be: Release
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
AO_LIBRARIES
linked by target "freedv" in directory /tmp/pacaurtmp-arthur/freedv/src/freedv-1.1/src

-- Configuring incomplete, errors occurred!

AxPU commented on 2015-09-26 19:54

Update to version 1.1

Still uses static SOX since the Arch Linux provided version does not work (too new..)

AxPU commented on 2015-09-26 12:54

Update to version 1.1

ATTENTION: This only builds with codec2 version 0.5 !!
At the moment of this writing AUR only has version 0.4 so you have to provide version 0.5 yourself (e.g. by adjusting the 0.4 PKGBUILD file)

You could also stay at freedv 1.0.1 until codec2 is updated - this works.

Still uses static SOX since the Arch Linux provided version does not work (to new..)

AxPU commented on 2015-09-22 20:22

Added the release version to AUR and disowned the svn-package. It only works by building a static linked version of SOX - at least for the moment. Have fun :)