aboutsummaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorMichiel van Wessem <michiel@slackbuilds.org>2010-05-12 17:37:31 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-12 17:37:31 +0200
commit4b5799b483f9c19a0bf3b11d7fa441a50c3303fc (patch)
tree8858762fc538ac78c51b177244f90dbbe5276a22 /desktop
parente335d5647f69e1b288d473bf6a8e1095c3682b17 (diff)
desktop/QtCurve-Gtk2: Updated for version 0.62.8
Diffstat (limited to 'desktop')
-rw-r--r--desktop/QtCurve-Gtk2/QtCurve-Gtk2.SlackBuild25
-rw-r--r--desktop/QtCurve-Gtk2/QtCurve-Gtk2.info8
2 files changed, 21 insertions, 12 deletions
diff --git a/desktop/QtCurve-Gtk2/QtCurve-Gtk2.SlackBuild b/desktop/QtCurve-Gtk2/QtCurve-Gtk2.SlackBuild
index 423aa69dfdf8..066f0bbf62ae 100644
--- a/desktop/QtCurve-Gtk2/QtCurve-Gtk2.SlackBuild
+++ b/desktop/QtCurve-Gtk2/QtCurve-Gtk2.SlackBuild
@@ -1,8 +1,9 @@
#!/bin/sh
# Slackware build script for QtCurve-Gtk2
+
# Written by bughunter2 (bughunter2@googlemail.com)
-# Copyright 2008 Michiel van Wessem, Manchester, United Kingdom
+# Copyright 2008-2009 Michiel van Wessem, Manchester, United Kingdom
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
@@ -25,7 +26,7 @@
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=QtCurve-Gtk2
-VERSION=0.59.7
+VERSION=0.62.8
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -36,11 +37,14 @@ PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+ SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
fi
set -e
@@ -55,19 +59,24 @@ find . \
-exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-
+
+# Make QtCurve-Gtk2 default to reading the KDE3 settings as this is shipped
+# Slackware. Delete the line or set -DQTC_DEFAULT_TO_KDE3 to 'false'.
cmake \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
+ -DQTC_DEFAULT_TO_KDE3=true \
.
make
make install DESTDIR=$PKG
( cd $PKG
- find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
- find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
+ find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
+ xargs strip --strip-unneeded 2> /dev/null || true
+ find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \
+ xargs strip --strip-unneeded 2> /dev/null
)
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
diff --git a/desktop/QtCurve-Gtk2/QtCurve-Gtk2.info b/desktop/QtCurve-Gtk2/QtCurve-Gtk2.info
index 9d1961e38ed8..e74b7922e872 100644
--- a/desktop/QtCurve-Gtk2/QtCurve-Gtk2.info
+++ b/desktop/QtCurve-Gtk2/QtCurve-Gtk2.info
@@ -1,8 +1,8 @@
PRGNAM="QtCurve-Gtk2"
-VERSION="0.59.7"
+VERSION="0.62.8"
HOMEPAGE="http://www.kde-look.org/content/show.php?content=40492"
-DOWNLOAD="http://www.slackbuilds.org/sources/QtCurve-Gtk2-0.59.7.tar.bz2"
-MD5SUM="afa418c3d22091fb4ef9397de0195a23"
+DOWNLOAD="http://www.slackbuilds.org/sources/12.2/QtCurve-Gtk2-0.62.8.tar.bz2"
+MD5SUM="010c1e7c607a8c0ce9600ff8700979d2"
MAINTAINER="Michiel van Wessem"
EMAIL="michiel@slackbuilds.org"
-APPROVED="David Somero" \ No newline at end of file
+APPROVED="dsomero"