2 # Contributor: DrZaius <lou[at]fakeoutdoorsman[dot]com>
9 url="http://libav.org/"
11 depends=('alsa-lib' 'bzip2' 'faac' 'lame' 'libtheora' 'libva' 'libvdpau' 'libvorbis' 'libvpx' 'libxfixes' 'sdl' 'x264-git' 'zlib')
12 makedepends=('git' 'yasm')
14 provides=("ffmpeg=$pkgver")
16 _gitroot="git://git.libav.org/libav.git"
21 msg "Connecting to the Git repository..."
23 if [[ -d $srcdir/$_gitname ]] ; then
26 msg "The local files are updated."
31 msg "Starting make..."
33 rm -rf $srcdir/$_gitname-build
34 git clone $srcdir/$_gitname $srcdir/$_gitname-build
36 cd $srcdir/$_gitname-build
54 make doc/av{conv,play,probe,server}.1
58 cd $srcdir/$_gitname-build
59 make DESTDIR="$pkgdir" install install-man
60 rm -rf $srcdir/$_gitname-build