aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2011-08-09 11:05:48 -0300
committerNiels Horn <niels.horn@slackbuilds.org>2011-08-09 11:05:48 -0300
commitbb9f7cb9233f65b2c9033f0be057cfdf5433b2d3 (patch)
tree8dc8475a4bbbfa087b8893a7b232842ebc835f0d
parent27ae8299ebc7fdcb8ae52c37a36ccad42d73ce43 (diff)
audio/lv2dynparam1: Added (dynamic parameter extension for LV2)
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
-rw-r--r--audio/lv2dynparam1/README10
-rw-r--r--audio/lv2dynparam1/lv2dynparam1.SlackBuild81
-rw-r--r--audio/lv2dynparam1/lv2dynparam1.info10
-rw-r--r--audio/lv2dynparam1/slack-desc19
4 files changed, 120 insertions, 0 deletions
diff --git a/audio/lv2dynparam1/README b/audio/lv2dynparam1/README
new file mode 100644
index 0000000000000..4d9cd75d2609e
--- /dev/null
+++ b/audio/lv2dynparam1/README
@@ -0,0 +1,10 @@
+lv2dynparam is a LV2 plugin interface extension that enables plugin
+parameters to appear and disappear (i.e. number of voices). It also allows
+nested grouping of parameters. Groups can be used for things like ADSR
+abstraction, i.e. group of 4 float parameters.
+
+The extension consists of a header describing the extension interface
+and libraries, one for plugins and one for hosts, to expose functionality
+in more usable, from programmer point of view, interface.
+
+This requires lv2core.
diff --git a/audio/lv2dynparam1/lv2dynparam1.SlackBuild b/audio/lv2dynparam1/lv2dynparam1.SlackBuild
new file mode 100644
index 0000000000000..61b43a5ed799f
--- /dev/null
+++ b/audio/lv2dynparam1/lv2dynparam1.SlackBuild
@@ -0,0 +1,81 @@
+#!/bin/sh
+
+# Slackware build script for lv2dynparam1
+
+# Written by B. Watson (yalhcru@gmail.com)
+
+PRGNAM=lv2dynparam1
+VERSION=${VERSION:-2}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+
+CWD=$(pwd)
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i486 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+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
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
+cd $PRGNAM-$VERSION
+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 {} \;
+
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --build=$ARCH-slackware-linux
+
+make
+make install-strip DESTDIR=$PKG
+
+# configure ignores --disable-static
+rm -f $PKG/usr/lib$LIBDIRSUFFIX/*.a
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ AUTHORS COPYING NEWS README \
+ $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/lv2dynparam1/lv2dynparam1.info b/audio/lv2dynparam1/lv2dynparam1.info
new file mode 100644
index 0000000000000..4a7a6e7a53609
--- /dev/null
+++ b/audio/lv2dynparam1/lv2dynparam1.info
@@ -0,0 +1,10 @@
+PRGNAM="lv2dynparam1"
+VERSION="2"
+HOMEPAGE="http://home.gna.org/lv2dynparam/"
+DOWNLOAD="http://download.gna.org/lv2dynparam/lv2dynparam1-2.tar.bz2"
+DOWNLOAD_x86_64=""
+MD5SUM="708a7ce7e6604af2a58f521e343509d5"
+MD5SUM_x86_64=""
+MAINTAINER="B. Watson"
+EMAIL="yalhcru@gmail.com"
+APPROVED="Niels Horn"
diff --git a/audio/lv2dynparam1/slack-desc b/audio/lv2dynparam1/slack-desc
new file mode 100644
index 0000000000000..d3ca04dc5bb28
--- /dev/null
+++ b/audio/lv2dynparam1/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE1:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the '1:' 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 '1:'.
+
+ |-----handy-ruler------------------------------------------------------|
+lv2dynparam1: lv2dynparam1 (dynamic parameter extension for LV2)
+lv2dynparam1:
+lv2dynparam1: lv2dynparam is a LV2 plugin interface extension that enables plugin
+lv2dynparam1: parameters to appear and disappear (i.e. number of voices). It also
+lv2dynparam1: allows nested grouping of parameters. Groups can be used for things
+lv2dynparam1: like ADSR abstraction, i.e. group of 4 float parameters.
+lv2dynparam1:
+lv2dynparam1: The extension consists of a header describing the extension
+lv2dynparam1: interface and libraries, one for plugins and one for hosts, to expose
+lv2dynparam1: functionality in more usable, from programmer point of view,
+lv2dynparam1: interface.