summaryrefslogtreecommitdiff
path: root/desktop/QtCurve-Gtk2/QtCurve-Gtk2.SlackBuild
diff options
context:
space:
mode:
authorArTourter <artourter@gmail.com>2010-12-11 00:11:46 -0600
committerRobby Workman <rworkman@slackbuilds.org>2010-12-11 00:11:46 -0600
commit665357c91c19abab9c4beb2352654c8739ee3085 (patch)
treeca77954c87dda9912ab34094d38854a286b4cbb4 /desktop/QtCurve-Gtk2/QtCurve-Gtk2.SlackBuild
parentf35d13977504d4f36abc61b08245aa62602fe8fe (diff)
downloadslackbuilds-665357c91c19abab9c4beb2352654c8739ee3085.tar.gz
desktop/QtCurve-Gtk2: Updated for version 1.8.1.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'desktop/QtCurve-Gtk2/QtCurve-Gtk2.SlackBuild')
-rw-r--r--desktop/QtCurve-Gtk2/QtCurve-Gtk2.SlackBuild21
1 files changed, 17 insertions, 4 deletions
diff --git a/desktop/QtCurve-Gtk2/QtCurve-Gtk2.SlackBuild b/desktop/QtCurve-Gtk2/QtCurve-Gtk2.SlackBuild
index b6038dbce4..d223161fcc 100644
--- a/desktop/QtCurve-Gtk2/QtCurve-Gtk2.SlackBuild
+++ b/desktop/QtCurve-Gtk2/QtCurve-Gtk2.SlackBuild
@@ -2,8 +2,8 @@
# Slackware build script for QtCurve-Gtk2
-# Copyright 2008-2009 Michiel van Wessem, Manchester, United Kingdom
-# Copyright 2009 Gregory J. L. Tourte, UK (artourter@gmail.com)
+# Copyright 2008-2009 Michiel van Wessem, Manchester, United Kingdom
+# Copyright 2009-2010 Gregory J. L. Tourte, UK (artourter@gmail.com)
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
@@ -26,7 +26,7 @@
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=QtCurve-Gtk2
-VERSION=${VERSION:-1.7.2}
+VERSION=${VERSION:-1.8.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -57,6 +57,16 @@ else
LIBDIRSUFFIX=""
fi
+# Configure QtCurve-Gtk2 not to modify userchrome.css for firefox.
+# This seems to be required when using a dark Theme, the font colour would not
+# be inverted and therefore unreadable. * Reported and requested by NaCL
+
+if [ "${USERCHROME:-yes}" = "no" ]; then
+ modif_mozilla="-DQTC_MODIFY_MOZILLA=false"
+else
+ modif_mozilla=""
+fi
+
set -e
rm -rf $PKG $TMP/$PRGNAM-$VERSION
@@ -82,10 +92,13 @@ cd build
-DQTC_DEFAULT_TO_KDE3=false \
-DCMAKE_BUILD_TYPE=Release \
-DQTC_STYLE_SUPPORT=true \
+ -Wno-dev \
+ $modif_mozilla \
..
+
make
make install DESTDIR=$PKG
-cd -
+cd ..
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true