aboutsummaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2023-06-25 19:48:56 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-07-02 23:21:28 +0700
commit21af220723cd830f14c00a56696429efd0a04ab6 (patch)
tree97b41a6c6394d71860a60c60f65b13284c110de2 /libraries
parente192330f9445758e757057368e3d873e6344798c (diff)
libraries/sratom: Updated for version 0.6.14, switch to meson.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries')
-rw-r--r--libraries/sratom/sratom.SlackBuild35
-rw-r--r--libraries/sratom/sratom.info6
2 files changed, 22 insertions, 19 deletions
diff --git a/libraries/sratom/sratom.SlackBuild b/libraries/sratom/sratom.SlackBuild
index b6b8956fed706..7f385d633f8b2 100644
--- a/libraries/sratom/sratom.SlackBuild
+++ b/libraries/sratom/sratom.SlackBuild
@@ -3,7 +3,7 @@
# Slackware build script for sratom
# 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=sratom
-VERSION=${VERSION:-0.6.4}
+VERSION=${VERSION:-0.6.14}
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,19 +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
-
-./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/sratom/sratom.info b/libraries/sratom/sratom.info
index 5f1a1d3782be7..cf5074f6b885c 100644
--- a/libraries/sratom/sratom.info
+++ b/libraries/sratom/sratom.info
@@ -1,8 +1,8 @@
PRGNAM="sratom"
-VERSION="0.6.4"
+VERSION="0.6.14"
HOMEPAGE="http://drobilla.net/software/sratom/"
-DOWNLOAD="http://download.drobilla.net/sratom-0.6.4.tar.bz2"
-MD5SUM="0d087aa05c7b22d569aacc2fd14f0274"
+DOWNLOAD="http://download.drobilla.net/sratom-0.6.14.tar.xz"
+MD5SUM="e229f08f841e5d8b5d967e63e0626fc4"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="lv2"