audio/audacious-jack: Added (Audacious Plugin).

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
B. Watson 2024-07-03 06:56:16 +07:00 committed by Willy Sudiarto Raharjo
parent 82d0ac4b80
commit c76f106f64
No known key found for this signature in database
GPG key ID: 3F617144D7238786
4 changed files with 119 additions and 0 deletions

View file

@ -0,0 +1,3 @@
audacious-jack (JACK audit output plugin for audacious)
This plugin adds JACK audio output support to Slackware's audacious.

View file

@ -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

View file

@ -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"

View file

@ -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: