libraries/libbass: Updated for version 2.4.17.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Steven Voges 2022-11-12 06:50:59 +00:00 committed by Willy Sudiarto Raharjo
parent 183477c0ed
commit 99548ba3f2
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 12 additions and 8 deletions

View file

@ -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

View file

@ -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=""