summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Woodfall <dave@slackbuilds.org>2022-02-18 19:38:56 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-02-19 12:09:32 +0700
commite5cc7bfad8c64f2f1c50611c1735f7b400669eb0 (patch)
tree79d7ce82b0a647bb196f93a11618f7d25503d751
parentcf100fe860784cdb7ae7993f67b521d0a2cbd55b (diff)
downloadslackbuilds-e5cc7bfad8c64f2f1c50611c1735f7b400669eb0.tar.gz
audio/nas: Updated for version 1.9.5.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--audio/nas/nas.SlackBuild15
-rw-r--r--audio/nas/nas.info6
2 files changed, 10 insertions, 11 deletions
diff --git a/audio/nas/nas.SlackBuild b/audio/nas/nas.SlackBuild
index 7e6dc7fbb6..ecf0548887 100644
--- a/audio/nas/nas.SlackBuild
+++ b/audio/nas/nas.SlackBuild
@@ -24,7 +24,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=nas
-VERSION=${VERSION:-1.9.4}
+VERSION=${VERSION:-1.9.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -69,7 +69,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG/etc/rc.d $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.src.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -78,10 +78,6 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-# Thanks to Gregory Guy for pointing me at the patch
-# https://aur.archlinux.org/cgit/aur.git/tree/patch-llvm11.patch?h=nas
-patch -p0 < $CWD/patch-llvm11.patch
-
xmkmf
cd config
CFLAGS="$SLKCFLAGS" \
@@ -97,9 +93,12 @@ CXXFLAGS="$SLKCFLAGS" \
--build=$ARCH-slackware-linux
cd ..
-# Multiple jobs fail
+# Multiple jobs fail or make a lot of noise
make -j1 AR="ar cq" World
-make -j1 install.man install DESTDIR=$PKG
+make install.man install DESTDIR=$PKG
+
+# remove the static library
+rm -f $PKG/usr/lib64/libaudio.a
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
diff --git a/audio/nas/nas.info b/audio/nas/nas.info
index c3978f8463..f7f666d5b8 100644
--- a/audio/nas/nas.info
+++ b/audio/nas/nas.info
@@ -1,8 +1,8 @@
PRGNAM="nas"
-VERSION="1.9.4"
+VERSION="1.9.5"
HOMEPAGE="http://radscan.com/nas.html"
-DOWNLOAD="http://downloads.sourceforge.net/nas/nas-1.9.4.src.tar.gz"
-MD5SUM="dac0e6cd3e5d6a37ae1dff364236a752"
+DOWNLOAD="https://downloads.sourceforge.net/nas/nas-1.9.5.tar.gz"
+MD5SUM="576d2da2edb99611696fff1e21d74090"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""