From 8e9085211c526f8f05cb93f8cae1fb0be858aae3 Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Mon, 15 Jun 2015 20:54:54 -0300 Subject: mplayer-14.9.0.6690-1.parabola2: disable SMtube options --- libre/smplayer/PKGBUILD | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/libre/smplayer/PKGBUILD b/libre/smplayer/PKGBUILD index 43d9b0609..430eb40a3 100644 --- a/libre/smplayer/PKGBUILD +++ b/libre/smplayer/PKGBUILD @@ -3,11 +3,12 @@ # Contributor (Arch): Allan McRae # Contributor (Arch): Alessio 'mOLOk' Bolognino # Contributor (Arch): shamrok -# Maintainer : Omar Vega Ramos +# Maintainer: Omar Vega Ramos +# Maintainer: André Silva pkgname=smplayer pkgver=14.9.0.6690 -pkgrel=1.parabola1 +pkgrel=1.parabola2 pkgdesc="A complete front-end for MPlayer, without nonfree smtube recommendation" arch=('i686' 'x86_64') url="http://smplayer.sourceforge.net/" @@ -21,6 +22,13 @@ install=smplayer.install source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.bz2) md5sums=('75d8947682de96f7bf29c6f1a2f21391') +prepare() { + cd "$pkgname-$pkgver" + sed -i 's|DEFINES [+][=] YOUTUBE_SUPPORT|#DEFINES += YOUTUBE_SUPPORT| + s|DEFINES [+][=] YT_USE_SCRIPT|#DEFINES += YT_USE_SCRIPT| + ' src/smplayer.pro +} + build() { cd "$pkgname-$pkgver" make PREFIX=/usr \ -- cgit v1.2.3