updated on Thu Jan 12 20:00:29 UTC 2012
[aur-mirror.git] / vlc-nox / PKGBUILD
blobb1d7c7bacde5bf8ad46e649484fd1846e98f044b
1 # Maintainer: Erus <erus.iluvatar@gmail.com>
3 _pkgbase=vlc
4 pkgname=vlc-nox
5 pkgver=1.1.12
6 pkgrel=1
7 arch=('i686' 'x86_64')
8 pkgdesc="A enlighted version of the multi-platform MPEG, VCD/DVD, and DivX player"
9 url="http://www.videolan.org/vlc/"
10 license=('GPL')
11 provides=('vlc')
12 makedepends=('lirc-utils' 'libxpm' 'pkgconfig' 'live-media'
13              'flac' 'libtheora' 'alsa-lib' 'jack' 'udev'
14              'libraw1394' 'libdc1394' 'libavc1394' 'libva' 'chrpath')
15 depends=('a52dec' 'libmtp' 'libdvbpsi' 'libcdio'
16          'libdca' 'sdl_image' 'libdvdnav' 'mesa'
17          'lua' 'libv4l' 'libcddb' 'smbclient' 'libmatroska' 'zvbi'
18          'taglib' 'sysfsutils' 'libmpcdec' 'ffmpeg' 'faad2'
19          'libshout' 'libmad' 'fribidi' 'libmpeg2' 'libmodplug'
20          'ttf-freefont' 'libxv' 'libass' 'xdg-utils')
21 optdepends=('ncurses: for ncurses interface support'
22             'libdvdcss: for decoding encrypted DVDs'
23             'lirc-utils: for lirc plugin'
24             'libavc1394: for devices using the 1394ta AV/C'
25             'libdc1394: for IEEE 1394 plugin'
26             'vdpau-video: VDPAU backend for VA API (for GPU acceleration on Nvidia cards)')
27 options=('!libtool')
28 install=vlc.install
29 source=("http://download.videolan.org/pub/videolan/${_pkgbase}/${pkgver}/${_pkgbase}-${pkgver}.tar.bz2")
31 build() {
32   cd "${srcdir}/${_pkgbase}-${pkgver}"
34   sed -i -e 's:truetype/freefont:TTF:g' modules/misc/freetype.c
35   ./configure --prefix=/usr --disable-qt4 --disable-skins2 \
36               --disable-rpath \
37               --disable-dbus \
38               --enable-faad \
39               --enable-v4l \
40               --enable-snapshot \
41               --enable-nls \
42               --enable-lirc \
43               --enable-pvr \
44               --enable-ncurses \
45               --with-live555-tree=/usr/lib/live \
46               --enable-realrtsp
48   make
49   make DESTDIR=${pkgdir}/ install
50   for res in 16 32 48 128; do
51       install -D -m644 ${srcdir}/vlc-${pkgver}/share/icons/${res}x${res}/vlc.png \
52           ${pkgdir}/usr/share/icons/hicolor/${res}x${res}/apps/vlc.png
53   done
54   rm -rf ${pkgdir}/usr/lib/mozilla
56 md5sums=('91de1ad308c947e35380f9d747ff5713')
57 sha512sums=('62b6036fe47dd453e6ce5f2244495b11e70359790d6c56d908395b98ebb159f5dc1dcae78edb2cf1b79d2745cfacc76d8db2f3ffea7d52f6523f3c2ddafc0f4d')