libraries/gtk-qt-engine: Updated for version 0.8

This commit is contained in:
Martin Lefebvre 2010-05-11 19:45:00 +02:00 committed by Robby Workman
parent 8fc89b7881
commit 450858c996
5 changed files with 42 additions and 33 deletions

View file

@ -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.

View file

@ -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

View file

@ -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

View file

@ -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"

View file

@ -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: