summaryrefslogtreecommitdiff
path: root/libre
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-06-15 20:54:54 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-06-15 20:54:54 -0300
commit8e9085211c526f8f05cb93f8cae1fb0be858aae3 (patch)
treeb2a53cac3deb2f09c055b7745b805d9b736eae48 /libre
parent7f8cc96027f4ab9ced536a02f429c0a5446de8e3 (diff)
downloadabslibre-8e9085211c526f8f05cb93f8cae1fb0be858aae3.tar.gz
abslibre-8e9085211c526f8f05cb93f8cae1fb0be858aae3.tar.bz2
abslibre-8e9085211c526f8f05cb93f8cae1fb0be858aae3.zip
mplayer-14.9.0.6690-1.parabola2: disable SMtube options
Diffstat (limited to 'libre')
-rw-r--r--libre/smplayer/PKGBUILD12
1 files 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 <allan@archlinux.org>
# Contributor (Arch): Alessio 'mOLOk' Bolognino <themolok@gmail.com>
# Contributor (Arch): shamrok <szamrok@gmail.com>
-# Maintainer : Omar Vega Ramos <ovruni@gnu.org.pe>
+# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
+# Maintainer: André Silva <emulatorman@parabola.nu>
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 \