summaryrefslogtreecommitdiffstats
path: root/ffmpeg-svn
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xssn.at>2009-11-22 21:42:30 +0100
committerFlorian Pritz <bluewind@xssn.at>2009-11-22 21:42:30 +0100
commit7155de6730bac6549b53cb08b746581d5ce4fa50 (patch)
treeba3f486c77c0608a2a108047cde2eeb612901d90 /ffmpeg-svn
parentac2be60a6f3e6805f9c4a5986fc9bdc67798f4c5 (diff)
downloadaur-packages-7155de6730bac6549b53cb08b746581d5ce4fa50.tar.gz
aur-packages-7155de6730bac6549b53cb08b746581d5ce4fa50.tar.xz
updates
Signed-off-by: Florian Pritz <bluewind@xssn.at>
Diffstat (limited to 'ffmpeg-svn')
-rw-r--r--ffmpeg-svn/PKGBUILD58
1 files changed, 58 insertions, 0 deletions
diff --git a/ffmpeg-svn/PKGBUILD b/ffmpeg-svn/PKGBUILD
new file mode 100644
index 0000000..ae596b5
--- /dev/null
+++ b/ffmpeg-svn/PKGBUILD
@@ -0,0 +1,58 @@
+# Contributor: raubkopierer <mail[dot]sensenmann[at]googlemail[dot]com>
+
+pkgname=ffmpeg-svn
+pkgver=20578
+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` \
+ || 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
+
+}