diff options
Diffstat (limited to 'libre/smplayer')
-rw-r--r-- | libre/smplayer/PKGBUILD | 13 | ||||
-rw-r--r-- | libre/smplayer/smplayer-dock-playlist-qt5.patch | 25 |
2 files changed, 5 insertions, 33 deletions
diff --git a/libre/smplayer/PKGBUILD b/libre/smplayer/PKGBUILD index 6b419ca8a..b639e88ac 100644 --- a/libre/smplayer/PKGBUILD +++ b/libre/smplayer/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 266952 2016-05-05 15:20:22Z arojas $ +# $Id: PKGBUILD 179682 2016-06-11 17:09:39Z arojas $ # Maintainer (Arch): # Contributor (Arch): Ionut Biru <ibiru@archlinux.org> # Contributor (Arch): Allan McRae <allan@archlinux.org> @@ -8,8 +8,8 @@ # Maintainer: André Silva <emulatorman@parabola.nu> pkgname=smplayer -pkgver=16.4.0 -pkgrel=3.parabola1 +pkgver=16.6.0 +pkgrel=1.parabola1 pkgdesc="A complete front-end for MPlayer, without nonfree smtube recommendation" arch=('i686' 'x86_64' 'armv7h') url="http://smplayer.sourceforge.net/" @@ -19,14 +19,11 @@ makedepends=('qt5-tools') optdepends=('smplayer-themes: icon themes collection' 'smplayer-skins: skin themes collection' 'mpv: for using mpv instead of mplayer') -source=(https://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2 smplayer-dock-playlist-qt5.patch) -md5sums=('b89975a1edc60e1ea89159e4bd7cde07' - 'e0cfdf29daf815404501a11e7ebac2eb') +source=(https://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2) +md5sums=('61d6fc855d13b33eccb3f5d2a1472220') prepare() { cd $pkgname-$pkgver -# Fix crash in kwin - patch -p0 -i ../smplayer-dock-playlist-qt5.patch sed -i 's|DEFINES [+][=] YOUTUBE_SUPPORT|#DEFINES += YOUTUBE_SUPPORT| s|DEFINES [+][=] YT_USE_SCRIPT|#DEFINES += YT_USE_SCRIPT| diff --git a/libre/smplayer/smplayer-dock-playlist-qt5.patch b/libre/smplayer/smplayer-dock-playlist-qt5.patch deleted file mode 100644 index e6fa53c8d..000000000 --- a/libre/smplayer/smplayer-dock-playlist-qt5.patch +++ /dev/null @@ -1,25 +0,0 @@ ---- src/guiconfig.h.orig 2016-05-05 17:05:45.131333069 +0200 -+++ src/guiconfig.h 2016-05-05 17:05:17.883829511 +0200 -@@ -19,12 +19,21 @@ - #ifndef GUICONFIG_H - #define GUICONFIG_H - -+#include <QtGlobal> - - // DOCK_PLAYLIST - // if 1, the playlist will be docked in the main window, instead - // of being a top level window -- -+#ifdef Q_OS_WIN - #define DOCK_PLAYLIST 1 -+#else -+ #if QT_VERSION >= 0x050000 -+ // There's problems with the playlist with Qt5 when using compiz -+ #define DOCK_PLAYLIST 0 -+ #else -+ #define DOCK_PLAYLIST 1 -+ #endif -+#endif - - - // AUTODISABLE_ACTIONS |