diff options
author | Sasha <sashaa@disroot.org> | 2020-11-03 20:24:47 +0100 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2021-04-17 23:38:45 -0500 |
commit | 6b81e8f802176ce35ad6dc4bea94c389f9d34e44 (patch) | |
tree | 2a928da1f192e48dd3b4f0f2b7cf532654eec1af /libraries/libffado | |
parent | e96de8dd61f0567a507962027dd54f095b3edff9 (diff) |
libraries/libffado: Updated for version 2.4.4, point to python3.
This fixes ffado-mixer
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'libraries/libffado')
-rw-r--r-- | libraries/libffado/libffado.SlackBuild | 18 | ||||
-rw-r--r-- | libraries/libffado/libffado.info | 6 |
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++" |