mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
audio/ngjackspa: Disable Qt4 UI by default.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
cf6d200b5c
commit
ec2e1b6509
3 changed files with 14 additions and 13 deletions
|
@ -6,9 +6,14 @@ setting of its control inputs. Additionally, the plugin controls can
|
|||
be exported to or controlled by control voltages on standard JACK audio
|
||||
ports.
|
||||
|
||||
By default, both the Qt and gtkmm user interfaces are built.
|
||||
To disable one or both of them, set QT=no and/or GTKMM=no in the
|
||||
script's environment.
|
||||
By default, the command-line (jackspa-cli), ncurses (njackspa), and
|
||||
gtkmm (gjackspa) user interfaces are built, and the qt4 one (qjackspa)
|
||||
is disabled. To build the qt4 UI, export QT=yes in the script's
|
||||
environment. You can also disable gtkmm with GTKMM=no.
|
||||
|
||||
Note: gjackspa and qjackspa won't appear in your desktop startup menu.
|
||||
This is because they require command-line arguments (the plugin
|
||||
library and ID).
|
||||
|
||||
This package uses POSIX filesystem capabilities to execute with
|
||||
elevated privileges (required for realtime audio processing). This
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
PRGNAM="ngjackspa"
|
||||
VERSION="1.0"
|
||||
HOMEPAGE="https://wiki.linuxaudio.org/apps/all/ngjackspa"
|
||||
DOWNLOAD="http://repo.or.cz/ng-jackspa.git/blob_plain/refs/heads/download:/ngjackspa-1.0.tar.gz"
|
||||
DOWNLOAD="https://repo.or.cz/ng-jackspa.git/blob_plain/refs/heads/download:/ngjackspa-1.0.tar.gz"
|
||||
MD5SUM="dd058a35e1355b483a10e9a33abed53f"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
|
|
Loading…
Reference in a new issue