aboutsummaryrefslogtreecommitdiff
path: root/ham
diff options
context:
space:
mode:
Diffstat (limited to 'ham')
-rw-r--r--ham/redsea/redsea.SlackBuild32
-rw-r--r--ham/redsea/redsea.info8
2 files changed, 21 insertions, 19 deletions
diff --git a/ham/redsea/redsea.SlackBuild b/ham/redsea/redsea.SlackBuild
index 3a8753199b8a0..816dee64a4144 100644
--- a/ham/redsea/redsea.SlackBuild
+++ b/ham/redsea/redsea.SlackBuild
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=redsea
-VERSION=${VERSION:-0.21}
+VERSION=${VERSION:-1.0.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -76,20 +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 {} \;
-./autogen.sh
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --build=$ARCH-slackware-linux
-
-make
-make 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/ham/redsea/redsea.info b/ham/redsea/redsea.info
index 8b90501c132e6..3aed21f492708 100644
--- a/ham/redsea/redsea.info
+++ b/ham/redsea/redsea.info
@@ -1,10 +1,10 @@
PRGNAM="redsea"
-VERSION="0.21"
+VERSION="1.0.1"
HOMEPAGE="https://github.com/windytan/redsea"
-DOWNLOAD="https://github.com/windytan/redsea/archive/v0.21/redsea-0.21.tar.gz"
-MD5SUM="208a21592a71662ba74d160f75a29e38"
+DOWNLOAD="https://github.com/windytan/redsea/archive/v1.0.1/redsea-1.0.1.tar.gz"
+MD5SUM="dd2d3ae1a9b19587b9a1becc543ae13f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="liquid-dsp"
+REQUIRES="liquid-dsp nlohmann_json"
MAINTAINER="pyllyukko"
EMAIL="pyllyukko@maimed.org"