ham/redsea: Updated for version 1.0.1.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
pyllyukko 2024-08-08 17:17:18 +03:00 committed by Willy Sudiarto Raharjo
parent 1fc4545ea7
commit b4a808e8df
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
2 changed files with 21 additions and 19 deletions

View File

@ -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

View File

@ -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"