1 # Maintainer: Alexsandr Pavlov <kidoz at mail dot ru>
6 pkgdesc="A multi-platform MPEG, VCD/DVD, and DivX player"
8 url="http://www.videolan.org/vlc/"
10 depends=('a52dec' 'faad2' 'fluidsynth' 'libmtp' 'libdvbpsi' 'lirc-utils'
11 'libdca' 'libproxy' 'sdl_image' 'libdvdnav'
12 'lua' 'libv4l' 'libcddb' 'smbclient' 'libmatroska' 'zvbi'
13 'taglib' 'sysfsutils' 'libmpcdec' 'ffmpeg'
14 'libshout' 'libmad' 'fribidi' 'libmpeg2' 'libmodplug'
15 'ttf-freefont' 'libxv' 'libass' 'xdg-utils' 'libxpm')
16 makedepends=('alsa-lib' 'avahi' 'jack' 'live-media' 'pkgconfig' 'udev')
17 optdepends=('avahi: for service discovery using bonjour protocol'
18 'libnotify: for notification plugin')
20 conflicts=('vlc' 'vlc-plugin')
21 replaces=('vlc' 'vlc-plugin')
23 source=(http://downloads.videolan.org/pub/videolan/vlc/${pkgver}/vlc-${pkgver}.tar.bz2)
24 md5sums=('91de1ad308c947e35380f9d747ff5713')
27 cd "${srcdir}/vlc-${pkgver}"
29 sed -i -e 's:truetype/freefont:TTF:g' modules/misc/freetype.c
30 ./configure --prefix=/usr \
45 --with-live555-tree=/usr/lib/live
50 cd "${srcdir}/vlc-${pkgver}"
52 make DESTDIR=${pkgdir}/ install
54 rm -rf ${pkgdir}/usr/share/applications
55 rm -rf ${pkgdir}/usr/share/kde4
56 rm -rf ${pkgdir}/usr/share/icons
57 rm ${pkgdir}/usr/share/vlc/vlc.ico