audio/alsa-tools: Minor hygiene fixes.

Signed-off-by: B. Watson <yalhcru@gmail.com>
This commit is contained in:
B. Watson 2017-03-13 14:49:33 -04:00 committed by Willy Sudiarto Raharjo
parent 0839a904e0
commit 900da54dc0

View file

@ -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