1 # Maintainer: heaven <vo.zaeb at gmail.com>
2 # Contributor: Arkham <arkham at archlinux dot us>
3 # Contributor: MacWolf <macwolf@archlinux.de>
8 pkgdesc='VideoLAN Client is a multi-platform MPEG, VCD/DVD, and DivX player. Development GIT Version.'
10 url='http://www.videolan.org/vlc/'
13 depends=('a52dec' 'faad2' 'ffmpeg' 'fluidsynth' 'fribidi' 'live-media' 'lua' 'ncurses' 'qt' 'sdl_image'
14 'smbclient' 'sysfsutils' 'taglib' 'ttf-freefont' 'xdg-utils' 'zvbi' 'libdvbpsi' 'libdca' 'libproxy'
15 'libdvdnav' 'libv4l' 'libmtp' 'libcddb' 'libmatroska' 'libmpcdec' 'libshout' 'libmad' 'libmpeg2'
16 'libmodplug' 'libxv' 'libass' 'libcdio' 'libva')
17 makedepends=('alsa-lib' 'flac' 'git' 'jack' 'lirc-utils' 'libdc1394' 'libnotify' 'libxpm' 'libegl')
18 optdepends=('vdpau-video: VDPAU backend for VA API (for GPU accelereation on Nvidia cards)'
19 'xvba-video: XvBA backend for VA API (for GPU accelereation on Ati/AMD cards)')
24 install='vlc-git.install'
29 _gitroot='git://git.videolan.org/vlc.git'
31 _buildir=${_gitname}-build
36 msg 'Connecting to GIT server...'
38 if [ -d ${_gitname} ]; then
39 cd ${_gitname} && git pull origin
45 msg 'GIT checkout done or server timeout.'
47 if [ -d ${_buildir} ]; then
48 msg 'Cleaning previous build...'
52 git clone ${_gitname} ${_buildir}
55 msg 'Generating necessary files...'
59 msg 'Generating done.'
60 msg 'Configuring VLC...'
62 ./configure --prefix=/usr \
72 --enable-merge-ffmpeg \
74 --enable-dbus-control \
75 --with-live555-tree=/usr/lib/live
77 CFLAGS="$CFLAGS -fPIC"
79 msg 'Starting make...'
82 make DESTDIR=${pkgdir} install || return 1
84 rm -rf ${srcdir}/${_buildir}