git » mlt.git » commit 0289bfc

ffmpeg 3.0 rebuild

author Antonio Rojas
2016-02-15 23:04:42 UTC
committer Antonio Rojas
2016-02-15 23:04:42 UTC
parent 4b32b0f13b56b86dfcd5777b1a8f01fa6a80cff3

ffmpeg 3.0 rebuild

PKGBUILD +8 -3

diff --git a/PKGBUILD b/PKGBUILD
index 8d58e84..1c999ae 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -9,18 +9,23 @@
 pkgbase=mlt
 pkgname=(mlt mlt-python-bindings)
 pkgver=0.9.8
-pkgrel=5
+pkgrel=6
 pkgdesc="An open source multimedia framework"
 arch=(i686 x86_64)
 url="http://www.mltframework.org"
 license=(GPL)
 makedepends=(ladspa frei0r-plugins libdv sdl_image libsamplerate sox ffmpeg vid.stab qt5-svg jack libexif python2 swig movit eigen)
-source=("https://github.com/mltframework/mlt/archive/v$pkgver.tar.gz")
-md5sums=('57397f2f0fa0545c248c5e9b59c140d5')
+source=("https://github.com/mltframework/mlt/archive/v$pkgver.tar.gz"
+	mlt-ffmpeg3.patch::"https://github.com/mltframework/mlt/commit/97c2dd0d.patch")
+md5sums=('57397f2f0fa0545c248c5e9b59c140d5'
+         '32b4e88d82285ac43bca73a5ecb77e1d')
 
 prepare() {
   cd mlt-$pkgver
   sed -i 's|freetype/|freetype2/|' src/modules/gtk2/producer_pango.c
+
+# Fix build against ffmpeg 3.0
+  patch -p1 -i ../mlt-ffmpeg3.patch
 }
 
 build() {