development/portaudio: Updated for version v190700_20210406.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Willy Sudiarto Raharjo 2021-04-19 21:13:21 +07:00
parent b812d76cca
commit b4a6bfacbf
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 9 additions and 11 deletions

View file

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

View file

@ -1,8 +1,8 @@
PRGNAM="portaudio"
VERSION="v190600_20161030"
VERSION="v190700_20210406"
HOMEPAGE="http://www.portaudio.com/"
DOWNLOAD="http://www.portaudio.com/archives/pa_stable_v190600_20161030.tgz"
MD5SUM="4df8224e047529ca9ad42f0521bf81a8"
DOWNLOAD="http://files.portaudio.com/archives/pa_stable_v190700_20210406.tgz"
MD5SUM="ad319249932c6794b551d954b8844402"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""