diff options
author | Greg Frost <gregfrost1@bigpond.com> | 2009-07-20 10:58:24 (GMT) |
---|---|---|
committer | Greg Frost <gregfrost1@bigpond.com> | 2009-07-20 10:58:24 (GMT) |
commit | 40a73f74b656006ec43c9cc4beb6cfaab3e83d81 (patch) | |
tree | b4c491ef1a2188c3fbc7f2e55c441884a950ff8a /abs/core-testing/ffmpeg-svn/PKGBUILD | |
parent | 0cad0430a88a9790163896e44e1c86f5d1bbb553 (diff) | |
parent | 5ab926984c6f18fcff5fa95bb8708a89fa708b79 (diff) | |
download | linhes_pkgbuild-40a73f74b656006ec43c9cc4beb6cfaab3e83d81.zip linhes_pkgbuild-40a73f74b656006ec43c9cc4beb6cfaab3e83d81.tar.gz linhes_pkgbuild-40a73f74b656006ec43c9cc4beb6cfaab3e83d81.tar.bz2 |
Merge branch 'master' of ssh://gregfrost@knoppmyth.net/mount/repository/LinHES-PKGBUILD
Diffstat (limited to 'abs/core-testing/ffmpeg-svn/PKGBUILD')
-rw-r--r-- | abs/core-testing/ffmpeg-svn/PKGBUILD | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/abs/core-testing/ffmpeg-svn/PKGBUILD b/abs/core-testing/ffmpeg-svn/PKGBUILD new file mode 100644 index 0000000..3144dfb --- /dev/null +++ b/abs/core-testing/ffmpeg-svn/PKGBUILD @@ -0,0 +1,59 @@ +# Contributor: raubkopierer <mail[dot]sensenmann[at]googlemail[dot]com> + +pkgname=ffmpeg-svn +pkgver=18717 +pkgrel=1 +pkgdesc="Complete and free Internet live audio and video broadcasting solution for Linux/Unix" +arch=('i686' 'x86_64') +url="http://ffmpeg.mplayerhq.hu/" +license=('GPL') +depends=('lame' 'sdl' 'faad2' 'faac' 'zlib' 'imlib2' 'x264' 'libtheora') +makedepends=('subversion') +provides=("ffmpeg=`date +%Y%m%d`") +conflicts=('ffmpeg') +source=() +md5sums=() + +_svntrunk=svn://svn.ffmpeg.org/ffmpeg/trunk +_svnmod=ffmpeg + +build() { + cd "$srcdir" + + if [ -d $_svnmod/.svn ]; then + (cd $_svnmod && svn up -r $pkgver) + else + svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod + fi + + msg "SVN checkout done or server timeout" + msg "Starting make..." + + rm -rf "$_svnmod-build" + mkdir "$_svnmod-build" + cd "$_svnmod-build" + + "$srcdir/$_svnmod/configure" \ + --prefix=/usr \ + --enable-gpl \ + --enable-nonfree \ + --enable-libmp3lame \ + --enable-libfaac \ + --enable-libfaad \ + --enable-libx264 \ + --enable-libtheora \ + --enable-postproc \ + --enable-shared \ + --enable-pthreads \ + --enable-x11grab \ + --arch=`uname -m` \ + --enable-libxvid \ + || return 1 + + make || return 1 + make doc/ff{mpeg,play,server}.1 || return 1 + + make DESTDIR="$pkgdir" install || return 1 + make DESTDIR="$pkgdir" install-man || return 1 + +} |