summaryrefslogtreecommitdiffstats
path: root/qmmp
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2011-06-27 18:56:02 +0000
committer Eric Hameleers <alien@slackware.com>2011-06-27 18:56:02 +0000
commit3c46b53756e1405f811bf745d120b80f0cd8cdfb (patch)
tree42b34a3a5812ba31cb42e01f3ffad9e9e021dfac /qmmp
parent4eeb1611fb0545d828f3c0c672106bd4d2f77578 (diff)
downloadasb-3c46b53756e1405f811bf745d120b80f0cd8cdfb.tar.gz
asb-3c46b53756e1405f811bf745d120b80f0cd8cdfb.tar.xz
Update to 0.5.1
Diffstat (limited to 'qmmp')
-rwxr-xr-xqmmp/build/qmmp.SlackBuild19
1 files changed, 14 insertions, 5 deletions
diff --git a/qmmp/build/qmmp.SlackBuild b/qmmp/build/qmmp.SlackBuild
index 92e70e41..521ca0a9 100755
--- a/qmmp/build/qmmp.SlackBuild
+++ b/qmmp/build/qmmp.SlackBuild
@@ -37,6 +37,8 @@
# 0.5.0-1: 15/may/2011 by Eric Hameleers <alien@slackware.com>
# * Update. Removed libsndfile as an external dependency because
# that has been added to Slackware 13.37.
+# 0.5.1-1: 27/jun/2011 by Eric Hameleers <alien@slackware.com>
+# * Update.
#
# Run 'sh qmmp.SlackBuild' to build a Slackware package.
# The package (.tgz) and .txt file as well as build logs are created in /tmp .
@@ -47,12 +49,11 @@
# Set initial variables:
PRGNAM=qmmp
-VERSION=${VERSION:-0.5.0}
+VERSION=${VERSION:-0.5.1}
BUILD=${BUILD:-2}
NUMJOBS=${NUMJOBS:" -j4 "}
TAG=${TAG:-alien}
-# This covers most filenames you'd want as documentation. Change if needed.
DOCS="AUTHORS COPYING ChangeLog README*"
# Where do we look for sources?
@@ -114,10 +115,11 @@ rm -rf $OUTPUT/{configure,make,install,error,makepkg}-$PRGNAM.log
# Source file availability:
if ! [ -f ${SOURCE} ]; then
+ echo "Source '$(basename ${SOURCE})' not available yet..."
+ # Check if the $SRCDIR is writable at all - if not, download to $OUTPUT
+ [ -w "$SRCDIR" ] || SOURCE="$OUTPUT/$(basename $SOURCE)"
+ if [ -f ${SOURCE} ]; then echo "Ah, found it!"; continue; fi
if ! [ "x${SRCURL}" == "x" ]; then
- # Check if the $SRCDIR is writable at all - if not, download to $OUTPUT
- [ -w "$SRCDIR" ] || SOURCE="$OUTPUT/$(basename $SOURCE)"
- echo "Source '$(basename ${SOURCE})' not available yet..."
echo "Will download file to $(dirname $SOURCE)"
wget -nv -T 20 -O "${SOURCE}" "${SRCURL}" || true
if [ $? -ne 0 -o ! -s "${SOURCE}" ]; then
@@ -176,6 +178,13 @@ if [ -x usr/bin/update-mime-database ]; then
chroot . /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
fi
+# Update hicolor theme cache:
+if [ -d usr/share/icons/hicolor ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ chroot . /usr/bin/gtk-update-icon-cache -f -t usr/share/icons/hicolor 1> /dev/null 2> /dev/null
+ fi
+fi
+
EOT
# Add documentation: