summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2011-10-20 10:51:13 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2011-10-20 10:51:13 -0300
commitc56b2c50f5748090efb9f10f2a021e57a2455764 (patch)
tree98416a388d058498c4f86a4e6728c7a89140aaad
parent4fb8b61584b86fff65cf1e3b4ba472fb38bfa135 (diff)
VLC disable lirc
-rw-r--r--extra/vlc/PKGBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/extra/vlc/PKGBUILD b/extra/vlc/PKGBUILD
index 9a5f9ee98..7dc7b5e01 100644
--- a/extra/vlc/PKGBUILD
+++ b/extra/vlc/PKGBUILD
@@ -30,6 +30,21 @@ optdepends=('avahi: for service discovery using bonjour protocol'
'kdelibs: KDE Solid hardware integration'
'vdpau-video: VDPAU backend for VA API (for GPU acceleration on Nvidia cards)'
'libpulse: PulseAudio support')
+[ "$CARCH" = "mips64el" ] && {
+makedepends=('avahi' 'pkgconfig' 'live-media' 'libnotify'
+ 'flac' 'libtheora' 'alsa-lib' 'jack' 'kdelibs' 'udev'
+ 'libraw1394' 'libdc1394' 'libavc1394' 'libva' 'libpulse'
+ 'gnutls' 'libcaca')
+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'
+ 'vdpau-video: VDPAU backend for VA API (for GPU acceleration on Nvidia cards)'
+ 'libpulse: PulseAudio support')
+}
conflicts=('vlc-plugin')
replaces=('vlc-plugin')
backup=('usr/share/vlc/http/.hosts'
@@ -46,6 +61,21 @@ build() {
sed -i -e 's:truetype/freefont:TTF:g' modules/misc/freetype.c
+ if [ "$CARCH" = "mips64el" ]; then
+ ./configure --prefix=/usr \
+ --disable-rpath \
+ --enable-faad \
+ --enable-v4l \
+ --enable-snapshot \
+ --enable-dbus-control \
+ --enable-nls \
+ --disable-lirc \
+ --enable-pvr \
+ --enable-ncurses \
+ --with-live555-tree=/usr/lib/live \
+ --enable-upnp \
+ --enable-realrtsp
+ else
./configure --prefix=/usr \
--disable-rpath \
--enable-faad \
@@ -59,6 +89,7 @@ build() {
--with-live555-tree=/usr/lib/live \
--enable-upnp \
--enable-realrtsp
+ fi
make
}
package() {