summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Matteo Bernardini2024-04-20 12:53:17 +0200
committer Matteo Bernardini2024-04-20 17:22:26 +0200
commit550b5334a96b88e2f5e291013c7f4a75ab336701 (patch)
tree24b96743f3dcce2ef5def37780e66dde76f330ba
parent7348664936073e3ad54706addd43560c23807ed8 (diff)
downloadslackbuilds-aubio.tar.gz
libraries/aubio: Updated for version 20240102_152d681.aubio
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
-rw-r--r--libraries/aubio/README8
-rw-r--r--libraries/aubio/aubio.SlackBuild11
-rw-r--r--libraries/aubio/aubio.info8
3 files changed, 16 insertions, 11 deletions
diff --git a/libraries/aubio/README b/libraries/aubio/README
index 0bab21e1c8..d1c71a9330 100644
--- a/libraries/aubio/README
+++ b/libraries/aubio/README
@@ -7,7 +7,7 @@ results too.
jack and ffmpeg are optional dependencies.
-The python bindings are built if numpy is available and the python3
-ones are built if numpy3 is available: if both versions of python
-are present in the system, the aubio and aubiocut python scripts
-will use python3.
+The python2 bindings are built if python2-numpy is available and
+the python3 ones are built if python3-numpy is available: if both
+versions of numpy are present in the system, the aubio and aubiocut
+python scripts will use python3.
diff --git a/libraries/aubio/aubio.SlackBuild b/libraries/aubio/aubio.SlackBuild
index 48e8c876be..0ae7d5aba4 100644
--- a/libraries/aubio/aubio.SlackBuild
+++ b/libraries/aubio/aubio.SlackBuild
@@ -3,7 +3,7 @@
# Slackware build script for aubio
# Copyright 2008-2016 Heinz Wiesinger, Amsterdam, The Netherlands
-# Copyright 2018-2019 Matteo Bernardini, Pisa, Italy
+# Copyright 2018-2024 Matteo Bernardini, Pisa, Italy
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -31,8 +31,9 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=aubio
-VERSION=${VERSION:-0.4.9}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-20240102_152d681}
+WAFVER=${WAFVER:-2.0.26}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -73,7 +74,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION $PRGNAM-$VERSION-2
-tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
+tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -82,6 +83,8 @@ 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 {} +
+install -m 0755 $CWD/waf-$WAFVER waf
+
# Fix detecting ffmpeg
sed -i "s|'HAVE_' + i in ctx.env.define_key|'HAVE_' + i in ctx.env|" \
wscript || exit 1
diff --git a/libraries/aubio/aubio.info b/libraries/aubio/aubio.info
index c5d084ea72..aa912abca8 100644
--- a/libraries/aubio/aubio.info
+++ b/libraries/aubio/aubio.info
@@ -1,8 +1,10 @@
PRGNAM="aubio"
-VERSION="0.4.9"
+VERSION="20240102_152d681"
HOMEPAGE="https://aubio.org/"
-DOWNLOAD="https://aubio.org/pub/aubio-0.4.9.tar.bz2"
-MD5SUM="50c9c63b15a2692378af5d602892f16a"
+DOWNLOAD="https://ponce.cc/slackware/sources/repo/aubio-20240102_152d681.tar.xz \
+ https://ponce.cc/slackware/sources/repo/waf-2.0.26"
+MD5SUM="6ada0f768d8b78308f842d8e8862c325 \
+ 730623b05efa37980aa15ff34a02e990"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""