aboutsummaryrefslogtreecommitdiff
path: root/ham/sdrpp/sdrpp.SlackBuild
diff options
context:
space:
mode:
authorAndrea Sacchetti Picchio <andrea dot sacchettipicchio at gmail dot com>2024-11-04 17:36:48 +0900
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-11-05 00:16:30 +0700
commitffabc70d7548d18a56414099a1bdd22a26af40fd (patch)
tree42722f7ad23904f8cf765deb7fcfc8208bbc4919 /ham/sdrpp/sdrpp.SlackBuild
parentc0ef070df99a14c87a694bedaa44e71c0eea6cff (diff)
ham/sdrpp: Updated for version 20241103.05216796.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'ham/sdrpp/sdrpp.SlackBuild')
-rw-r--r--ham/sdrpp/sdrpp.SlackBuild15
1 files changed, 7 insertions, 8 deletions
diff --git a/ham/sdrpp/sdrpp.SlackBuild b/ham/sdrpp/sdrpp.SlackBuild
index b413adb2f9175..7419e831739ee 100644
--- a/ham/sdrpp/sdrpp.SlackBuild
+++ b/ham/sdrpp/sdrpp.SlackBuild
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=sdrpp
-VERSION=${VERSION:-1.0.4}
+VERSION=${VERSION:-20241103.05216796}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -71,9 +71,9 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf SDRPlusPlus-$VERSION
-tar xvf $CWD/SDRPlusPlus-$VERSION.tar.gz
-cd SDRPlusPlus-$VERSION
+rm -rf SDRPlusPlus-${VERSION##*.}*
+tar xvf $CWD/SDRPlusPlus-${VERSION##*.}*.tar.gz
+cd SDRPlusPlus-${VERSION##*.}*
chown -R root:root .
find -L . \
@@ -82,9 +82,8 @@ 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 {} \;
-# Fix
-zcat $CWD/networking.diff.gz | patch -p0 || exit
-zcat $CWD/audio_sink.diff.gz | patch -p0 || exit
+# Fix (for rtaudio 6.0.0)
+zcat $CWD/rtaudio-6.0.0.diff.gz | patch -p0 || exit
mkdir -p build
cd build
@@ -111,7 +110,7 @@ cd ..
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- license readme.md contributing.md \
+ contributing.md license readme.md \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
find $PKG/usr/doc -type f -exec chmod 644 {} \;