From 297d70977dd44a4b200b092c818fcc7235dba696 Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Mon, 24 Nov 2014 18:28:33 +0000
Subject: ffmpeg: udpate to 2.4.3

---
 abs/core/ffmpeg/PKGBUILD | 31 +++++++++++--------------------
 1 file changed, 11 insertions(+), 20 deletions(-)

diff --git a/abs/core/ffmpeg/PKGBUILD b/abs/core/ffmpeg/PKGBUILD
index 2e90fb1..115ddfb 100644
--- a/abs/core/ffmpeg/PKGBUILD
+++ b/abs/core/ffmpeg/PKGBUILD
@@ -5,8 +5,8 @@
 # Contributor: Paul Mattal <paul@archlinux.org>
 
 pkgname=ffmpeg
-pkgver=2.2.1
-pkgrel=2
+pkgver=2.4.3
+pkgrel=1
 epoch=1
 pkgdesc='Complete and free Internet live audio and video broadcasting solution'
 arch=('i686' 'x86_64')
@@ -16,19 +16,12 @@ depends=(
       'alsa-lib' 'bzip2' 'fontconfig' 'gnutls' 'gsm' 'lame' 'libass' 'libvdpau'
       'libbluray' 'libmodplug' 'libtheora' 'libva' 'libvorbis' 'libvpx'
       'opencore-amr' 'openjpeg' 'opus' 'rtmpdump' 'schroedinger' 'sdl' 'speex'
-      'v4l-utils' 'x264' 'xvidcore' 'zlib' 'x265'
-      )
+      'v4l-utils' 'libx264' 'xvidcore' 'zlib' 'x265' 'fribidi'
+)
 makedepends=('libvdpau' 'yasm')
-source=(http://ffmpeg.org/releases/$pkgname-$pkgver.tar.bz2{,.asc}
-        0001-libx265-Support-API-version-9.patch)
-md5sums=('b8a1ee4964c2638f46fcc803ed453818'
-         'SKIP'
-         '4cbf9b13dc013e96be36445b4a2bfdac')
-
-prepare() {
-  cd $pkgname-$pkgver
-  patch -p1 -i ../0001-libx265-Support-API-version-9.patch
-}
+source=(http://ffmpeg.org/releases/$pkgname-$pkgver.tar.bz2{,.asc})
+md5sums=('8da635baff57d7ab704b1daca5a99b47'
+         'SKIP')
 
 build() {
   cd $pkgname-$pkgver
@@ -37,14 +30,16 @@ build() {
     --prefix=/usr \
     --disable-debug \
     --disable-static \
+    --disable-stripping \
+    --enable-avisynth \
     --enable-avresample \
-    --enable-dxva2 \
     --enable-fontconfig \
     --enable-gnutls \
     --enable-gpl \
     --enable-libass \
     --enable-libbluray \
     --enable-libfreetype \
+    --enable-libfribidi \
     --enable-libgsm \
     --enable-libmodplug \
     --enable-libmp3lame \
@@ -63,14 +58,12 @@ build() {
     --enable-libx264 \
     --enable-libx265 \
     --enable-libxvid \
-    --enable-pic \
-    --enable-postproc \
     --enable-runtime-cpudetect \
     --enable-shared \
     --enable-swresample \
     --enable-vdpau \
     --enable-version3 \
-    --enable-x11grab
+    --enable-x11grab \
 
   make
   make tools/qt-faststart
@@ -82,5 +75,3 @@ package() {
   make DESTDIR="$pkgdir" install install-man
   install -Dm755 tools/qt-faststart "$pkgdir"/usr/bin/qt-faststart
 }
-
-# vim:set ts=2 sw=2 et:
-- 
cgit v0.12

