audio/lv2core: Updated for version 4.0

Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
This commit is contained in:
Heinz Wiesinger 2011-03-28 11:49:26 +02:00 committed by Robby Workman
parent 324f78abfc
commit b57faac551
3 changed files with 49 additions and 24 deletions

View file

@ -1,4 +1,4 @@
LV2 is a standard for plugins and matching host applications,
primarily targeted at audio processing and generation.
LV2 is a successor to LADSPA, created to address the limitations
of LADSPA which many applications have outgrown.
of LADSPA which many applications have outgrown.

View file

@ -2,7 +2,7 @@
# Slackware build script for lv2core
# Copyright 2008-2009 Heinz Wiesinger <pprkut@liwjatan.at>
# Copyright 2008-2011 Heinz Wiesinger, Amsterdam, The Netherlands
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -23,16 +23,14 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=lv2core
VERSION=${VERSION:-3.0}
BUILD=${BUILD:-2}
VERSION=${VERSION:-4.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
# Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@ -73,24 +71,11 @@ find . \
./waf configure \
--prefix=/usr \
--libdir=/usr/lib$LIBDIRSUFFIX/
--libdir=/usr/lib$LIBDIRSUFFIX
./waf build
./waf install --destdir=$PKG
if [ "$LIBDIRSUFFIX" != "" ]; then
sed -i "s,/lib,/lib$LIBDIRSUFFIX," \
$PKG/usr/lib$LIBDIRSUFFIX/pkgconfig/$PRGNAM.pc
fi
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING 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
mkdir -p $PKG/etc/profile.d
cat <<EOF > $PKG/etc/profile.d/$PRGNAM.sh
@ -105,5 +90,27 @@ EOF
chmod 0755 $PKG/etc/profile.d/*
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING README \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/usr/lib$LIBDIRSUFFIX/lv2
cd $PKG/usr/lib$LIBDIRSUFFIX/lv2
for i in data-access-1.0 dyn-manifest-1.0 event-1.0 instance-access-1.0 \
midi-1.0 presets-2.0 ui-2.0 units-5.0 uri-map-1.0; do
tar xvf $CWD/lv2-$i.tar.gz
done
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 -
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}

View file

@ -1,10 +1,28 @@
PRGNAM="lv2core"
VERSION="3.0"
VERSION="4.0"
HOMEPAGE="http://lv2plug.in/"
DOWNLOAD="http://lv2plug.in/spec/lv2core-3.0.tar.bz2"
MD5SUM="382f7d96ff0374c0c495336e1c8bb999"
DOWNLOAD="http://lv2plug.in/spec/lv2core-4.0.tar.bz2 \
http://lv2plug.in/spec/lv2-data-access-1.0.tar.gz \
http://lv2plug.in/spec/lv2-dyn-manifest-1.0.tar.gz \
http://lv2plug.in/spec/lv2-event-1.0.tar.gz \
http://lv2plug.in/spec/lv2-instance-access-1.0.tar.gz \
http://lv2plug.in/spec/lv2-midi-1.0.tar.gz \
http://lv2plug.in/spec/lv2-presets-2.0.tar.gz \
http://lv2plug.in/spec/lv2-ui-2.0.tar.gz \
http://lv2plug.in/spec/lv2-units-5.0.tar.gz \
http://lv2plug.in/spec/lv2-uri-map-1.0.tar.gz"
MD5SUM="5097d964f3559a1ecec2d2fc822ef53a \
b0bcd91172726c6e22d18c110cfd99dd \
67647ff9c35f617daad1452c812ec576 \
1074cda5a355bc235768e8ac34cd74d7 \
8fc074b465aa4314e05337a41cafc0ca \
0dff16b05242811757228b0b4f2b263d \
2c23b9f0f5ffe6ec774aff22b38cecdd \
c9e77eb0579f7b41af16b655fb660207 \
4f7a5e2b16daae0f2b13e6f98d7cbb2b \
effd86ecea9a31eed2e312beadca8be8"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="pprkut"
MAINTAINER="Heinz Wiesinger"
EMAIL="pprkut@liwjatan.at"
APPROVED="Erik Hanson,rworkman"