summaryrefslogtreecommitdiff
path: root/extra/vlc/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/vlc/PKGBUILD')
-rw-r--r--extra/vlc/PKGBUILD36
1 files changed, 34 insertions, 2 deletions
diff --git a/extra/vlc/PKGBUILD b/extra/vlc/PKGBUILD
index fddc6c18e..76cba4ca8 100644
--- a/extra/vlc/PKGBUILD
+++ b/extra/vlc/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=vlc
pkgver=2.0.0
pkgrel=3
pkgdesc="A multi-platform MPEG, VCD/DVD, and DivX player"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.videolan.org/vlc/"
license=('GPL')
depends=('a52dec' 'fluidsynth' 'libmtp' 'libdvbpsi' 'libxpm' 'libcdio'
@@ -29,10 +29,26 @@ optdepends=('avahi: for service discovery using bonjour protocol'
'libdc1394: for IEEE 1394 plugin'
'kdelibs: KDE Solid hardware integration'
'libpulse: PulseAudio support'
- 'vdpau-video: vdpau back-end for nvidia'
'libva-driver-intel: back-end for intel cards'
'libbluray: for Blu-Ray disks'
'oss: for OSS audio')
+[ "$CARCH" = "mips64el" ] && {
+makedepends=('avahi' 'pkg-config' 'live-media' 'libnotify' 'libbluray'
+ 'flac' 'libtheora' 'alsa-lib' 'jack' 'kdelibs' 'udev'
+ 'libraw1394' 'libdc1394' 'libavc1394' 'libva' 'libpulse'
+ 'gnutls' 'libcaca' 'oss')
+optdepends=('avahi: for service discovery using bonjour protocol'
+ 'libnotify: for notification plugin'
+ 'ncurses: for ncurses interface support'
+ 'libdvdcss: for decoding encrypted DVDs'
+ 'libavc1394: for devices using the 1394ta AV/C'
+ 'libdc1394: for IEEE 1394 plugin'
+ 'kdelibs: KDE Solid hardware integration'
+ 'libpulse: PulseAudio support'
+ 'libva-driver-intel: back-end for intel cards'
+ 'libbluray: for Blu-Ray disks'
+ 'oss: for OSS audio')
+}
conflicts=('vlc-plugin')
replaces=('vlc-plugin')
backup=('usr/share/vlc/lua/http/.hosts'
@@ -47,6 +63,21 @@ build() {
sed -i -e 's:truetype/freefont:TTF:g' modules/text_renderer/freetype.c
+ if [ "$CARCH" = "mips64el" ]; then
+ ./configure --prefix=/usr \
+ --disable-rpath \
+ --enable-faad \
+ --enable-dbus-control \
+ --enable-nls \
+ --disable-lirc \
+ --enable-pvr \
+ --enable-ncurses \
+ --enable-upnp \
+ --enable-oss \
+ --enable-bluray \
+ --enable-live555 \
+ --enable-realrtsp
+ else
./configure --prefix=/usr \
--disable-rpath \
--enable-faad \
@@ -60,6 +91,7 @@ build() {
--enable-bluray \
--enable-live555 \
--enable-realrtsp
+ fi
make
}