diff options
author | B. Watson <yalhcru@gmail.com> | 2011-08-27 22:48:48 -0300 |
---|---|---|
committer | Niels Horn <niels.horn@slackbuilds.org> | 2011-08-27 22:48:48 -0300 |
commit | aa976ef808754d5dabd90807a9fefa27264418ee (patch) | |
tree | b5200aaa037eb0f65e8d734010929ae3aa5f73bd /audio/millennium-plugins | |
parent | 7294be94dd7088ffdfc9a3e165aa12b1b346e019 (diff) |
audio/millenium-plugins: Added (LADSPA audio effects plugins)
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'audio/millennium-plugins')
-rw-r--r-- | audio/millennium-plugins/README | 6 | ||||
-rw-r--r-- | audio/millennium-plugins/millennium-plugins.SlackBuild | 80 | ||||
-rw-r--r-- | audio/millennium-plugins/millennium-plugins.info | 10 | ||||
-rw-r--r-- | audio/millennium-plugins/slack-desc | 19 |
4 files changed, 115 insertions, 0 deletions
diff --git a/audio/millennium-plugins/README b/audio/millennium-plugins/README new file mode 100644 index 000000000000..269601b412d2 --- /dev/null +++ b/audio/millennium-plugins/README @@ -0,0 +1,6 @@ +millennium-plugins (LADSPA audio effects plugins) + +Included plugins: limiter, diode-ladder filter, saturation, +quantization/dithering. + +This requires ladspa_sdk. diff --git a/audio/millennium-plugins/millennium-plugins.SlackBuild b/audio/millennium-plugins/millennium-plugins.SlackBuild new file mode 100644 index 000000000000..e53c2aee3b8b --- /dev/null +++ b/audio/millennium-plugins/millennium-plugins.SlackBuild @@ -0,0 +1,80 @@ +#!/bin/sh + +# Slackware build script for millennium-plugins + +# Written by B. Watson (yalhcru@gmail.com) + +PRGNAM=millennium-plugins +VERSION=${VERSION:-20100722} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -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 + +# Dist file has spaces in it, caveat scriptor. +SRCNAM="The Millennium Plugin Suite" +SUBDIR="MillenniumPlugins" + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf "$SRCNAM" +tar xvf $CWD/"$SRCNAM".tar.bz2 +cd "$SRCNAM" +chown -R root:root . +find . \ + \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ + -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ + -exec chmod 644 {} \; + +cd "$SUBDIR" + +# Use system ladspa.h (don't think it really matters, but...) +rm -f ladspa.h +sed -i 's/ladspa\.h$//' Makefile + +# NB: LFLAGS, not LDFLAGS! +make CC=gcc CFLAGS="$SLKCFLAGS" LFLAGS="" targets + +# install target doesn't create dir or do DESTDIR, do it ourselves. +install -d -m0755 $PKG/usr/lib$LIBDIRSUFFIX/ladspa +install -m0755 -s *.so $PKG/usr/lib$LIBDIRSUFFIX/ladspa + +cd .. +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +find . -type f -maxdepth 1 -exec cp "{}" $PKG/usr/doc/$PRGNAM-$VERSION \; +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$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:-tgz} diff --git a/audio/millennium-plugins/millennium-plugins.info b/audio/millennium-plugins/millennium-plugins.info new file mode 100644 index 000000000000..71e038dd5afc --- /dev/null +++ b/audio/millennium-plugins/millennium-plugins.info @@ -0,0 +1,10 @@ +PRGNAM="millennium-plugins" +VERSION="20100722" +HOMEPAGE="http://pxu.sourceforge.net/" +DOWNLOAD="http://downloads.sourceforge.net/pxu/The%20Millennium%20Plugin%20Suite.tar.bz2" +DOWNLOAD_x86_64="" +MD5SUM="88e79c0260302bc439f631dbcf5a2e9b" +MD5SUM_x86_64="" +MAINTAINER="B. Watson" +EMAIL="yalhcru@gmail.com" +APPROVED="Niels Horn" diff --git a/audio/millennium-plugins/slack-desc b/audio/millennium-plugins/slack-desc new file mode 100644 index 000000000000..b8047bd7cf88 --- /dev/null +++ b/audio/millennium-plugins/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 ':'. + + |-----handy-ruler------------------------------------------------------| +millennium-plugins: millennium-plugins (LADSPA audio effects plugins) +millennium-plugins: +millennium-plugins: Included plugins: limiter, diode-ladder filter, saturation, +millennium-plugins: quantization/dithering. +millennium-plugins: +millennium-plugins: +millennium-plugins: +millennium-plugins: +millennium-plugins: +millennium-plugins: +millennium-plugins: |