summaryrefslogtreecommitdiffstats
path: root/audio/mixxx/mixxx.SlackBuild
diff options
context:
space:
mode:
author B. Watson <yalhcru@gmail.com>2020-11-04 02:01:53 -0500
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2020-11-07 14:02:34 +0700
commitf9b900807530cc33b3bfc9ed138e2edca9fa9ef6 (patch)
tree18c3cae585028740b79f9e743e468e7e91dbefaf /audio/mixxx/mixxx.SlackBuild
parent3319ecc029e466e10e27559838def35e91aa4e51 (diff)
downloadslackbuilds-f9b900807530cc33b3bfc9ed138e2edca9fa9ef6.tar.gz
slackbuilds-f9b900807530cc33b3bfc9ed138e2edca9fa9ef6.tar.xz
audio/mixxx: Fix build.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'audio/mixxx/mixxx.SlackBuild')
-rw-r--r--audio/mixxx/mixxx.SlackBuild9
1 files changed, 7 insertions, 2 deletions
diff --git a/audio/mixxx/mixxx.SlackBuild b/audio/mixxx/mixxx.SlackBuild
index d29e4a1da6..18a05fe4a1 100644
--- a/audio/mixxx/mixxx.SlackBuild
+++ b/audio/mixxx/mixxx.SlackBuild
@@ -68,14 +68,19 @@ cd $PRGNAM-release-$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 \
+ -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 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
# Fix library installation path
sed -i "s|'lib'|'lib$LIBDIRSUFFIX'|" build/depends.py src/SConscript || exit 1
sed -i "s|usr/lib|usr/lib$LIBDIRSUFFIX|" src/SConscript || exit 1
+# 20201104 bkw: Install udev rules to $PKG/etc, not the real /etc!
+# The dir has to already exist, too.
+sed -i "s,/etc/udev,$PKG&," src/SConscript
+mkdir -p $PKG/etc/udev/rules.d
+
export SCONSFLAGS="-j $(nproc)"
CFLAGS="$SLKCFLAGS" \
QTDIR=/usr/lib$LIBDIRSUFFIX/qt5 \