diff options
Diffstat (limited to 'libre/smplayer/PKGBUILD')
-rw-r--r-- | libre/smplayer/PKGBUILD | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/libre/smplayer/PKGBUILD b/libre/smplayer/PKGBUILD index 1fa816f47..3d6973f39 100644 --- a/libre/smplayer/PKGBUILD +++ b/libre/smplayer/PKGBUILD @@ -1,5 +1,6 @@ -# $Id: PKGBUILD 266273 2016-04-27 16:49:26Z fyan $ -# Maintainer (Arch): Ionut Biru <ibiru@archlinux.org> +# $Id: PKGBUILD 266952 2016-05-05 15:20:22Z arojas $ +# Maintainer (Arch): +# Contributor (Arch): Ionut Biru <ibiru@archlinux.org> # Contributor (Arch): Allan McRae <allan@archlinux.org> # Contributor (Arch): Alessio 'mOLOk' Bolognino <themolok@gmail.com> # Contributor (Arch): shamrok <szamrok@gmail.com> @@ -8,7 +9,7 @@ pkgname=smplayer pkgver=16.4.0 -pkgrel=2.parabola1 +pkgrel=3.parabola1 pkgdesc="A complete front-end for MPlayer, without nonfree smtube recommendation" arch=('i686' 'x86_64' 'armv7h') url="http://smplayer.sourceforge.net/" @@ -18,11 +19,14 @@ 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) +source=(https://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2 smplayer-dock-playlist-qt5.patch) md5sums=('b89975a1edc60e1ea89159e4bd7cde07') prepare() { - cd "$pkgname-$pkgver" + 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| ' src/smplayer.pro @@ -32,14 +36,14 @@ prepare() { } build() { - cd "$pkgname-$pkgver" + cd $pkgname-$pkgver make PREFIX=/usr \ DOC_PATH="\\\"/usr/share/doc/smplayer\\\"" \ QMAKE_OPTS=DEFINES+=NO_DEBUG_ON_CONSOLE } package() { - cd "$pkgname-$pkgver" + cd $pkgname-$pkgver make DOC_PATH=/usr/share/doc/smplayer \ DESTDIR="$pkgdir" PREFIX="/usr" install } |