diff options
Diffstat (limited to 'libraries')
-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 149bbebf5c00..3e52931b84fa 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 9cc208681c75..6079096f0c45 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="" |