summaryrefslogtreecommitdiffstats
path: root/ham/qt-dab/qt-dab.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'ham/qt-dab/qt-dab.SlackBuild')
-rw-r--r--ham/qt-dab/qt-dab.SlackBuild10
1 files changed, 8 insertions, 2 deletions
diff --git a/ham/qt-dab/qt-dab.SlackBuild b/ham/qt-dab/qt-dab.SlackBuild
index 6627f7a867..76af86f1e0 100644
--- a/ham/qt-dab/qt-dab.SlackBuild
+++ b/ham/qt-dab/qt-dab.SlackBuild
@@ -25,8 +25,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=qt-dab
-VERSION=${VERSION:-5.3}
-TARVERSION=4.6-5.3
+VERSION=${VERSION:-5.4}
+TARVERSION=6
BUILD=${BUILD:-0}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -39,6 +39,11 @@ if [ -z "$ARCH" ]; then
esac
fi
+# Don't use portaudio, use QT built in audio? [Requires patching source atm]
+if [ "${QTAUDIO:-no}" == "yes" ]; then
+ QT_OPTION="-DQT_AUDIO=ON"
+fi
+
# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
# the name of the created package would be, and then exit. This information
# could be useful to other scripts.
@@ -91,6 +96,7 @@ cd build
-DRTLSDR_LINUX=ON \
-DRTL_TCP=ON \
-DFDK_AAC=ON \
+ $QT_OPTION \
-DCMAKE_BUILD_TYPE=Release ../qt-dab-s5
make
make install/strip DESTDIR=$PKG