aboutsummaryrefslogtreecommitdiff
path: root/ham
diff options
context:
space:
mode:
authorJ <sbo-qt-dab@jnet-productions.co.uk>2023-05-04 22:56:19 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-05-06 08:28:24 +0700
commit48f45278c38744c76da044edc983c7938576c2aa (patch)
treeff107e1e0b903b05c154ac9a2a2595b483f4d477 /ham
parentf69f1124aa2468ad0a853ff0063243cb45cbff25 (diff)
ham/qt-dab: Updated for version 5.3.
Signed-off-by: bedlam <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'ham')
-rw-r--r--ham/qt-dab/qt-dab.SlackBuild30
-rw-r--r--ham/qt-dab/qt-dab.info6
2 files changed, 18 insertions, 18 deletions
diff --git a/ham/qt-dab/qt-dab.SlackBuild b/ham/qt-dab/qt-dab.SlackBuild
index d36f634a46221..24eb02ed5939c 100644
--- a/ham/qt-dab/qt-dab.SlackBuild
+++ b/ham/qt-dab/qt-dab.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for qt-dab
-# Copyright 2022 J sbo-qt-dab@jnet-productions.co.uk
+# Copyright 2023 J sbo-qt-dab@jnet-productions.co.uk
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +25,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=qt-dab
-VERSION=${VERSION:-4.4}
+VERSION=${VERSION:-5.3}
+TARVERSION=4.6-5.3
BUILD=${BUILD:-0}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -69,10 +70,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$PRGNAM-$VERSION
-# Seems that the latest version folder is now name-name-version
+rm -rf $PRGNAM-$PRGNAM-$TARVERSION
+tar xvf $CWD/$PRGNAM-$TARVERSION.tar.gz
+cd $PRGNAM-$PRGNAM-$TARVERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -80,7 +80,7 @@ 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 {} \;
-# Build only the full "maxi" application
+# Build only the full application
mkdir -p build
cd build
cmake \
@@ -88,24 +88,24 @@ cd build
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_SUFFIX=${LIBDIRSUFFIX} \
- -DRTLSDR=ON \
+ -DRTLSDR_LINUX=ON \
-DRTL_TCP=ON \
-DFDK_AAC=ON \
- -DCMAKE_BUILD_TYPE=Release ../dab-maxi
+ -DCMAKE_BUILD_TYPE=Release ../qt-dab-s5
make
make install/strip DESTDIR=$PKG
cd ..
# Put the binary in the right folder, strip suffix.
mkdir $PKG/usr/bin
-mv $PKG/usr/$PRGNAM-$VERSION $PKG/usr/bin/$PRGNAM
+mv $PKG/usr/$PRGNAM-$VERSION $PKG/usr/bin/$PRGNAM-5
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
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- docs/manual.pdf \
+ docs/manual-5.pdf \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -115,13 +115,13 @@ cat $CWD/doinst.sh > $PKG/install/doinst.sh
mkdir -p $PKG/usr/share/applications
mkdir -p $PKG/usr/share/pixmaps
-chmod 0644 dab-maxi/qt-dab.desktop
-chmod 0644 dab-maxi/qt-dab.png
+chmod 0644 qt-dab-s5/qt-dab-5.desktop
+chmod 0644 qt-dab-s5/qt-dab-5.png
cp -a \
- dab-maxi/qt-dab.desktop \
+ qt-dab-s5/qt-dab-5.desktop \
$PKG/usr/share/applications
cp -a \
- dab-maxi/qt-dab.png \
+ qt-dab-s5/qt-dab-5.png \
$PKG/usr/share/pixmaps
cd $PKG
diff --git a/ham/qt-dab/qt-dab.info b/ham/qt-dab/qt-dab.info
index c38f5b08b3530..4eeea743ecff4 100644
--- a/ham/qt-dab/qt-dab.info
+++ b/ham/qt-dab/qt-dab.info
@@ -1,10 +1,10 @@
PRGNAM="qt-dab"
-VERSION="4.4"
+VERSION="5.3"
HOMEPAGE="https://www.sdr-j.tk/qt-dab.htm"
DOWNLOAD="UNSUPPORTED"
MD5SUM=""
-DOWNLOAD_x86_64="https://github.com/JvanKatwijk/qt-dab/archive/qt-dab-4.4/qt-dab-qt-dab-4.4.tar.gz"
-MD5SUM_x86_64="2bc12e9853b19b30741e689d746a2dd7"
+DOWNLOAD_x86_64="https://github.com/JvanKatwijk/qt-dab/archive/qt-dab-4.6-5.3/qt-dab-4.6-5.3.tar.gz"
+MD5SUM_x86_64="4f33764b58e834391baf280694ca060e"
REQUIRES="qwt portaudio rtl-sdr libfdk-aac"
MAINTAINER="J"
EMAIL="sbo-qt-dab@jnet-productions.co.uk"