libraries/lvtk: Updated for version 1.2.0.

This commit is contained in:
B. Watson 2015-11-10 16:24:49 -05:00 committed by Willy Sudiarto Raharjo
parent e827e7b0b1
commit bbc711b836
3 changed files with 20 additions and 13 deletions

View file

@ -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.

View file

@ -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

View file

@ -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=""