diff options
author | Michał Masłowski <mtjm@mtjm.eu> | 2012-03-04 15:54:30 +0100 |
---|---|---|
committer | Michał Masłowski <mtjm@mtjm.eu> | 2012-03-04 15:54:30 +0100 |
commit | 8824bc68615cf10b5f6803d3f5399ec345df3aed (patch) | |
tree | 97e94f04de7af6298d132af9e972893be3cdfe8c /extra/xine-lib | |
parent | e91032041b37c6ccddedd20cea977e8644c002c4 (diff) |
Don't use libva or libvdpau on mips64el.
Diffstat (limited to 'extra/xine-lib')
-rw-r--r-- | extra/xine-lib/PKGBUILD | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/extra/xine-lib/PKGBUILD b/extra/xine-lib/PKGBUILD index 6b47332c1..df2779e30 100644 --- a/extra/xine-lib/PKGBUILD +++ b/extra/xine-lib/PKGBUILD @@ -3,20 +3,21 @@ pkgname=xine-lib pkgver=1.2.1 -pkgrel=2 +pkgrel=2.1 pkgdesc="A multimedia playback engine" arch=('i686' 'x86_64' 'mips64el') url="http://www.xine-project.org" license=('LGPL' 'GPL') depends=('libxvmc' 'ffmpeg' 'libxinerama') -makedepends=('wavpack' 'faad2' 'libmng' 'imagemagick' 'mesa' 'libmodplug' +makedepends=('wavpack' 'faad2' 'libmng' 'imagemagick' 'libmodplug' 'vcdimager' 'jack' 'aalib' 'libdca' 'a52dec' 'libmad' - 'libmpcdec' 'libcaca' 'libbluray' 'gnome-vfs' 'libvdpau') + 'libmpcdec' 'libcaca' 'libbluray' 'gnome-vfs') +[ "$CARCH" = "mips64el" ] || makedepends+=('mesa' 'libvdpau') optdepends=('imagemagick: for using the imagemagick plugin' \ 'jack: for using the jack plugin' \ - 'vcdimager: for using the vcd plugin' \ - 'mesa: for using the opengl plugin' \ - 'wavpack: for using the wavpack plugin' \ + 'vcdimager: for using the vcd plugin') +[ "$CARCH" = "mips64el" ] || optdepends+=('mesa: for using the opengl plugin') +optdepends+=('wavpack: for using the wavpack plugin' \ 'faad2: for using the faad plugin' \ 'libmng: for using the mng plugin' \ 'aalib: for using the aalib plugin' \ @@ -27,15 +28,16 @@ optdepends=('imagemagick: for using the imagemagick plugin' \ 'libmpcdec: for using the musepack plugin' \ 'libcaca: for using the caca plugin' \ 'libbluray: for using the bluray plugin' \ - 'gnome-vfs: for using the gnome-vfs plugin' \ - 'libvdpau: for using the VDPAU plugin') + 'gnome-vfs: for using the gnome-vfs plugin') +[ "$CARCH" = "mips64el" ] || optdepends+=('libvdpau: for using the VDPAU plugin') options=('!libtool') source=(http://downloads.sourceforge.net/sourceforge/xine/${pkgname}-${pkgver}.tar.xz) sha1sums=('ebb2648456504ff4ce08c34de258d3125832bb94') build() { cd "${srcdir}/${pkgname}-${pkgver}" - ./configure --prefix=/usr --with-wavpack --enable-vdpau --disable-optimizations + [ "$CARCH" = "mips64el" ] || extraconf=--enable-vdpau + ./configure --prefix=/usr --with-wavpack --disable-optimizations $extraconf make } |