diff options
author | Steven Voges <svoges.sbo@gmail.com> | 2022-11-12 06:50:59 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-11-12 22:33:02 +0700 |
commit | 99548ba3f2ef1eafc240a0c9ebafd7e78605b04b (patch) | |
tree | 3ff54cd61b08bee5bf18f0be0b67bdbdff61d3b8 | |
parent | 183477c0eddb8aac0d6a08d5c46afc1cdcab51d6 (diff) | |
download | slackbuilds-99548ba3f2ef1eafc240a0c9ebafd7e78605b04b.tar.gz |
libraries/libbass: Updated for version 2.4.17.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | libraries/libbass/libbass.SlackBuild | 16 | ||||
-rw-r--r-- | libraries/libbass/libbass.info | 4 |
2 files changed, 12 insertions, 8 deletions
diff --git a/libraries/libbass/libbass.SlackBuild b/libraries/libbass/libbass.SlackBuild index 149bbebf5c..3e52931b84 100644 --- a/libraries/libbass/libbass.SlackBuild +++ b/libraries/libbass/libbass.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=libbass SRCNAM=bass -VERSION=${VERSION:-2.4.16.7} +VERSION=${VERSION:-2.4.17} SRCVER=${SRCVER:-24} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -58,6 +58,9 @@ elif [ "$ARCH" = "i686" ]; then elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2" + LIBDIRSUFFIX="64" else SLKCFLAGS="-O2" LIBDIRSUFFIX="" @@ -80,14 +83,15 @@ find -L . \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; mkdir -p $PKG/usr/lib${LIBDIRSUFFIX} -if [ "$ARCH" = "x86_64" ]; then - cp x64/$PRGNAM.so $PKG/usr/lib${LIBDIRSUFFIX} +if [ "$ARCH" = "i586" ]; then + cp libs/x86/$PRGNAM.so $PKG/usr/lib${LIBDIRSUFFIX} +elif [ "$ARCH" = "arm" ]; then + cp libs/armhf/$PRGNAM.so $PKG/usr/lib${LIBDIRSUFFIX} else - cp $PRGNAM.so $PKG/usr/lib${LIBDIRSUFFIX} + cp libs/$ARCH/$PRGNAM.so $PKG/usr/lib${LIBDIRSUFFIX} fi -mkdir -p $PKG/usr/include -cp $SRCNAM.h $PKG/usr/include/$SRCNAM.h +install -D -m644 $SRCNAM.h $PKG/usr/include/$SRCNAM.h find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true diff --git a/libraries/libbass/libbass.info b/libraries/libbass/libbass.info index 9cc208681c..6079096f0c 100644 --- a/libraries/libbass/libbass.info +++ b/libraries/libbass/libbass.info @@ -1,8 +1,8 @@ PRGNAM="libbass" -VERSION="2.4.16.7" +VERSION="2.4.17" HOMEPAGE="https://www.un4seen.com" DOWNLOAD="http://www.un4seen.com/files/bass24-linux.zip" -MD5SUM="ae02976f74b070f811e889bd4feb6fc4" +MD5SUM="a9ea0bca8e1da1d3759cc0d0dc7e6bbe" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |