summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libre/smplayer/PKGBUILD13
-rw-r--r--libre/smplayer/add-missing-QDataStream-include.patch11
2 files changed, 19 insertions, 5 deletions
diff --git a/libre/smplayer/PKGBUILD b/libre/smplayer/PKGBUILD
index 430eb40a3..0191b5bbd 100644
--- a/libre/smplayer/PKGBUILD
+++ b/libre/smplayer/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id$
+# $Id: PKGBUILD 244955 2015-08-28 08:42:55Z foutrelis $
# Maintainer (Arch): Ionut Biru <ibiru@archlinux.org>
# Contributor (Arch): Allan McRae <allan@archlinux.org>
# Contributor (Arch): Alessio 'mOLOk' Bolognino <themolok@gmail.com>
@@ -7,8 +7,8 @@
# Maintainer: André Silva <emulatorman@parabola.nu>
pkgname=smplayer
-pkgver=14.9.0.6690
-pkgrel=1.parabola2
+pkgver=14.9.0.6994
+pkgrel=1.parabola1
pkgdesc="A complete front-end for MPlayer, without nonfree smtube recommendation"
arch=('i686' 'x86_64')
url="http://smplayer.sourceforge.net/"
@@ -19,11 +19,14 @@ optdepends=('smplayer-themes: icon themes collection'
'smplayer-skins: skin themes collection'
'mpv: for using mpv instead of mplayer')
install=smplayer.install
-source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.bz2)
-md5sums=('75d8947682de96f7bf29c6f1a2f21391')
+source=(https://downloads.sourceforge.net/project/$pkgname/Unstable/releases/$pkgname-$pkgver.tar.bz2
+ add-missing-QDataStream-include.patch)
+md5sums=('666a589b1fc3480a29e87f0ee7efd511'
+ '418ab45eb94448fc8a2f44500c9742c2')
prepare() {
cd "$pkgname-$pkgver"
+ patch -Np1 -i ../add-missing-QDataStream-include.patch
sed -i 's|DEFINES [+][=] YOUTUBE_SUPPORT|#DEFINES += YOUTUBE_SUPPORT|
s|DEFINES [+][=] YT_USE_SCRIPT|#DEFINES += YT_USE_SCRIPT|
' src/smplayer.pro
diff --git a/libre/smplayer/add-missing-QDataStream-include.patch b/libre/smplayer/add-missing-QDataStream-include.patch
new file mode 100644
index 000000000..5f37b0957
--- /dev/null
+++ b/libre/smplayer/add-missing-QDataStream-include.patch
@@ -0,0 +1,11 @@
+diff -upr smplayer-14.9.0.6994.orig/src/qtsingleapplication/qtlocalpeer.cpp smplayer-14.9.0.6994/src/qtsingleapplication/qtlocalpeer.cpp
+--- smplayer-14.9.0.6994.orig/src/qtsingleapplication/qtlocalpeer.cpp 2013-08-30 03:53:57.000000000 +0300
++++ smplayer-14.9.0.6994/src/qtsingleapplication/qtlocalpeer.cpp 2015-08-28 11:37:18.435899495 +0300
+@@ -41,6 +41,7 @@
+
+ #include "qtlocalpeer.h"
+ #include <QCoreApplication>
++#include <QDataStream>
+ #include <QTime>
+
+ #if defined(Q_OS_WIN)