diff options
author | Martin Lefebvre <dadexter@gmail.com> | 2010-05-11 19:45:00 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-11 19:45:00 +0200 |
commit | 450858c996f27fee042d3cc883a5f92d1bd8131a (patch) | |
tree | dc0c6015f8327cae3a5ccbe7a56af145d36d0442 /libraries/gtk-qt-engine | |
parent | 8fc89b788154bc4593d5e3af431e2751eaebf586 (diff) |
libraries/gtk-qt-engine: Updated for version 0.8
Diffstat (limited to 'libraries/gtk-qt-engine')
-rw-r--r-- | libraries/gtk-qt-engine/README | 1 | ||||
-rw-r--r-- | libraries/gtk-qt-engine/doinst.sh | 5 | ||||
-rw-r--r-- | libraries/gtk-qt-engine/gtk-qt-engine.SlackBuild | 40 | ||||
-rw-r--r-- | libraries/gtk-qt-engine/gtk-qt-engine.info | 10 | ||||
-rw-r--r-- | libraries/gtk-qt-engine/slack-desc | 19 |
5 files changed, 42 insertions, 33 deletions
diff --git a/libraries/gtk-qt-engine/README b/libraries/gtk-qt-engine/README index 2bde0dd6f3325..4fbb07c8e9804 100644 --- a/libraries/gtk-qt-engine/README +++ b/libraries/gtk-qt-engine/README @@ -1,4 +1,3 @@ gtk-qt-engine is a GTK theme engine to make GTK2 apps fit more nicely when used on a KDE/QT oriented desktop by using QT styles and widgets. - diff --git a/libraries/gtk-qt-engine/doinst.sh b/libraries/gtk-qt-engine/doinst.sh new file mode 100644 index 0000000000000..22d4849bce4a9 --- /dev/null +++ b/libraries/gtk-qt-engine/doinst.sh @@ -0,0 +1,5 @@ + +if [ -x usr/bin/update-desktop-database ]; then + usr/bin/update-desktop-database usr/share/applications >/dev/null 2>&1 +fi + diff --git a/libraries/gtk-qt-engine/gtk-qt-engine.SlackBuild b/libraries/gtk-qt-engine/gtk-qt-engine.SlackBuild index 69eb7ed798095..3c169d365e137 100644 --- a/libraries/gtk-qt-engine/gtk-qt-engine.SlackBuild +++ b/libraries/gtk-qt-engine/gtk-qt-engine.SlackBuild @@ -23,12 +23,14 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # Modified by the SlackBuilds.org project +# Updated for version 0.8 by ppr:kut <hmwiesinger@gmx.at> PRGNAM=gtk-qt-engine -VERSION=0.7 +VERSION=0.8 ARCH=${ARCH:-i486} -BUILD=${BUILD:-2} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} + CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM @@ -40,39 +42,30 @@ elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" fi +set -e + rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT -cd $TMP || exit 1 +cd $TMP rm -rf $PRGNAM -tar -xjvf $CWD/$PRGNAM-$VERSION.tar.bz2 || exit 1 -cd $PRGNAM || exit 1 +tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 +cd $PRGNAM chown -R root:root . chmod -R u+w,go+r-w,a-s . -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -./configure \ - --prefix=/opt/kde \ - --sysconfdir=/etc \ - --localstatedir=/var \ - || exit 1 - -make || exit 1 -make install DESTDIR=$PKG || exit 1 +cmake \ + -DCMAKE_C_FLAGS="$SLKCFLAGS" \ + -DCMAKE_CXX_FLAGS="$SLKCFLAGS" \ + -DCMAKE_INSTALL_PREFIX="/usr" + +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 find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null ) -( cd $PKG/opt/kde/share/man || exit - find . -type f -exec gzip -9 {} \; - for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done -) - -# Remove duplicated entry in KControl (and the resulting empty directory) -rm -rf $PKG/usr/share/applications - mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README TODO \ $PKG/usr/doc/$PRGNAM-$VERSION @@ -80,6 +73,7 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc +cat $CWD/doinst.sh > $PKG/install/doinst.sh cd $PKG /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz diff --git a/libraries/gtk-qt-engine/gtk-qt-engine.info b/libraries/gtk-qt-engine/gtk-qt-engine.info index 8724bdcd41bc5..78e435022fb5b 100644 --- a/libraries/gtk-qt-engine/gtk-qt-engine.info +++ b/libraries/gtk-qt-engine/gtk-qt-engine.info @@ -1,8 +1,8 @@ PRGNAM="gtk-qt-engine" -VERSION="0.7" -HOMEPAGE="http://www.freedesktop.org/wiki/Software/gtk-qt" -DOWNLOAD="http://www.freedesktop.org/~davidsansome/gtk-qt-engine-0.7.tar.bz2" -MD5SUM="27ca211621f38c45b1c4c9e9ef1f84b0" +VERSION="0.8" +HOMEPAGE="http://gtk-qt.ecs.soton.ac.uk/" +DOWNLOAD="http://gtk-qt.ecs.soton.ac.uk/files/0.8/gtk-qt-engine-0.8.tar.bz2" +MD5SUM="9fe75b7765b6a5b49901fcd6f4f4aa4b" MAINTAINER="Martin Lefebvre" EMAIL="dadexter@gmail.com" -APPROVED="robw810" +APPROVED="rworkman" diff --git a/libraries/gtk-qt-engine/slack-desc b/libraries/gtk-qt-engine/slack-desc index 0a0d9f059be9d..c41b63eedddec 100644 --- a/libraries/gtk-qt-engine/slack-desc +++ b/libraries/gtk-qt-engine/slack-desc @@ -1,8 +1,19 @@ -gtk-qt-engine: gtk-qt-engine +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + + |-----handy-ruler------------------------------------------------------| +gtk-qt-engine: gtk-qt-engine (GTK QT theme engine) +gtk-qt-engine: +gtk-qt-engine: gtk-qt-engine is a GTK theme engine to make GTK2 +gtk-qt-engine: apps fit more nicely when used on a KDE/QT oriented +gtk-qt-engine: desktop by using QT styles and widgets. +gtk-qt-engine: +gtk-qt-engine: gtk-qt-engine: -gtk-qt-engine: gtk-qt-engine is a GTK theme engine to make GTK2 apps fit more -gtk-qt-engine: nicely when used on a KDE/QT oriented desktop by using QT -gtk-qt-engine: styles and widgets. gtk-qt-engine: gtk-qt-engine: gtk-qt-engine: |