summaryrefslogtreecommitdiffstats
path: root/desktop
diff options
context:
space:
mode:
author dsomero2012-09-29 13:30:28 +0200
committer Robby Workman2012-09-30 00:17:41 +0200
commit4668c84c32bf26588dc2fba1ecd02d88abb296c9 (patch)
treeddf271f6b2eac021bc641a6eaaab3bfde5643703 /desktop
parent8cdac3e30e4e4c66dbb3cdf1604f28f9789c30b5 (diff)
downloadold.slackbuilds-4668c84c32bf26588dc2fba1ecd02d88abb296c9.tar.gz
desktop/q4wine: Fixed (Handle icon files)
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'desktop')
-rw-r--r--desktop/q4wine/doinst.sh7
-rw-r--r--desktop/q4wine/q4wine.SlackBuild8
2 files changed, 10 insertions, 5 deletions
diff --git a/desktop/q4wine/doinst.sh b/desktop/q4wine/doinst.sh
index 65fd352418..ee51833f41 100644
--- a/desktop/q4wine/doinst.sh
+++ b/desktop/q4wine/doinst.sh
@@ -2,3 +2,10 @@ if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database usr/share/applications >/dev/null 2>&1
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
+
+
diff --git a/desktop/q4wine/q4wine.SlackBuild b/desktop/q4wine/q4wine.SlackBuild
index fe5f8ec21a..98771e8c59 100644
--- a/desktop/q4wine/q4wine.SlackBuild
+++ b/desktop/q4wine/q4wine.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for qt4wine
-# Copyright 2009-2010 David Somero <dsomero@hotmail.com> Athens,TN USA
+# Copyright 2009-2012 David Somero <dsomero@hotmail.com> Athens,TN USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,15 +24,13 @@
PRGNAM=q4wine
VERSION=${VERSION:-0.999_rc8}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
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
@@ -90,7 +88,7 @@ mkdir build
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-# Move man pages in in the correct place and compress them
+# Move man pages in to the correct place and compress them.
mv $PKG/usr/share/man $PKG/usr/man
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done