diff options
author | ArTourter <artourter@gmail.com> | 2010-12-11 00:11:46 -0600 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-12-11 00:11:46 -0600 |
commit | 665357c91c19abab9c4beb2352654c8739ee3085 (patch) | |
tree | ca77954c87dda9912ab34094d38854a286b4cbb4 /desktop/QtCurve-Gtk2/QtCurve-Gtk2.SlackBuild | |
parent | f35d13977504d4f36abc61b08245aa62602fe8fe (diff) |
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.SlackBuild | 21 |
1 files changed, 17 insertions, 4 deletions
diff --git a/desktop/QtCurve-Gtk2/QtCurve-Gtk2.SlackBuild b/desktop/QtCurve-Gtk2/QtCurve-Gtk2.SlackBuild index b6038dbce4324..d223161fccfa7 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 |