summaryrefslogtreecommitdiff
path: root/extra/avidemux/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/avidemux/PKGBUILD')
-rw-r--r--extra/avidemux/PKGBUILD8
1 files changed, 5 insertions, 3 deletions
diff --git a/extra/avidemux/PKGBUILD b/extra/avidemux/PKGBUILD
index b2307f90c..aadc83cc2 100644
--- a/extra/avidemux/PKGBUILD
+++ b/extra/avidemux/PKGBUILD
@@ -5,12 +5,13 @@ pkgbase=avidemux
pkgname=('avidemux-cli' 'avidemux-gtk' 'avidemux-qt')
pkgver=2.5.6
pkgrel=8
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://fixounet.free.fr/avidemux/"
makedepends=('cmake' 'libxslt' 'gtk2' 'qt4' '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' '!emptydirs')
source=(http://downloads.sourceforge.net/avidemux/avidemux_${pkgver}.tar.gz)
sha1sums=('47205c236bf6a4435b9d4dd944493c7b7e2752f5')
@@ -40,7 +41,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'