diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2023-06-25 19:44:36 +0200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-07-02 23:21:27 +0700 |
commit | e173ac659c6edfe4e947a74de5c3b12361105e35 (patch) | |
tree | 90cf092cbcb55c45ab50e6eb4132c056c745cbd0 | |
parent | 92ab919f5b1d6d64b0b550486f306836c3821944 (diff) |
libraries/lilv: Updated for version 0.24.20, switch to meson.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | libraries/lilv/lilv.SlackBuild | 40 | ||||
-rw-r--r-- | libraries/lilv/lilv.info | 6 |
2 files changed, 24 insertions, 22 deletions
diff --git a/libraries/lilv/lilv.SlackBuild b/libraries/lilv/lilv.SlackBuild index 9a38433a1382..c06d9a3445b1 100644 --- a/libraries/lilv/lilv.SlackBuild +++ b/libraries/lilv/lilv.SlackBuild @@ -3,7 +3,7 @@ # Slackware build script for lilv # Copyright 2012-2016 Heinz Wiesinger, Amsterdam, The Netherlands -# Copyright 2020 Matteo Bernardini, Pisa, Italy +# Copyright 2020-2023 Matteo Bernardini, Pisa, Italy # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=lilv -VERSION=${VERSION:-0.24.8} +VERSION=${VERSION:-0.24.20} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -71,7 +71,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 +tar xvf $CWD/$PRGNAM-$VERSION.tar.xz cd $PRGNAM-$VERSION chown -R root:root . find -L . \ @@ -80,23 +80,25 @@ 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 {} \; -patch -p1 < $CWD/lilv-0.24.8-fix_translations.patch +#patch -p1 < $CWD/lilv-0.24.8-fix_translations.patch export PYTHON=python3 -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -./waf configure \ - --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --configdir=/etc \ - --mandir=/usr/man \ - --docdir=/usr/doc/$PRGNAM-$VERSION \ - --dyn-manifest - -./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 @@ -104,7 +106,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr find $PKG/usr/man -type f -exec gzip -9 {} \; mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS COPYING INSTALL NEWS README* \ +cp -a AUTHORS COPYING NEWS README* \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/libraries/lilv/lilv.info b/libraries/lilv/lilv.info index 095e13db4458..7bea3711eee1 100644 --- a/libraries/lilv/lilv.info +++ b/libraries/lilv/lilv.info @@ -1,8 +1,8 @@ PRGNAM="lilv" -VERSION="0.24.8" +VERSION="0.24.20" HOMEPAGE="http://drobilla.net/software/lilv/" -DOWNLOAD="http://download.drobilla.net/lilv-0.24.8.tar.bz2" -MD5SUM="a2eb196d97c3c3b21de77cfbe4489e51" +DOWNLOAD="http://download.drobilla.net/lilv-0.24.20.tar.xz" +MD5SUM="561ff65228b54e58744a7ae6e2141741" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-numpy sratom" |