diff options
Diffstat (limited to 'community/mplayer2')
-rw-r--r-- | community/mplayer2/PKGBUILD | 23 |
1 files changed, 19 insertions, 4 deletions
diff --git a/community/mplayer2/PKGBUILD b/community/mplayer2/PKGBUILD index 7f012d00b..9500dd9f4 100644 --- a/community/mplayer2/PKGBUILD +++ b/community/mplayer2/PKGBUILD @@ -6,13 +6,13 @@ pkgname=mplayer2 pkgver=2.0 pkgrel=15 pkgdesc="A movie player" -arch=('i686' 'x86_64') +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') -makedepends=('live-media' 'mesa' 'unzip' 'yasm') + 'a52dec' 'libdca' 'libxxf86dga' 'libxss' 'mpg123' 'ladspa' 'speex') +makedepends=('live-media' 'mesa' 'p7zip-libre' 'yasm') backup=('etc/mplayer/codecs.conf' 'etc/mplayer/input.conf') provides=('mplayer') conflicts=('mplayer') @@ -40,10 +40,24 @@ build() { # http://labs.mwrinfosecurity.com/files/Advisories/mwri_mplayer-sami-subtitles_2011-08-12.pdf patch -Np1 -i ../mplayer2-SAMI-subs.patch + if [ "$CARCH" = "mips64el" ]; then + ./configure --prefix=/usr \ + --disable-arts \ + --enable-speex \ + --disable-openal \ + --disable-libdv \ + --disable-musepack \ + --disable-esd \ + --disable-mga \ + --enable-xvmc \ + --language=all \ + --enable-translation \ + --confdir=/etc/mplayer + else ./configure --prefix=/usr \ --enable-runtime-cpudetection \ --disable-arts \ - --disable-speex \ + --enable-speex \ --disable-openal \ --disable-libdv \ --disable-musepack \ @@ -53,6 +67,7 @@ build() { --language=all \ --enable-translation \ --confdir=/etc/mplayer + fi make } |