aboutsummaryrefslogtreecommitdiff
path: root/libraries/serd
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2023-06-25 19:47:05 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-07-02 23:21:27 +0700
commitfdd96f52faeae769f7be3a0bf327e426d5ee287f (patch)
tree14dba14354a98e152a1739f07c74fbab477a5b4b /libraries/serd
parent50f764eb3d6602fcfcdaf8abb3a07d93133b1eab (diff)
libraries/serd: Updated for version 0.30.16, switch to meson.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/serd')
-rw-r--r--libraries/serd/serd.SlackBuild38
-rw-r--r--libraries/serd/serd.info6
2 files changed, 23 insertions, 21 deletions
diff --git a/libraries/serd/serd.SlackBuild b/libraries/serd/serd.SlackBuild
index 54acc0142b87..cb906c29cd61 100644
--- a/libraries/serd/serd.SlackBuild
+++ b/libraries/serd/serd.SlackBuild
@@ -3,7 +3,7 @@
# Slackware build script for serd
# Copyright 2012-2016 Heinz Wiesinger, Amsterdam, The Netherlands
-# Copyright 2020 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
+# Copyright 2020-2023 Matteo Bernardini <ponce@slackbuilds.org>, 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=serd
-VERSION=${VERSION:-0.30.4}
+VERSION=${VERSION:-0.30.16}
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,20 +80,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} \
- --configdir=/etc \
- --mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --largefile
-
-./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
@@ -101,7 +103,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/serd/serd.info b/libraries/serd/serd.info
index 54db918c02cf..99617c6034ad 100644
--- a/libraries/serd/serd.info
+++ b/libraries/serd/serd.info
@@ -1,8 +1,8 @@
PRGNAM="serd"
-VERSION="0.30.4"
+VERSION="0.30.16"
HOMEPAGE="http://drobilla.net/software/serd/"
-DOWNLOAD="http://download.drobilla.net/serd-0.30.4.tar.bz2"
-MD5SUM="d91349ad8ca81072d95c65b3346108cc"
+DOWNLOAD="http://download.drobilla.net/serd-0.30.16.tar.xz"
+MD5SUM="86e5ce5a874cd728a02aebf25b48dcc1"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""