summaryrefslogtreecommitdiffstats
path: root/development/portaudio/portaudio.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/portaudio/portaudio.SlackBuild')
-rw-r--r--development/portaudio/portaudio.SlackBuild14
1 files changed, 6 insertions, 8 deletions
diff --git a/development/portaudio/portaudio.SlackBuild b/development/portaudio/portaudio.SlackBuild
index 14345e8b9e..4557cd289f 100644
--- a/development/portaudio/portaudio.SlackBuild
+++ b/development/portaudio/portaudio.SlackBuild
@@ -27,7 +27,7 @@
PRGNAM=portaudio
SRCNAM=pa
-VERSION=${VERSION:-v190600_20161030}
+VERSION=${VERSION:-v190700_20210406}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -73,11 +73,6 @@ 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 {} \;
-# 20200117 bkw: If jack (either v1 or v2) is installed, parallel builds
-# of portaudio fail. Could just hardcode -j1 in make command, but let's not
-# penalize those who aren't affected by it.
-pkg-config --exists jack && JFLAG=-j1
-
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -87,16 +82,19 @@ CXXFLAGS="$SLKCFLAGS" \
--sysconfdir=/etc \
--localstatedir=/var \
--enable-cxx \
+ --disable-static \
--build=$ARCH-slackware-linux
-make $JFLAG
+make -j1
make install DESTDIR=$PKG
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
+rm -rf $PKG/usr/lib${LIBDIRSUFFIX}/*.la
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a LICENSE.txt README.configure.txt README.txt $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a LICENSE.txt README.configure.txt $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install