summaryrefslogtreecommitdiff
path: root/community/mplayer2/PKGBUILD
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2011-09-26 13:15:45 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2011-09-26 13:15:45 -0300
commit8aa6cf7dacd74c155e7b2dd7af68a5cb4460e5b3 (patch)
tree63d4d19982a9d3b555af870b6d0250f844e8679a /community/mplayer2/PKGBUILD
parent3d95be043e9a5bde335138e8c591ba22aee8a6a3 (diff)
Updates and some missing files
Diffstat (limited to 'community/mplayer2/PKGBUILD')
-rw-r--r--community/mplayer2/PKGBUILD21
1 files changed, 18 insertions, 3 deletions
diff --git a/community/mplayer2/PKGBUILD b/community/mplayer2/PKGBUILD
index a3e42076d..5d27d23e7 100644
--- a/community/mplayer2/PKGBUILD
+++ b/community/mplayer2/PKGBUILD
@@ -11,8 +11,8 @@ 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')
@@ -33,10 +33,24 @@ build() {
rm -fr mp3lib
patch -Np1 -i ../mplayer2-remove-mp3lib.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 \
@@ -46,6 +60,7 @@ build() {
--language=all \
--enable-translation \
--confdir=/etc/mplayer
+ fi
make
}