diff options
author | B. Watson <yalhcru@gmail.com> | 2015-11-10 16:24:49 -0500 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2015-11-14 07:07:23 +0700 |
commit | bbc711b83636557f6f02bde25851283e24e7a309 (patch) | |
tree | e567d8ebc3a8fc74d44078d1551c84dbaca82c8c /libraries/lvtk/lvtk.SlackBuild | |
parent | e827e7b0b14a45666e35f5e73ef49a736c5b45b9 (diff) | |
download | slackbuilds-bbc711b83636557f6f02bde25851283e24e7a309.tar.gz |
libraries/lvtk: Updated for version 1.2.0.
Diffstat (limited to 'libraries/lvtk/lvtk.SlackBuild')
-rw-r--r-- | libraries/lvtk/lvtk.SlackBuild | 26 |
1 files changed, 16 insertions, 10 deletions
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 |