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 | |
parent | e91032041b37c6ccddedd20cea977e8644c002c4 (diff) |
Don't use libva or libvdpau on mips64el.
Diffstat (limited to 'extra')
-rw-r--r-- | extra/avidemux/PKGBUILD | 6 | ||||
-rw-r--r-- | extra/ffmpeg/PKGBUILD | 11 | ||||
-rw-r--r-- | extra/libva/PKGBUILD | 2 | ||||
-rw-r--r-- | extra/xine-lib/PKGBUILD | 20 |
4 files changed, 21 insertions, 18 deletions
diff --git a/extra/avidemux/PKGBUILD b/extra/avidemux/PKGBUILD index aabcdf9f5..ec0e13eb9 100644 --- a/extra/avidemux/PKGBUILD +++ b/extra/avidemux/PKGBUILD @@ -10,7 +10,8 @@ license=('GPL') url="http://fixounet.free.fr/avidemux/" makedepends=('cmake' 'libxslt' 'gtk2' 'qt' 'jack' 'libvorbis' 'sdl' 'libxv' \ 'alsa-lib' 'lame' 'xvidcore' 'faad2' 'faac' 'x264' 'libsamplerate' \ - 'opencore-amr' 'yasm' 'mesa' 'libvpx' 'libpulse' 'libva') + 'opencore-amr' 'yasm' 'mesa' 'libvpx' 'libpulse') +[ "$CARCH" != "mips64el" ] && makedepends+=('libva') options=('!makeflags') source=(http://downloads.sourceforge.net/avidemux/avidemux_${pkgver}.tar.gz) sha1sums=('47205c236bf6a4435b9d4dd944493c7b7e2752f5') @@ -39,7 +40,8 @@ build() { package_avidemux-cli() { pkgdesc="A graphical tool to edit video (filter/re-encode/split)" - depends=('libxml2' 'sdl' 'fontconfig' 'libvpx' 'libva') + depends=('libxml2' 'sdl' 'fontconfig' 'libvpx') + [ "$CARCH" != "mips64el" ] && depends+=('libva') optdepends=('lame: for the corresponding audio encoder plugin' 'faac: for the corresponding audio encoder plugin' 'faad2: for the corresponding audio decoder plugin' diff --git a/extra/ffmpeg/PKGBUILD b/extra/ffmpeg/PKGBUILD index bc3e5920b..af4269387 100644 --- a/extra/ffmpeg/PKGBUILD +++ b/extra/ffmpeg/PKGBUILD @@ -10,12 +10,11 @@ pkgdesc="Complete and free Internet live audio and video broadcasting solution f arch=('i686' 'x86_64' 'mips64el') url="http://ffmpeg.org/" license=('GPL') -if [ "${CARCH}" = "mips64el" ] ; then - depends=(alsa-lib bzip2 gsm lame libpulse libtheora libvorbis libvpx opencore-amr openjpeg rtmpdump schroedinger sdl speex x264 xvidcore zlib) - makedepends=('git') -else - depends=(alsa-lib bzip2 gsm lame libpulse libtheora libva libvorbis libvpx opencore-amr openjpeg rtmpdump schroedinger sdl speex x264 xvidcore zlib) - makedepends=('yasm' 'git' 'libvdpau') +depends=(alsa-lib bzip2 gsm lame libpulse libtheora libvorbis libvpx opencore-amr openjpeg rtmpdump schroedinger sdl speex x264 xvidcore zlib) +makedepends=('git') +if [ "${CARCH}" != "mips64el" ]; then + depends+=('libva') + makedepends+=('yasm' 'libvdpau') fi #git clone git://git.videolan.org/ffmpeg.git source=(http://mirrors.kernel.org/archlinux/other/ffmpeg/$pkgname-$pkgver.tar.xz) diff --git a/extra/libva/PKGBUILD b/extra/libva/PKGBUILD index 592f4a510..33d8d6bc6 100644 --- a/extra/libva/PKGBUILD +++ b/extra/libva/PKGBUILD @@ -5,7 +5,7 @@ pkgname=libva pkgver=1.0.15 pkgrel=1 pkgdesc="Video Acceleration (VA) API for Linux" -arch=('i686' 'x86_64' 'mips64el') +arch=('i686' 'x86_64') url="http://freedesktop.org/wiki/Software/vaapi" license=('MIT') depends=('libgl' 'libdrm' 'libxfixes') 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 } |