summaryrefslogtreecommitdiff
path: root/multimedia/avidemux
diff options
context:
space:
mode:
authordsomero <xgizzmo@slackbuilds.org>2012-09-29 21:35:32 -0400
committerRobby Workman <rworkman@slackbuilds.org>2012-09-30 20:01:04 -0500
commit833c8480d91c6819b30e758e097b3872c56ec83d (patch)
tree0dc32a266fd947ec687a203c262ce32b1f1de49f /multimedia/avidemux
parentaf11800446591e1ba4a27b49af483644b5b019c8 (diff)
downloadslackbuilds-833c8480d91c6819b30e758e097b3872c56ec83d.tar.gz
multimedia/avidemux: Fixed (Handle icon files)
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'multimedia/avidemux')
-rw-r--r--multimedia/avidemux/avidemux.SlackBuild4
-rw-r--r--multimedia/avidemux/doinst.sh6
2 files changed, 7 insertions, 3 deletions
diff --git a/multimedia/avidemux/avidemux.SlackBuild b/multimedia/avidemux/avidemux.SlackBuild
index c471d78002..509ddf7c1c 100644
--- a/multimedia/avidemux/avidemux.SlackBuild
+++ b/multimedia/avidemux/avidemux.SlackBuild
@@ -27,15 +27,13 @@
PRGNAM=avidemux
VERSION=${VERSION:-2.5.6}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
diff --git a/multimedia/avidemux/doinst.sh b/multimedia/avidemux/doinst.sh
index 65028cbc6a..82963fcceb 100644
--- a/multimedia/avidemux/doinst.sh
+++ b/multimedia/avidemux/doinst.sh
@@ -2,3 +2,9 @@ if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications
fi
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
+