commit 02b554329acd4f3e348ad743a668aa9b4e593e32
Author: leigh123linux <leigh123linux(a)googlemail.com>
Date: Wed Jul 20 11:06:08 2016 +0100
fix bundled qtsingleapplication
fix_bundled_qtsingleapplication.patch | 11 +++++++++++
xvst.spec | 8 +++++++-
2 files changed, 18 insertions(+), 1 deletion(-)
---
diff --git a/fix_bundled_qtsingleapplication.patch
b/fix_bundled_qtsingleapplication.patch
new file mode 100644
index 0000000..5c025f8
--- /dev/null
+++ b/fix_bundled_qtsingleapplication.patch
@@ -0,0 +1,11 @@
+--- a/src/qtsingleapplication/src/qtlocalpeer.cpp
++++ b/src/qtsingleapplication/src/qtlocalpeer.cpp
+@@ -40,6 +40,7 @@
+
+ #include "qtlocalpeer.h"
+ #include <QCoreApplication>
++#include <QDataStream>
+ #include <QTime>
+
+ #if defined(Q_OS_WIN)
+
diff --git a/xvst.spec b/xvst.spec
index 954a67e..2e0ae56 100644
--- a/xvst.spec
+++ b/xvst.spec
@@ -5,7 +5,7 @@
Summary: Downloading your favourite video clips from a lot of websites
Name: xvst
Version: 2.5.2
-Release: 4.%{gitdate}git%{shortcommit}%{?dist}
+Release: 5.%{gitdate}git%{shortcommit}%{?dist}
License: GPLv3+
URL:
https://github.com/xVST/xVideoServiceThief
# wget
https://github.com/xVST/xVideoServiceThief/archive/cbfafe49f7ba1c85d4dcf5...
@@ -19,6 +19,8 @@ Patch3: keezmovies.patch
Patch4: myvideo.patch
Patch5: sunporno.patch
Patch6: wat.tv.patch
+# You should remove the bundled qtsingleapplication
+Patch7: fix_bundled_qtsingleapplication.patch
BuildRequires: desktop-file-utils
BuildRequires: qt5-qtbase-devel
@@ -51,6 +53,7 @@ rm -rf src/rtmpdump
%patch4 -p1
%patch5 -p1
%patch6 -p1
+%patch7 -p1
# Fix path names and end-of-line encoding.
sed -i "s|getApplicationPath()\ +\ \"|\"/usr/share/%{name}|g"
src/options.cpp
@@ -101,6 +104,9 @@ update-desktop-database &> /dev/null || :
%{_datadir}/%{name}/languages/*qm
%changelog
+* Wed Jul 20 2016 Leigh Scott <leigh123linux(a)googlemail.com> -
2.5.2-5.20140804gitcbfafe4
+- fix bundled qtsingleapplication
+
* Sat Mar 21 2015 Martin Gansser <linux4martin(a)gmx.de> 2.5.2-4.20140804gitcbfafe4
- dropped macro %%find_lang because it doesn't work in this certain case
- dropped macro %%exclude from %%{_datadir}/%%{name}/languages/*qm