summaryrefslogtreecommitdiff
path: root/libraries/slv2
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/slv2')
-rw-r--r--libraries/slv2/README4
-rw-r--r--libraries/slv2/slv2.SlackBuild20
-rw-r--r--libraries/slv2/slv2.info10
3 files changed, 24 insertions, 10 deletions
diff --git a/libraries/slv2/README b/libraries/slv2/README
index 233dc266e4..d08dc7b173 100644
--- a/libraries/slv2/README
+++ b/libraries/slv2/README
@@ -1,5 +1,5 @@
SLV2 is a library for LV2 hosts intended to make using LV2 Plugins
as simple as possible (without sacrificing capabilities).
-slv2 requires raptor, rasqal, redland, lv2core and jack-audio-connection-kit.
-All of which are available from SlackBuilds.org. \ No newline at end of file
+slv2 requires lv2core and jack-audio-connection-kit. Both are
+available from SlackBuilds.org. \ No newline at end of file
diff --git a/libraries/slv2/slv2.SlackBuild b/libraries/slv2/slv2.SlackBuild
index f080151d3e..9b98f2d277 100644
--- a/libraries/slv2/slv2.SlackBuild
+++ b/libraries/slv2/slv2.SlackBuild
@@ -23,9 +23,9 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=slv2
-VERSION=0.6.2
+VERSION=0.6.6
ARCH=${ARCH:-i486}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
CWD=$(pwd)
@@ -35,10 +35,13 @@ 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"
fi
set -e
@@ -60,13 +63,22 @@ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./waf configure \
--prefix=/usr \
+ --libdir=/usr/lib$LIBDIRSUFFIX \
--mandir=/usr/man \
--htmldir=/usr/doc/$PRGNAM-$VERSION
./waf build
./waf install --destdir=$PKG
-rm -rf $PKG/usr/man # No man pages are installed, but the dirs are...
+if [ "$LIBDIRSUFFIX" != "" ]; then
+ sed -i "s,/lib,/lib$LIBDIRSUFFIX," \
+ $PKG/usr/lib$LIBDIRSUFFIX/pkgconfig/$PRGNAM.pc
+fi
+
+( cd $PKG/usr/man
+ find . -type f -exec gzip -9 {} \;
+ for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+)
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS ChangeLog COPYING INSTALL README \
@@ -77,4 +89,4 @@ 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.tgz
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/libraries/slv2/slv2.info b/libraries/slv2/slv2.info
index e08af8f747..755c991aec 100644
--- a/libraries/slv2/slv2.info
+++ b/libraries/slv2/slv2.info
@@ -1,8 +1,10 @@
PRGNAM="slv2"
-VERSION="0.6.2"
+VERSION="0.6.6"
HOMEPAGE="http://wiki.drobilla.net/SLV2"
-DOWNLOAD="http://download.drobilla.net/slv2-0.6.2.tar.bz2"
-MD5SUM="4e8bb5f5e96d0edea988018b6297cf99"
-MAINTAINER="ppr:kut"
+DOWNLOAD="http://download.drobilla.net/slv2-0.6.6.tar.bz2"
+MD5SUM="b8e8e0e82dd04324fcd533e8acd1ce85"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+MAINTAINER="pprkut"
EMAIL="pprkut@liwjatan.at"
APPROVED="rworkman"