summaryrefslogtreecommitdiffstats
path: root/audio/ngjackspa
diff options
context:
space:
mode:
Diffstat (limited to 'audio/ngjackspa')
-rw-r--r--audio/ngjackspa/README17
-rw-r--r--audio/ngjackspa/ngjackspa.SlackBuild33
-rw-r--r--audio/ngjackspa/ngjackspa.info8
3 files changed, 34 insertions, 24 deletions
diff --git a/audio/ngjackspa/README b/audio/ngjackspa/README
index b5a71ae436..832e3b44e8 100644
--- a/audio/ngjackspa/README
+++ b/audio/ngjackspa/README
@@ -1,12 +1,19 @@
ngjackspa (JACK host for LADSPA plugins)
ngjackspa is a set of simple user interfaces that host a LADSPA plugin,
-providing JACK ports for its audio inputs and outputs, and dynamic setting
-of its control inputs. Additionally, the plugin controls can be exported
-to or controlled by control voltages on standard JACK audio ports.
+providing JACK ports for its audio inputs and outputs, and dynamic
+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
diff --git a/audio/ngjackspa/ngjackspa.SlackBuild b/audio/ngjackspa/ngjackspa.SlackBuild
index 7fd26461af..f82aec1f65 100644
--- a/audio/ngjackspa/ngjackspa.SlackBuild
+++ b/audio/ngjackspa/ngjackspa.SlackBuild
@@ -1,15 +1,20 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for ngjackspa
-# Written by B. Watson (yalhcru@gmail.com)
+# Written by B. Watson (urchlay@slackware.uk)
# 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}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -19,7 +24,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -47,15 +56,12 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+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 \
@@ -90,15 +96,12 @@ 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
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/audio/ngjackspa/ngjackspa.info b/audio/ngjackspa/ngjackspa.info
index f9b3af6adb..ec121f2977 100644
--- a/audio/ngjackspa/ngjackspa.info
+++ b/audio/ngjackspa/ngjackspa.info
@@ -1,10 +1,10 @@
PRGNAM="ngjackspa"
VERSION="1.0"
-HOMEPAGE="http://web.archive.org/web/20170206035443/https://gna.org/projects/ngjackspa"
-DOWNLOAD="http://ponce.cc/slackware/sources/repo/ngjackspa-1.0.tar.gz"
+HOMEPAGE="https://wiki.linuxaudio.org/apps/all/ngjackspa"
+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=""
-REQUIRES="jack-audio-connection-kit ladspa_sdk"
+REQUIRES="jack ladspa_sdk"
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"