summaryrefslogtreecommitdiff
path: root/graphics/qtpfsgui/qtpfsgui.SlackBuild
diff options
context:
space:
mode:
authorDavid Spencer <nobbutl@yahoo.co.uk>2010-05-12 17:40:02 +0200
committerErik Hanson <erik@slackbuilds.org>2010-05-12 17:40:02 +0200
commit1c1db15ebcecb3c4e42fc3e4ab178f32bc819744 (patch)
tree419b73e979da1ba6ce33fd76688655e1d2b065bb /graphics/qtpfsgui/qtpfsgui.SlackBuild
parentb054004c8090ed0842313bde944745192b7d3a17 (diff)
downloadslackbuilds-1c1db15ebcecb3c4e42fc3e4ab178f32bc819744.tar.gz
graphics/qtpfsgui: Updated for version 1.9.2
Diffstat (limited to 'graphics/qtpfsgui/qtpfsgui.SlackBuild')
-rw-r--r--graphics/qtpfsgui/qtpfsgui.SlackBuild10
1 files changed, 8 insertions, 2 deletions
diff --git a/graphics/qtpfsgui/qtpfsgui.SlackBuild b/graphics/qtpfsgui/qtpfsgui.SlackBuild
index 03f310cd9b..c8aa086a97 100644
--- a/graphics/qtpfsgui/qtpfsgui.SlackBuild
+++ b/graphics/qtpfsgui/qtpfsgui.SlackBuild
@@ -5,7 +5,7 @@
# This script is dedicated to the public domain
PRGNAM=qtpfsgui
-VERSION=1.9.0
+VERSION=1.9.2
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -19,6 +19,8 @@ if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
fi
set -e
@@ -32,7 +34,10 @@ cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
-lrelease project.pro # see lrelease(1)
+# From Gentoo - fixes bug 222135 (crash after saving file)
+cat $CWD/qtpfsgui-1.9.2-trunk.patch | patch -p2
+
+lrelease project.pro
qmake-qt4 \
INSTALL_ROOT=$PKG \
PREFIX=/usr \
@@ -52,6 +57,7 @@ find $PKG/usr/doc -type f -exec chmod 0644 {} \;
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