mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
multimedia/xvst: Fix build with Qt 5.5.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
ea9c7f5c55
commit
8af11f6043
2 changed files with 14 additions and 1 deletions
10
multimedia/xvst/qtlocalpeer.patch
Normal file
10
multimedia/xvst/qtlocalpeer.patch
Normal file
|
@ -0,0 +1,10 @@
|
|||
--- xVideoServiceThief-2.5.1/src/qtsingleapplication/src/qtlocalpeer.cpp.old 2016-01-06 01:14:10.288327384 +0700
|
||||
+++ xVideoServiceThief-2.5.1/src/qtsingleapplication/src/qtlocalpeer.cpp 2016-01-06 01:14:29.371336089 +0700
|
||||
@@ -41,6 +41,7 @@
|
||||
#include "qtlocalpeer.h"
|
||||
#include <QCoreApplication>
|
||||
#include <QTime>
|
||||
+#include <QDataStream>
|
||||
|
||||
#if defined(Q_OS_WIN)
|
||||
#include <QLibrary>
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue