aboutsummaryrefslogtreecommitdiff
path: root/libraries/ganv
diff options
context:
space:
mode:
authorJohannes Schoepfer <slackbuilds@schoepfer.info>2022-12-22 21:15:02 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-12-22 21:15:02 +0700
commit3116f7deafee8d61a9286de57315e8fa727bd055 (patch)
tree46a5ada62af29758af449e878b45602e3b2d561f /libraries/ganv
parentc0207f52af60636262ee545f015cc8af271b837d (diff)
libraries/ganv: Updated for version 1.8.2.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/ganv')
-rw-r--r--libraries/ganv/ganv.SlackBuild27
-rw-r--r--libraries/ganv/ganv.info6
2 files changed, 20 insertions, 13 deletions
diff --git a/libraries/ganv/ganv.SlackBuild b/libraries/ganv/ganv.SlackBuild
index 49be8a1f580b1..d10eda7be9692 100644
--- a/libraries/ganv/ganv.SlackBuild
+++ b/libraries/ganv/ganv.SlackBuild
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=ganv
-VERSION=${VERSION:-1.8.0}
+VERSION=${VERSION:-1.8.2}
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" \
-CXXFLAGS="$SLKCFLAGS" \
-./waf configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --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/libraries/ganv/ganv.info b/libraries/ganv/ganv.info
index 1bfd14483db5b..815c87bd4f20f 100644
--- a/libraries/ganv/ganv.info
+++ b/libraries/ganv/ganv.info
@@ -1,8 +1,8 @@
PRGNAM="ganv"
-VERSION="1.8.0"
+VERSION="1.8.2"
HOMEPAGE="https://drobilla.net/software/ganv.html"
-DOWNLOAD="http://download.drobilla.net/ganv-1.8.0.tar.bz2"
-MD5SUM="37419b39a90622de9cf27e034fdb33c1"
+DOWNLOAD="http://download.drobilla.net/ganv-1.8.2.tar.xz"
+MD5SUM="0c0955e674e9cbd6a493a6c6b5717640"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""