diff options
author | Heinz Wiesinger <pprkut@slackbuilds.org> | 2011-03-28 11:49:26 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2011-03-29 00:07:50 -0500 |
commit | b57faac5515511db7f9a3173b5985e689daa7b85 (patch) | |
tree | d66ce2909f5e5effb3b1c1903821f5be3bbfbf9e /audio | |
parent | 324f78abfcf6d3ca4fc1aca54fd1ac78e26087a9 (diff) | |
download | slackbuilds-b57faac5515511db7f9a3173b5985e689daa7b85.tar.gz |
audio/lv2core: Updated for version 4.0
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
Diffstat (limited to 'audio')
-rw-r--r-- | audio/lv2core/README | 2 | ||||
-rw-r--r-- | audio/lv2core/lv2core.SlackBuild | 45 | ||||
-rw-r--r-- | audio/lv2core/lv2core.info | 26 |
3 files changed, 49 insertions, 24 deletions
diff --git a/audio/lv2core/README b/audio/lv2core/README index 916651fe65..a023eca107 100644 --- a/audio/lv2core/README +++ b/audio/lv2core/README @@ -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.
\ No newline at end of file +of LADSPA which many applications have outgrown. diff --git a/audio/lv2core/lv2core.SlackBuild b/audio/lv2core/lv2core.SlackBuild index 89010f8142..c5e2eb6881 100644 --- a/audio/lv2core/lv2core.SlackBuild +++ b/audio/lv2core/lv2core.SlackBuild @@ -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} diff --git a/audio/lv2core/lv2core.info b/audio/lv2core/lv2core.info index 3464a43697..d6052e1fc0 100644 --- a/audio/lv2core/lv2core.info +++ b/audio/lv2core/lv2core.info @@ -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" |