From b6102bebbcc7be38f224da95d8568a6ad8a5cc2e Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Sat, 4 Feb 2017 18:11:01 -0300 Subject: smplayer-17.2.0-1.parabola1: updating version --- libre/smplayer/PKGBUILD | 13 +++++++++---- libre/smplayer/add-missing-QClipboard-include.patch | 12 ++++++++++++ libre/smplayer/add-missing-QDataStream-include.patch | 11 ----------- 3 files changed, 21 insertions(+), 15 deletions(-) create mode 100644 libre/smplayer/add-missing-QClipboard-include.patch delete mode 100644 libre/smplayer/add-missing-QDataStream-include.patch diff --git a/libre/smplayer/PKGBUILD b/libre/smplayer/PKGBUILD index 2c1a25136..10512420c 100644 --- a/libre/smplayer/PKGBUILD +++ b/libre/smplayer/PKGBUILD @@ -7,7 +7,7 @@ # Maintainer: André Silva pkgname=smplayer -pkgver=16.11.0 +pkgver=17.2.0 pkgrel=1.parabola1 pkgdesc='Media player with built-in codecs that can play virtually all video and audio formats, without nonfree smtube support' url='http://smplayer.sourceforge.net/' @@ -20,9 +20,11 @@ optdepends=('smplayer-themes: icon themes collection' 'youtube-dl: youtube videos and streaming' 'mplayer: alternative multimedia engine') source=(https://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2 - disable-smtube-support.patch) -sha512sums=('13776ff134c4c91747fa9432080a4ea876d5d5a134b91dde48d0f0e75c280ef6d19067906e4e850da3b1b2287214914528743495cccf7cbda310bc51682b478c' - '813efc30a754015d8bca9391ed3b586481c2cd931a0b234a8cb94cdad7ae92b8976aabd05569099900ce65b8f2fd39d39da0dddff46bfe10891dd5edc4f12283') + disable-smtube-support.patch + add-missing-QClipboard-include.patch) +sha512sums=('dbe22c5bf7da4d4635b0d47837d3e03c12cea40ec4fbca58009567995547c4a065d35feb149d7ff3f799604f3107527ce4e1f564d860161ada84b499cb42d9c8' + '813efc30a754015d8bca9391ed3b586481c2cd931a0b234a8cb94cdad7ae92b8976aabd05569099900ce65b8f2fd39d39da0dddff46bfe10891dd5edc4f12283' + '619b8a236b36518bf0f9984d87384d9c5be10fdbda17598d57736064c0c2d6d9f920c9d3f1eb059ba390670ec28559f0dda6f85757ef8696540c424b08863e39') prepare() { cd $pkgname-$pkgver @@ -30,6 +32,9 @@ prepare() { # disable SMTube support patch -p1 -i $srcdir/disable-smtube-support.patch + # add missing QClipboard include + patch -p1 -i $srcdir/add-missing-QClipboard-include.patch + # fix GNU/Linux name sed -i 's|Linux|GNU/Linux|' src/smplayer.cpp } diff --git a/libre/smplayer/add-missing-QClipboard-include.patch b/libre/smplayer/add-missing-QClipboard-include.patch new file mode 100644 index 000000000..4f98cebe8 --- /dev/null +++ b/libre/smplayer/add-missing-QClipboard-include.patch @@ -0,0 +1,12 @@ +diff --git a/src/playlist.cpp b/src/playlist.cpp +index 575a7a19f..a143cdf16 100644 +--- a/src/playlist.cpp ++++ b/src/playlist.cpp +@@ -46,6 +46,7 @@ + #include + #include + #include ++#include + + #if QT_VERSION >= 0x050000 + #include "myscroller.h" diff --git a/libre/smplayer/add-missing-QDataStream-include.patch b/libre/smplayer/add-missing-QDataStream-include.patch deleted file mode 100644 index 5f37b0957..000000000 --- a/libre/smplayer/add-missing-QDataStream-include.patch +++ /dev/null @@ -1,11 +0,0 @@ -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 -+#include - #include - - #if defined(Q_OS_WIN) -- cgit v1.2.3