summaryrefslogtreecommitdiff
path: root/desktop/qtwitter/qtwitter.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/qtwitter/qtwitter.SlackBuild')
-rw-r--r--desktop/qtwitter/qtwitter.SlackBuild7
1 files changed, 6 insertions, 1 deletions
diff --git a/desktop/qtwitter/qtwitter.SlackBuild b/desktop/qtwitter/qtwitter.SlackBuild
index 8fc95f95a4..4738d3a0db 100644
--- a/desktop/qtwitter/qtwitter.SlackBuild
+++ b/desktop/qtwitter/qtwitter.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=qtwitter
VERSION=${VERSION:-0.10.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
@@ -76,6 +76,11 @@ find . \
patch -p0 <$CWD/twitterapi_twitterapi.pro.patch
patch -p0 <$CWD/qtwitter-app_qtwitter-app.pro.patch
+# Following three patches are from the qtwitter git repository.
+patch -p0 <$CWD/fix_insecure_runpaths.patch
+patch -p0 <$CWD/fix_underlinking.patch
+patch -p0 <$CWD/fix_qtwitter_desktop_to_pass_validation.patch
+
qmake -unix PREFIX=/usr DOCDIR=/usr/doc/$PRGNAM-$VERSION \
QMAKE_CFLAGS="$SLKCFLAGS" \
QMAKE_CXXFLAGS="$SLKCFLAGS" \