diff options
author | B. Watson <yalhcru@gmail.com> | 2015-05-15 18:47:18 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2015-05-17 23:45:55 +0700 |
commit | 392fd78a730dc3115344549a3831989932f110fd (patch) | |
tree | 6f2b922687b7ed4ad85f38cbd4174b48226436be /audio/guitarix/guitarix.SlackBuild | |
parent | aa6ea5076be62e35edf0ccdb525e5acd746853b0 (diff) | |
download | slackbuilds-392fd78a730dc3115344549a3831989932f110fd.tar.gz |
audio/guitarix: Updated for version 0.32.3.
Diffstat (limited to 'audio/guitarix/guitarix.SlackBuild')
-rw-r--r-- | audio/guitarix/guitarix.SlackBuild | 24 |
1 files changed, 20 insertions, 4 deletions
diff --git a/audio/guitarix/guitarix.SlackBuild b/audio/guitarix/guitarix.SlackBuild index 1db1caa2a4..465fba0238 100644 --- a/audio/guitarix/guitarix.SlackBuild +++ b/audio/guitarix/guitarix.SlackBuild @@ -15,11 +15,20 @@ # - Replaced slack-desc with updated text from guitarix site # - Added LV2 option +# 20150514 bkw: +# - Updated for 0.32.3 +# - Fix some issues with the shared libs: they were being installed +# to /usr/lib/ on 64-bit, and they were missing the +x bits. +# - Made LV2 option default to yes, since upstream is requiring lilv +# even if --no-lv2 is used. Also, the lv2 plugins were being +# installed to /usr/lib/ on 64-bit. Grr. +# - Upstream wants avahi by default. For now, hardcoded --no-avahi. + # Modified version released under the WTFPL, for details see # http://www.wtfpl.net/txt/copying/ PRGNAM=guitarix -VERSION=${VERSION:-0.27.1} +VERSION=${VERSION:-0.32.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -75,14 +84,18 @@ find -L . \ # be present among', implying we should only need Audio *or* AudioVideo. sed -i '/^Categories/s,$,Audio;,;' $PRGNAM.desktop.in -if [ "${LV2:-no}" = "yes" ]; then - LV2OPT=--build-lv2 +if [ "${LV2:-yes}" = "no" ]; then + LV2OPT=--no-lv2 fi +LIBDIR="/usr/lib${LIBDIRSUFFIX}" ./waf configure \ --prefix=/usr \ --cxxflags-release="$SLKCFLAGS" \ - --ladspadir="/usr/lib${LIBDIRSUFFIX}/ladspa/" \ + --ladspadir="$LIBDIR/ladspa/" \ + --lv2dir="$LIBDIR/lv2/" \ + --libdir="$LIBDIR" \ + --no-avahi \ $LV2OPT ./waf build ./waf install --destdir=$PKG @@ -90,6 +103,9 @@ fi 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 +# Shared libraries are supposed to be +x. +chmod 755 $PKG/$LIBDIR/libgx*.so.?.? + # Man page written for this SlackBuild mkdir -p $PKG/usr/man/man1 gzip -9c < $CWD/$PRGNAM.1 > $PKG/usr/man/man1/$PRGNAM.1.gz |