aboutsummaryrefslogtreecommitdiff
path: root/multimedia/xvst/xvst.SlackBuild
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-06 01:20:45 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-09 07:12:22 +0700
commit8af11f6043d438a53dfcd54f5e8dd84aa34f0ae4 (patch)
treece832dfaaa91b3b806f7da73975ff0e752f76a34 /multimedia/xvst/xvst.SlackBuild
parentea9c7f5c55570c18ca084a327b3b7539d6eb2ee1 (diff)
multimedia/xvst: Fix build with Qt 5.5.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'multimedia/xvst/xvst.SlackBuild')
-rw-r--r--multimedia/xvst/xvst.SlackBuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/multimedia/xvst/xvst.SlackBuild b/multimedia/xvst/xvst.SlackBuild
index f56cf6fff9fe3..8dea0f53ef48e 100644
--- a/multimedia/xvst/xvst.SlackBuild
+++ b/multimedia/xvst/xvst.SlackBuild
@@ -25,7 +25,7 @@
PRGNAM=xvst
SRCNAM=xVideoServiceThief
VERSION=${VERSION:-2.5.1}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -77,6 +77,9 @@ sed -i "s|getApplicationPath()\ +\ \"|\"/usr/share/$PRGNAM|g" src/options.cpp
lrelease-qt5 resources/translations/*.ts
rm -f resources/translations/template_for_new_translations.qm
+# Patch for Qt 5.5.1
+patch -p1 < $CWD/qtlocalpeer.patch
+
qmake-qt5 -set build_mode dynamic_build
qmake-qt5 PREFIX=/usr QMAKE_CFLAGS+="$SLKCFLAGS" QMAKE_CXXFLAGS+="$SLKCLAGS" \
-o Makefile xVideoServiceThief.pro