summaryrefslogtreecommitdiff
path: root/community/mplayer2
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2011-10-28 22:50:04 +0200
committerMichał Masłowski <mtjm@mtjm.eu>2011-10-28 22:50:04 +0200
commitdd990cf933067e5362858dc5e1619fc9f68c15b9 (patch)
tree6384ea1de8eae83b752d0e98c149bde25297a60f /community/mplayer2
parent3bd8f2f3a44ac839f2a0c410661ae793e9e07bd2 (diff)
Don't enable OpenGL or VDPAU output for mplayer2, there is no hardware support.
Diffstat (limited to 'community/mplayer2')
-rw-r--r--community/mplayer2/PKGBUILD26
1 files changed, 17 insertions, 9 deletions
diff --git a/community/mplayer2/PKGBUILD b/community/mplayer2/PKGBUILD
index 9500dd9f4..98d3e431f 100644
--- a/community/mplayer2/PKGBUILD
+++ b/community/mplayer2/PKGBUILD
@@ -4,15 +4,24 @@
pkgname=mplayer2
pkgver=2.0
-pkgrel=15
+pkgrel=15.1
pkgdesc="A movie player"
arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://www.mplayer2.org/"
-depends=('libgl' 'libvdpau' 'ffmpeg' 'libdvdcss' 'libdvdread' 'libdvdnav' 'libxvmc' 'libass' 'fontconfig' 'freetype2'
- 'ttf-dejavu' 'sdl' 'aalib' 'libcaca' 'faad2' 'libpulse' 'jack' 'ncurses' 'libxxf86vm' 'cdparanoia' 'libmad'
- 'a52dec' 'libdca' 'libxxf86dga' 'libxss' 'mpg123' 'ladspa' 'speex')
-makedepends=('live-media' 'mesa' 'p7zip-libre' 'yasm')
+if [ "${CARCH}" = "mips64el" ] ; then
+ # OpenGL, VDPAU and XVMC don't have efficient implementations on
+ # the supported mips64el machines.
+ depends=('ffmpeg' 'libdvdcss' 'libdvdread' 'libdvdnav' 'libass' 'fontconfig' 'freetype2'
+ 'ttf-dejavu' 'sdl' 'aalib' 'libcaca' 'faad2' 'libpulse' 'jack' 'ncurses' 'libxxf86vm' 'cdparanoia' 'libmad'
+ 'a52dec' 'libdca' 'libxxf86dga' 'libxss' 'mpg123' 'ladspa' 'speex')
+ makedepends=('live-media' 'p7zip-libre' 'gettext')
+else
+ depends=('libgl' 'libvdpau' 'ffmpeg' 'libdvdcss' 'libdvdread' 'libdvdnav' 'libxvmc' 'libass' 'fontconfig' 'freetype2'
+ 'ttf-dejavu' 'sdl' 'aalib' 'libcaca' 'faad2' 'libpulse' 'jack' 'ncurses' 'libxxf86vm' 'cdparanoia' 'libmad'
+ 'a52dec' 'libdca' 'libxxf86dga' 'libxss' 'mpg123' 'ladspa' 'speex')
+ makedepends=('live-media' 'mesa' 'p7zip-libre' 'yasm' 'gettext')
+fi
backup=('etc/mplayer/codecs.conf' 'etc/mplayer/input.conf')
provides=('mplayer')
conflicts=('mplayer')
@@ -25,9 +34,6 @@ sha1sums=('0df8d4e5484128b7b28029273b7704ab5d5419bc'
options=('!emptydirs')
build() {
- # Custom CFLAGS break the mplayer build
- unset CFLAGS LDFLAGS
-
cd "${srcdir}/${pkgname}-${pkgver}"
# Drop internal mp3lib (FS#24149)
@@ -49,7 +55,9 @@ build() {
--disable-musepack \
--disable-esd \
--disable-mga \
- --enable-xvmc \
+ --disable-xvmc \
+ --disable-vdpau \
+ --disable-gl \
--language=all \
--enable-translation \
--confdir=/etc/mplayer