From d9a38ed21c59b9d71331528add4ae4a9f526d7bd Mon Sep 17 00:00:00 2001
From: Michael Hanson <hansonorders@verizon.net>
Date: Thu, 4 Aug 2011 21:02:32 +0000
Subject: ffmpeg-svn: update to latest

---
 abs/core/ffmpeg-svn/PKGBUILD | 17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)

diff --git a/abs/core/ffmpeg-svn/PKGBUILD b/abs/core/ffmpeg-svn/PKGBUILD
index 1e9ac93..6d3a132 100644
--- a/abs/core/ffmpeg-svn/PKGBUILD
+++ b/abs/core/ffmpeg-svn/PKGBUILD
@@ -4,15 +4,15 @@
 # Contributor: Paul Mattal <paul@archlinux.org>
 
 pkgname=ffmpeg-svn
-pkgver=26326
+pkgver=26402
 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=('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')
+depends=('bzip2' 'lame' 'sdl' 'libtheora' 'libvorbis' 'faac' 'xvidcore' 'zlib' 'x264' 'libtheora' 'opencore-amr' 'alsa-lib' 'libvdpau' 'libxfixes' 'schroedinger' 'libvpx' 'libva>=1.0.4' 'openjpeg' 'rtmpdump')
+makedepends=('yasm' 'subversion')
+#epoch=1
 provides=("ffmpeg=`date +%Y%m%d`")
 conflicts=('ffmpeg')
 
@@ -31,9 +31,9 @@ build() {
   msg "SVN checkout done or server timeout"
   msg "Starting make..."
 
-  rm -rf "{$_svnmod}-build"
-  mkdir "${_svnmod}-build"
-  cd "${_svnmod}-build"
+  rm -rf "${srcdir}/${_svnmod}/{$_svnmod}-build"
+  mkdir -p "${srcdir}/${_svnmod}/${_svnmod}-build"
+  cd "${srcdir}/${_svnmod}/${_svnmod}-build"
 
   "${srcdir}/${_svnmod}/configure" \
     --prefix=/usr \
@@ -53,6 +53,7 @@ build() {
     --enable-libopencore_amrwb \
     --enable-libschroedinger \
     --enable-libopenjpeg \
+    --enable-librtmp \
     --enable-version3 \
     --enable-nonfree \
     --enable-runtime-cpudetect \
@@ -63,7 +64,7 @@ build() {
 }
 
 package() {
-  cd "${srcdir}/${_svnmod}-build"
+  cd "${srcdir}/${_svnmod}/${_svnmod}-build"
   make DESTDIR="${pkgdir}" install || return 1
   make DESTDIR="${pkgdir}" install-man || return 1
 }
-- 
cgit v0.12

