aboutsummaryrefslogtreecommitdiff
path: root/audio/alsa-tools/alsa-tools.SlackBuild
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2017-03-13 14:49:33 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-03-18 06:58:56 +0700
commit900da54dc094b883859cd42e905d5f633c2f752a (patch)
treee2878765bc931927029d38ae809ccc350f4ea154 /audio/alsa-tools/alsa-tools.SlackBuild
parent0839a904e0ec2637ef52b75bb8a372d2aba5bb43 (diff)
audio/alsa-tools: Minor hygiene fixes.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'audio/alsa-tools/alsa-tools.SlackBuild')
-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