summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2019-12-02 10:31:38 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-12-15 17:06:25 +0700
commit9c44c6fead3d44c46d405df94548780f77fa936e (patch)
tree69e4d6e4adec063a5925571a6da7d6e95ffe8a06
parentf827e2f5aa56a98c929ee0d682749a8ac9c9aab9 (diff)
downloadslackbuilds-9c44c6fead3d44c46d405df94548780f77fa936e.tar.gz
audio/zita-dpl1: Updated for version 0.3.3.
Signed-off-by: B. Watson <yalhcru@gmail.com>
-rw-r--r--audio/zita-dpl1/zita-dpl1.SlackBuild16
-rw-r--r--audio/zita-dpl1/zita-dpl1.info6
2 files changed, 10 insertions, 12 deletions
diff --git a/audio/zita-dpl1/zita-dpl1.SlackBuild b/audio/zita-dpl1/zita-dpl1.SlackBuild
index 4e472a9682..21702eb4a7 100644
--- a/audio/zita-dpl1/zita-dpl1.SlackBuild
+++ b/audio/zita-dpl1/zita-dpl1.SlackBuild
@@ -6,10 +6,11 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20191202 bkw: updated for v0.3.3
# 20170122 bkw: updated for v0.1.0
PRGNAM=zita-dpl1
-VERSION=${VERSION:-0.1.0}
+VERSION=${VERSION:-0.3.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -48,12 +49,8 @@ cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
if [ "${FORCE_SLACK_CFLAGS:-no}" = "yes" ]; then
sed -i \
@@ -61,6 +58,8 @@ if [ "${FORCE_SLACK_CFLAGS:-no}" = "yes" ]; then
-e "s,-O2 -ffast-math,$SLKCFLAGS,"
fi
+sed -i 's,pkgconf,pkg-config,' source/Makefile
+
make -C source PREFIX=/usr
make -C source install PREFIX=/usr DESTDIR=$PKG
strip $PKG/usr/bin/$PRGNAM
@@ -75,8 +74,7 @@ mkdir -p $PKG/usr/man/man1
gzip -9c $CWD/$PRGNAM.1 > $PKG/usr/man/man1/$PRGNAM.1.gz
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING LICENSE README doc/* \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS COPYING README doc/* $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/audio/zita-dpl1/zita-dpl1.info b/audio/zita-dpl1/zita-dpl1.info
index 0fbf967ffc..78d3e6c9fd 100644
--- a/audio/zita-dpl1/zita-dpl1.info
+++ b/audio/zita-dpl1/zita-dpl1.info
@@ -1,8 +1,8 @@
PRGNAM="zita-dpl1"
-VERSION="0.1.0"
+VERSION="0.3.3"
HOMEPAGE="http://kokkinizita.linuxaudio.org/linuxaudio/zita-dpl1-doc/quickguide.html"
-DOWNLOAD="http://kokkinizita.linuxaudio.org/linuxaudio/downloads/zita-dpl1-0.1.0.tar.bz2"
-MD5SUM="32e82022c7d9fd996c998877de165594"
+DOWNLOAD="http://kokkinizita.linuxaudio.org/linuxaudio/downloads/zita-dpl1-0.3.3.tar.bz2"
+MD5SUM="7939c13dbd519f8889c6fe9f816d6cd6"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="jack-audio-connection-kit clxclient"