summaryrefslogtreecommitdiff
path: root/desktop/QtCurve-Gtk2/QtCurve-Gtk2.SlackBuild
diff options
context:
space:
mode:
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