1 # Maintainer: Erus <erus.iluvatar@gmail.com>
8 pkgdesc="A enlighted version of the multi-platform MPEG, VCD/DVD, and DivX player"
9 url="http://www.videolan.org/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)')
29 source=("http://download.videolan.org/pub/videolan/${_pkgbase}/${pkgver}/${_pkgbase}-${pkgver}.tar.bz2")
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 \
45 --with-live555-tree=/usr/lib/live \
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
54 rm -rf ${pkgdir}/usr/lib/mozilla
56 md5sums=('91de1ad308c947e35380f9d747ff5713')
57 sha512sums=('62b6036fe47dd453e6ce5f2244495b11e70359790d6c56d908395b98ebb159f5dc1dcae78edb2cf1b79d2745cfacc76d8db2f3ffea7d52f6523f3c2ddafc0f4d')