summaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
author Johannes Schoepfer2022-12-22 15:15:51 +0100
committer Willy Sudiarto Raharjo2022-12-22 15:15:51 +0100
commitb8b3c374a69f01c581f411c863e7fb5429462503 (patch)
treeb3e1056736361b74f44406eec8f993d5dfe1ee6a /audio
parent3116f7deafee8d61a9286de57315e8fa727bd055 (diff)
downloadslackbuilds-b8b3c374a69f01c581f411c863e7fb5429462503.tar.gz
audio/patchage: Updated for version 1.0.10.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'audio')
-rw-r--r--audio/patchage/patchage.SlackBuild27
-rw-r--r--audio/patchage/patchage.info6
2 files changed, 20 insertions, 13 deletions
diff --git a/audio/patchage/patchage.SlackBuild b/audio/patchage/patchage.SlackBuild
index 1d00ae1e79..1b0ad06f3a 100644
--- a/audio/patchage/patchage.SlackBuild
+++ b/audio/patchage/patchage.SlackBuild
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=patchage
-VERSION=${VERSION:-1.0.6}
+VERSION=${VERSION:-1.0.10}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -76,15 +76,22 @@ 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 {} \;
-CFLAGS="$SLKCFLAGS" \
-./waf configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION
-
-./waf
-./waf install --destdir=$PKG
+mkdir build
+cd build
+ CFLAGS="$SLKCFLAGS" \
+ CXXFLAGS="$SLKCFLAGS" \
+ meson .. \
+ --buildtype=release \
+ --infodir=/usr/info \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ -Dstrip=true
+ "${NINJA:=ninja}"
+ DESTDIR=$PKG $NINJA install
+cd ..
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
diff --git a/audio/patchage/patchage.info b/audio/patchage/patchage.info
index 3abd13d14b..84cada64a7 100644
--- a/audio/patchage/patchage.info
+++ b/audio/patchage/patchage.info
@@ -1,8 +1,8 @@
PRGNAM="patchage"
-VERSION="1.0.6"
+VERSION="1.0.10"
HOMEPAGE="https://drobilla.net/software/patchage.html"
-DOWNLOAD="http://download.drobilla.net/patchage-1.0.6.tar.bz2"
-MD5SUM="a6f44fda286a5e7121fc2d17d0b4aa98"
+DOWNLOAD="https://download.drobilla.net/patchage-1.0.10.tar.xz"
+MD5SUM="cd686e3a4a01fce08f27096e080c720b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="fmt ganv"