summaryrefslogtreecommitdiffstats
path: root/audio/ngjackspa/ngjackspa.SlackBuild
diff options
context:
space:
mode:
author B. Watson <yalhcru@gmail.com>2021-12-03 17:09:57 -0500
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2021-12-10 08:37:35 +0700
commitec2e1b650914af84d275391f4e2b3cb05bbf264c (patch)
tree75a44ea52ad732eb4d5e566bfa68ae4190dd5138 /audio/ngjackspa/ngjackspa.SlackBuild
parentcf6d200b5c9290d98b9826fb717ff297dd4e1d7e (diff)
downloadslackbuilds-ec2e1b650914af84d275391f4e2b3cb05bbf264c.tar.gz
slackbuilds-ec2e1b650914af84d275391f4e2b3cb05bbf264c.tar.xz
audio/ngjackspa: Disable Qt4 UI by default.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'audio/ngjackspa/ngjackspa.SlackBuild')
-rw-r--r--audio/ngjackspa/ngjackspa.SlackBuild14
1 files changed, 5 insertions, 9 deletions
diff --git a/audio/ngjackspa/ngjackspa.SlackBuild b/audio/ngjackspa/ngjackspa.SlackBuild
index c41375f67a..61f877a583 100644
--- a/audio/ngjackspa/ngjackspa.SlackBuild
+++ b/audio/ngjackspa/ngjackspa.SlackBuild
@@ -6,11 +6,13 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20211203 bkw: BUILD=2, QT=no by default.
+
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=ngjackspa
VERSION=${VERSION:-1.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -22,9 +24,6 @@ if [ -z "$ARCH" ]; then
esac
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.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -60,9 +59,9 @@ chown -R root:root .
find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
\! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
-# build options
+# build options. QT=yes needs qt4 (missing from current repo as of 20211203).
GTKMM="${GTKMM:-yes}"
-QT="${QT:-yes}"
+QT="${QT:-no}"
# dike out the parts the user disabled
[ "$GTKMM" = "no" ] && sed -i \
@@ -97,12 +96,9 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/$DOCDIR/$PRGNAM.SlackBuild
mkdir -p $PKG/install
sed -e "s,%GTKMM%,$GTKMM," -e "s,%QT%,$QT," \
$CWD/slack-desc > $PKG/install/slack-desc
-#cat $CWD/doinst.sh > $PKG/install/doinst.sh
-# Only add capability stuff if not disabled:
if [ "${SETCAP:-yes}" = "yes" ]; then
cat $CWD/setcap.sh >> $PKG/install/doinst.sh
- # Only allow execution by audio group
chown root:audio $PKG/usr/bin/*
chmod 0750 $PKG/usr/bin/*
fi