aboutsummaryrefslogtreecommitdiff
path: root/libraries/libffado
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/libffado')
-rw-r--r--libraries/libffado/libffado.SlackBuild18
-rw-r--r--libraries/libffado/libffado.info6
2 files changed, 13 insertions, 11 deletions
diff --git a/libraries/libffado/libffado.SlackBuild b/libraries/libffado/libffado.SlackBuild
index f0bc67fb3be75..9e962d2b509d7 100644
--- a/libraries/libffado/libffado.SlackBuild
+++ b/libraries/libffado/libffado.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=libffado
-VERSION=${VERSION:-2.2.1}
+VERSION=${VERSION:-2.4.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -54,6 +54,8 @@ elif [ "$ARCH" = "x86_64" ]; then
TARGET="x86_64"
fi
+PYTHON_VERSION=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])')
+
set -e
rm -rf $PKG
@@ -69,17 +71,17 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-# Use our CFLAGS
-sed -i "s/-O2 -DNDEBUG/$SLKCFLAGS -DNDEBUG/" SConstruct
-
-patch -p1 < $CWD/libffado-mixer.patch
-
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS -std=gnu++11 -Wno-deprecated-declarations" \
scons \
PREFIX=/usr \
LIBDIR=/usr/lib${LIBDIRSUFFIX} \
DIST_TARGET="$TARGET" \
- COMPILE_FLAGS="$CFLAGS -std=gnu++11" \
- DEBUG="False"
+ PYTHON_INTERPRETER='/usr/bin/python3' \
+ PYPKGDIR="/usr/lib$LIBDIRSUFFIX/python${PYTHON_VERSION}/site-packages" \
+ CUSTOM_ENV="True" \
+ DEBUG="False" \
+ UDEVDIR='/lib/udev/rules.d'
scons \
--implicit-deps-unchanged \
diff --git a/libraries/libffado/libffado.info b/libraries/libffado/libffado.info
index 04eee7ed8510b..b124b68f8647a 100644
--- a/libraries/libffado/libffado.info
+++ b/libraries/libffado/libffado.info
@@ -1,8 +1,8 @@
PRGNAM="libffado"
-VERSION="2.2.1"
+VERSION="2.4.4"
HOMEPAGE="http://www.ffado.org/"
-DOWNLOAD="http://www.ffado.org/files/libffado-2.2.1.tgz"
-MD5SUM="e113d828835051f835fb4a329cb0cbd4"
+DOWNLOAD="http://www.ffado.org/files/libffado-2.4.4.tgz"
+MD5SUM="f27970e21a80a1e9ccc1842c4a6a3c62"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="libconfig libiec61883 libxml++"