aboutsummaryrefslogtreecommitdiff
path: root/audio/audacious-jack
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2024-07-03 06:56:16 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-07-03 07:15:36 +0700
commitc76f106f64dd88027a93a7507859951babd1ff08 (patch)
treef592738c81da0f01ad3465956aa88ac1fe3cf100 /audio/audacious-jack
parent82d0ac4b8001bfb976699d0f469f08209f6099e5 (diff)
audio/audacious-jack: Added (Audacious Plugin).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'audio/audacious-jack')
-rw-r--r--audio/audacious-jack/README3
-rw-r--r--audio/audacious-jack/audacious-jack.SlackBuild87
-rw-r--r--audio/audacious-jack/audacious-jack.info10
-rw-r--r--audio/audacious-jack/slack-desc19
4 files changed, 119 insertions, 0 deletions
diff --git a/audio/audacious-jack/README b/audio/audacious-jack/README
new file mode 100644
index 000000000000..b3dc95c5337b
--- /dev/null
+++ b/audio/audacious-jack/README
@@ -0,0 +1,3 @@
+audacious-jack (JACK audit output plugin for audacious)
+
+This plugin adds JACK audio output support to Slackware's audacious.
diff --git a/audio/audacious-jack/audacious-jack.SlackBuild b/audio/audacious-jack/audacious-jack.SlackBuild
new file mode 100644
index 000000000000..ff9c226868f4
--- /dev/null
+++ b/audio/audacious-jack/audacious-jack.SlackBuild
@@ -0,0 +1,87 @@
+#!/bin/bash
+
+# Slackware build script for audacious-jack
+
+# Written by B. Watson (urchlay@slackware.uk)
+
+# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=audacious-jack
+SRCNAM=audacious-plugins
+VERSION=${VERSION:-4.1}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+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}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $SRCNAM-$VERSION
+tar xvf $CWD/$SRCNAM-$VERSION.tar.bz2
+cd $SRCNAM-$VERSION
+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 {} \+
+
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --disable-aac \
+ --with-ffmpeg=none \
+ --program-prefix= \
+ --program-suffix= \
+ ${ARCHOPTS} \
+ --build=$ARCH-slackware-linux
+
+sed -i.bak '/^SUBDIRS/s,=.*,= src/jack,' Makefile
+make
+strip src/jack/*.so
+make install DESTDIR=$PKG
+
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKGDOC
+cp -a COPYING $PKGDOC
+cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/audio/audacious-jack/audacious-jack.info b/audio/audacious-jack/audacious-jack.info
new file mode 100644
index 000000000000..db7355ee2503
--- /dev/null
+++ b/audio/audacious-jack/audacious-jack.info
@@ -0,0 +1,10 @@
+PRGNAM="audacious-jack"
+VERSION="4.1"
+HOMEPAGE="https://audacious-media-player.org/"
+DOWNLOAD="https://distfiles.audacious-media-player.org/audacious-plugins-4.1.tar.bz2"
+MD5SUM="740d83757b49b82bc75e256c96b09bfd"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="jack"
+MAINTAINER="B. Watson"
+EMAIL="urchlay@slackware.uk"
diff --git a/audio/audacious-jack/slack-desc b/audio/audacious-jack/slack-desc
new file mode 100644
index 000000000000..2c583a06d3e0
--- /dev/null
+++ b/audio/audacious-jack/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+audacious-jack: audacious-jack (JACK audit output plugin for audacious)
+audacious-jack:
+audacious-jack: This plugin adds JACK audio output support to Slackware's audacious.
+audacious-jack:
+audacious-jack:
+audacious-jack:
+audacious-jack:
+audacious-jack:
+audacious-jack:
+audacious-jack:
+audacious-jack: