summaryrefslogtreecommitdiff
path: root/audio/guitarix/guitarix.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'audio/guitarix/guitarix.SlackBuild')
-rw-r--r--audio/guitarix/guitarix.SlackBuild17
1 files changed, 15 insertions, 2 deletions
diff --git a/audio/guitarix/guitarix.SlackBuild b/audio/guitarix/guitarix.SlackBuild
index 91cce751f7..99e45da870 100644
--- a/audio/guitarix/guitarix.SlackBuild
+++ b/audio/guitarix/guitarix.SlackBuild
@@ -10,8 +10,16 @@
# - Make .desktop file validate
# - Add guitarix's README to /usr/doc
+# 20130430 bkw:
+# - Updated for 0.27.1
+# - Replaced slack-desc with updated text from guitarix site
+# - Added LV2 option
+
+# Modified version released under the WTFPL, for details see
+# http://www.wtfpl.net/txt/copying/
+
PRGNAM=guitarix
-VERSION=${VERSION:-0.24.3}
+VERSION=${VERSION:-0.27.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -67,10 +75,15 @@ find . \
# 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
+fi
+
./waf configure \
--prefix=/usr \
--cxxflags-release="$SLKCFLAGS" \
- --ladspadir="/usr/lib${LIBDIRSUFFIX}/ladspa/"
+ --ladspadir="/usr/lib${LIBDIRSUFFIX}/ladspa/" \
+ $LV2OPT
./waf build
./waf install --destdir=$PKG