summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--abs/core/ffmpeg-svn/PKGBUILD82
1 files changed, 47 insertions, 35 deletions
diff --git a/abs/core/ffmpeg-svn/PKGBUILD b/abs/core/ffmpeg-svn/PKGBUILD
index 0eafb3f..7195000 100644
--- a/abs/core/ffmpeg-svn/PKGBUILD
+++ b/abs/core/ffmpeg-svn/PKGBUILD
@@ -1,59 +1,71 @@
-# Contributor: raubkopierer <mail[dot]sensenmann[at]googlemail[dot]com>
+# $Id: PKGBUILD 98250 2010-11-05 15:59:39Z ibiru $
+# Maintainer : Ionut Biru <ibiru@archlinux.org>
+# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
+# Contributor: Paul Mattal <paul@archlinux.org>
pkgname=ffmpeg-svn
-pkgver=19483
-pkgrel=1
+pkgver=25715
+pkgrel=2
pkgdesc="Complete and free Internet live audio and video broadcasting solution for Linux/Unix"
arch=('i686' 'x86_64')
-url="http://ffmpeg.mplayerhq.hu/"
+url="http://ffmpeg.org/"
license=('GPL')
-depends=('lame' 'sdl' 'faad2' 'faac' 'zlib' 'imlib2' 'x264' 'libtheora')
-makedepends=('subversion')
+depends=('bzip2' 'lame' 'sdl' 'libtheora' 'libvorbis' 'faac' 'xvidcore' 'zlib' 'x264' 'libtheora' 'opencore-amr' 'alsa-lib' 'libvdpau' 'libxfixes' 'schroedinger' 'libvpx' 'libva>=1.0.4' 'openjpeg')
+makedepends=('yasm')
+options=('force')
provides=("ffmpeg=`date +%Y%m%d`")
conflicts=('ffmpeg')
-source=()
-md5sums=()
_svntrunk=svn://svn.ffmpeg.org/ffmpeg/trunk
_svnmod=ffmpeg
build() {
- cd "$srcdir"
+ cd "${srcdir}"
- if [ -d $_svnmod/.svn ]; then
- (cd $_svnmod && svn up -r $pkgver)
+ if [ -d ${_svnmod}/.svn ]; then
+ (cd ${_svnmod} && svn up -r ${pkgver})
else
- svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
+ 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
+ rm -rf "{$_svnmod}-build"
+ mkdir "${_svnmod}-build"
+ cd "${_svnmod}-build"
+
+ "${srcdir}/${_svnmod}/configure" \
+ --prefix=/usr \
+ --enable-gpl \
+ --enable-libmp3lame \
+ --enable-libvorbis \
+ --enable-libfaac \
+ --enable-libxvid \
+ --enable-libx264 \
+ --enable-libvpx \
+ --enable-libtheora \
+ --enable-postproc \
+ --enable-shared \
+ --enable-pthreads \
+ --enable-x11grab \
+ --enable-libopencore_amrnb \
+ --enable-libopencore_amrwb \
+ --enable-libschroedinger \
+ --enable-libopenjpeg \
+ --enable-version3 \
+ --enable-nonfree \
+ --enable-runtime-cpudetect \
+ --disable-debug # libfaac is nonfree
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
-
+package() {
+ cd "${srcdir}/${_svnmod}-build"
+ make DESTDIR="${pkgdir}" install || return 1
+ make DESTDIR="${pkgdir}" install-man || return 1
}
+
+# vim:set ts=2 sw=2 et: