aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--audio/alsa-tools/alsa-tools.SlackBuild28
1 files changed, 22 insertions, 6 deletions
diff --git a/audio/alsa-tools/alsa-tools.SlackBuild b/audio/alsa-tools/alsa-tools.SlackBuild
index f5f6a173f477b..f7f36433f58c5 100644
--- a/audio/alsa-tools/alsa-tools.SlackBuild
+++ b/audio/alsa-tools/alsa-tools.SlackBuild
@@ -13,15 +13,20 @@
# the firmware is being included in the package as well.
# *** I agree. --rworkman :-)
-# 20140219 bkw: fix .desktop files so they validate
+# 20170313 bkw:
+# - flip this changelog right-side-up :)
+# - stop spamming /root/.qt/
+# - not bumping BUILD, it's a trivial change
+
+# 20170126 bkw: update for 1.1.3
+# 20160109 rlw: update for 1.1.0
+# 20150505 bkw: update for 1.0.29
# 20140823 bkw:
-# - Update for 1.0.28
# - Add usbcore.autosuspend=-1 to tascam howto
+# - Update for 1.0.28
-# 20150505 bkw: update for 1.0.29
-# 20160109 rlw: update for 1.1.0
-# 20170126 bkw: update for 1.1.3
+# 20140219 bkw: fix .desktop files so they validate
PRGNAM=alsa-tools
VERSION=${VERSION:-1.1.3}
@@ -90,10 +95,21 @@ fi
# This supports the SBo qt3 build. It's not enough to source qt.sh,
# the qt3 bin directories need to come first in $PATH too.
# If you got your Qt3 from some other source, you may have to
-# fiddle with QTDIR and PATH yourself.
+# fiddle with QTDIR and PATH yourself. The uic wrapper is to
+# prevent uic from writing in /root/.qt, and the ccache stuff
+# has no effect if ccache isn't in use.
if [ -e /opt/kde3/lib$LIBDIRSUFFIX/qt3 -a "${QT3:-yes}" = "yes" ]; then
source /etc/profile.d/qt.sh
export PATH=/opt/kde3/lib$LIBDIRSUFFIX/qt3/bin:/opt/kde3/bin:$PATH
+ export UIC=$( pwd )/uic
+ cat <<EOF > uic
+#!/bin/sh
+echo "=== running uic wrapper"
+export CCACHE_DIR=${CCACHE_DIR:-$HOME/.ccache}
+export HOME=$( pwd )
+exec /opt/kde3/bin/uic "\$@"
+EOF
+ chmod +x uic
else
rm -rf qlo10k1
fi