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.SlackBuild23
1 files changed, 4 insertions, 19 deletions
diff --git a/audio/guitarix/guitarix.SlackBuild b/audio/guitarix/guitarix.SlackBuild
index e3fa1af6a9..adba06e984 100644
--- a/audio/guitarix/guitarix.SlackBuild
+++ b/audio/guitarix/guitarix.SlackBuild
@@ -86,10 +86,10 @@ tar xvf $CWD/$TARNAME-$VERSION.tar.bz2
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# Confusing freedesktop.org standard is confusing.
# To pass desktop-file-validate, we need both Audio and AudioVideo, even
@@ -102,17 +102,6 @@ if [ "${LV2:-yes}" = "no" ]; then
LV2OPT=--no-lv2
fi
-# 20151109 bkw: in case anyone needs guitarix-0.33.0:
-# Starting with 0.34.0, the default is to pass -std=c++11 to gcc, which
-# causes Slack 14.1's old bluetooth.h to fail (it uses gcc extensions).
-# Before 0.34.0, this option's not needed... and will cause an error if
-# it's present. Also, our patches are for 0.34.0 and won't apply to
-# 0.33.0. So:
-if ./waf --help | grep -q -- --disable-cxx11; then
- EXTRAOPT="--disable-cxx11"
- PATCH=${PATCH:-yes}
-fi
-
# patches are optional (undocumented in README, on purpose)
if [ "${PATCH:-no}" = "yes" ]; then
for patch in $CWD/patches/*.patch; do
@@ -123,10 +112,6 @@ fi
# allow building non-SSE package on SSE host
[ "${SSE:-yes}" = "no" ] && EXTRAOPT="$EXTRAOPT --disable-sse"
-# allow disabling webkitgtk. A bit of a dirty hack.
-[ "${WEBKIT:-yes}" = "no" ] && \
- sed -i 's,webkit-1.0,webkit-DISABLED,' wscript
-
LIBDIR="/usr/lib${LIBDIRSUFFIX}"
./waf configure \
--prefix=/usr \