desktop/QtCurve-Gtk2: Updated for version 0.62.8
This commit is contained in:
parent
e335d5647f
commit
4b5799b483
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
APPROVED="dsomero"
|
||||
|
|
Loading…
Reference in New Issue