summaryrefslogtreecommitdiff
path: root/extra/avidemux/PKGBUILD
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2012-03-04 15:54:30 +0100
committerMichał Masłowski <mtjm@mtjm.eu>2012-03-04 15:54:30 +0100
commit8824bc68615cf10b5f6803d3f5399ec345df3aed (patch)
tree97e94f04de7af6298d132af9e972893be3cdfe8c /extra/avidemux/PKGBUILD
parente91032041b37c6ccddedd20cea977e8644c002c4 (diff)
Don't use libva or libvdpau on mips64el.
Diffstat (limited to 'extra/avidemux/PKGBUILD')
-rw-r--r--extra/avidemux/PKGBUILD6
1 files changed, 4 insertions, 2 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'