# $Id: PKGBUILD 158782 2012-05-09 17:58:43Z ibiru $ pkgname=ffmpeg-local pkgver=20120509 pkgrel=1 pkgdesc="Complete and free Internet live audio and video broadcasting solution for Linux/Unix" arch=('i686' 'x86_64') url="http://ffmpeg.org/" license=('GPL') depends=(alsa-lib bzip2 gsm lame libpulse libtheora libva libvorbis libvpx opencore-amr openjpeg rtmpdump schroedinger sdl speex x264 xvidcore zlib) makedepends=('yasm' 'git' 'libvdpau') #git clone git://git.videolan.org/ffmpeg.git source=(ftp://ftp.archlinux.org/other/ffmpeg/ffmpeg-$pkgver.tar.xz) md5sums=('a35359e424608f369d380f03e4dc9966') build() { cd "ffmpeg" ./configure \ --prefix=/usr/local \ --enable-libmp3lame \ --enable-libvorbis \ --enable-libxvid \ --enable-libx264 \ --enable-libvpx \ --enable-libtheora \ --enable-libgsm \ --enable-libspeex \ --enable-postproc \ --enable-shared \ --enable-x11grab \ --enable-libopencore_amrnb \ --enable-libopencore_amrwb \ --enable-libschroedinger \ --enable-libopenjpeg \ --enable-librtmp \ --enable-libpulse \ --enable-gpl \ --enable-version3 \ --enable-runtime-cpudetect \ --disable-debug \ --disable-static make make tools/qt-faststart make doc/ff{mpeg,play,server}.1 } package() { cd "ffmpeg" make DESTDIR="$pkgdir" install install-man install -D -m755 tools/qt-faststart "$pkgdir/usr/local/bin/qt-faststart" } # vim:set ts=2 sw=2 et: