summaryrefslogtreecommitdiff
path: root/libraries/lvtk
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/lvtk')
-rw-r--r--libraries/lvtk/README3
-rw-r--r--libraries/lvtk/lvtk.SlackBuild26
-rw-r--r--libraries/lvtk/lvtk.info4
3 files changed, 20 insertions, 13 deletions
diff --git a/libraries/lvtk/README b/libraries/lvtk/README
index 56bae27718..2ed61b53b3 100644
--- a/libraries/lvtk/README
+++ b/libraries/lvtk/README
@@ -8,4 +8,5 @@ If you want to build the API documentation, install graphviz, then export
DOCS=yes before running lvtk.SlackBuild. This is only useful if you plan
to develop your own code that uses lvtk. The docs take up 4MB of space
in /usr/doc/lvtk-$VERSION/html/ (which makes the package 5x the size it
-would be without the docs).
+would be without the docs). Also, the example plugins will be installed
+in /usr/lib(64)?/lv2/ltvk.lv2/, for another 500KB or so.
diff --git a/libraries/lvtk/lvtk.SlackBuild b/libraries/lvtk/lvtk.SlackBuild
index 6508eef894..c0a70eb42f 100644
--- a/libraries/lvtk/lvtk.SlackBuild
+++ b/libraries/lvtk/lvtk.SlackBuild
@@ -6,8 +6,12 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20151110 bkw:
+# - Update for v1.2.0
+# - Install the example plugins if DOCS=yes. They were already being built.
+
PRGNAM=lvtk
-VERSION=${VERSION:-1.1.1}
+VERSION=${VERSION:-1.2.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -44,7 +48,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+tar xvf $CWD/$VERSION.tar.gz || tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -63,6 +67,16 @@ CXXFLAGS="$SLKCFLAGS" \
./waf build
./waf install --destdir=$PKG
+# only build the doxygen stuff if enabled. requires graphviz.
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+if [ "${DOCS:-no}" = "yes" ] ; then
+ ./waf configure --docs build
+ cp -a build/doc/* $PKG/usr/doc/$PRGNAM-$VERSION
+ cp -a examples $PKG/usr/doc/$PRGNAM-$VERSION/examples
+ mkdir -p $PKG/usr/lib$LIBDIRSUFFIX/lv2
+ cp -a build/examples/$PRGNAM.lv2 $PKG/usr/lib$LIBDIRSUFFIX/lv2
+fi
+
# Only ttl2c and the lv2 plugins actually get stripped, because the
# libs in /usr/lib(64)?/ are static. No idea how (or even if) waf can
# be coerced into building shared libs instead. The static libs are
@@ -70,17 +84,9 @@ CXXFLAGS="$SLKCFLAGS" \
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING README ChangeLog $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-# only build the doxygen stuff if enabled. requires graphviz.
-if [ "${DOCS:-no}" = "yes" ] ; then
- ./waf configure --docs build
- cp -a build/doc/* $PKG/usr/doc/$PRGNAM-$VERSION
- cp -a examples $PKG/usr/doc/$PRGNAM-$VERSION/examples
-fi
-
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
diff --git a/libraries/lvtk/lvtk.info b/libraries/lvtk/lvtk.info
index 0a6d85fef8..0a515c082a 100644
--- a/libraries/lvtk/lvtk.info
+++ b/libraries/lvtk/lvtk.info
@@ -1,7 +1,7 @@
PRGNAM="lvtk"
-VERSION="1.1.1"
+VERSION="1.2.0"
HOMEPAGE="http://lvtoolkit.org/"
-DOWNLOAD="http://download.tuxfamily.org/proaudio/distfiles/lvtk-1.1.1.tar.gz"
+DOWNLOAD="https://github.com/lvtk/lvtk/archive/1.2.0.tar.gz"
MD5SUM="ab3040721aee72b14dbf5f3956b9713a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""