aboutsummaryrefslogtreecommitdiff
path: root/ham
diff options
context:
space:
mode:
authorpyllyukko <pyllyukko@maimed.org>2024-08-08 17:17:18 +0300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-08-08 21:57:15 +0700
commitb4a808e8df04a49f448b2eb1f9ff1725182e3593 (patch)
treee8b6bd28caa084d65fcabe20f6cea6b55b4da4d4 /ham
parent1fc4545ea7b3a2ae1d11fb5a59c6040800a436ab (diff)
ham/redsea: Updated for version 1.0.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
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 3a8753199b8a..816dee64a414 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 8b90501c132e..3aed21f49270 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"