updated on Sat Jan 14 12:12:45 UTC 2012
[aur-mirror.git] / vlc-nogui / PKGBUILD
blobf90466bcaa79aa177ea9b627706ae86988ca7182
1 # Maintainer: Alexsandr Pavlov <kidoz at mail dot ru>
3 pkgname=vlc-nogui
4 pkgver=1.1.12
5 pkgrel=1
6 pkgdesc="A multi-platform MPEG, VCD/DVD, and DivX player"
7 arch=('i686' 'x86_64')
8 url="http://www.videolan.org/vlc/"
9 license=('GPL')
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')
19 provides=('vlc')
20 conflicts=('vlc' 'vlc-plugin')
21 replaces=('vlc' 'vlc-plugin')
22 options=('!libtool')
23 source=(http://downloads.videolan.org/pub/videolan/vlc/${pkgver}/vlc-${pkgver}.tar.bz2)
24 md5sums=('91de1ad308c947e35380f9d747ff5713')
26 build() {
27   cd "${srcdir}/vlc-${pkgver}"
29   sed -i -e 's:truetype/freefont:TTF:g' modules/misc/freetype.c
30   ./configure --prefix=/usr \
31               --enable-faad \
32               --enable-v4l \
33               --enable-theora \
34               --enable-flac \
35               --enable-snapshot \
36               --enable-ogg \
37               --enable-shout \
38               --enable-lirc \
39               --enable-pvr \
40               --enable-realrtsp \
41               --disable-rpath \
42               --disable-qt4 \
43               --disable-skins2 \
44               --disable-glx \
45               --with-live555-tree=/usr/lib/live
46   make
49 package() {
50   cd "${srcdir}/vlc-${pkgver}"
51   
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