Date: Friday, March 13, 2015 @ 22:07:15 Author: arojas Revision: 233600
archrelease: copy kde-unstable to kde-unstable-i686, kde-unstable-x86_64 Added: mlt/repos/kde-unstable-i686/ mlt/repos/kde-unstable-i686/PKGBUILD (from rev 233599, mlt/kde-unstable/PKGBUILD) mlt/repos/kde-unstable-i686/fix-segmentation-fault-at-exit-by-calling-av_lockmgr.patch (from rev 233599, mlt/kde-unstable/fix-segmentation-fault-at-exit-by-calling-av_lockmgr.patch) mlt/repos/kde-unstable-x86_64/ mlt/repos/kde-unstable-x86_64/PKGBUILD (from rev 233599, mlt/kde-unstable/PKGBUILD) mlt/repos/kde-unstable-x86_64/fix-segmentation-fault-at-exit-by-calling-av_lockmgr.patch (from rev 233599, mlt/kde-unstable/fix-segmentation-fault-at-exit-by-calling-av_lockmgr.patch) --------------------------------------------------------------------------------+ kde-unstable-i686/PKGBUILD | 63 ++++++++++ kde-unstable-i686/fix-segmentation-fault-at-exit-by-calling-av_lockmgr.patch | 37 +++++ kde-unstable-x86_64/PKGBUILD | 63 ++++++++++ kde-unstable-x86_64/fix-segmentation-fault-at-exit-by-calling-av_lockmgr.patch | 37 +++++ 4 files changed, 200 insertions(+) Copied: mlt/repos/kde-unstable-i686/PKGBUILD (from rev 233599, mlt/kde-unstable/PKGBUILD) =================================================================== --- kde-unstable-i686/PKGBUILD (rev 0) +++ kde-unstable-i686/PKGBUILD 2015-03-13 21:07:15 UTC (rev 233600) @@ -0,0 +1,63 @@ +# $Id$ +# Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com> +# Contributor: Fabian Schoelzel <myfirstname.mylastn...@googlemail.com> +# Contributor: funkyou <spamop...@nickname.berlin.de> +# Contributor: tardo <ta...@nagi-fanboi.net> +# Contributor: Stefan Husmann <stefan-husm...@t-online.de> + +pkgbase=mlt +pkgname=('mlt' 'mlt-python-bindings') +pkgver=0.9.6 +pkgrel=2 +pkgdesc="An open source multimedia framework" +arch=('i686' 'x86_64') +url="http://www.mltframework.org" +license=('GPL') +makedepends=('sdl_image' 'libsamplerate' 'libdv' 'qt5-svg' 'sox' 'libxml2' 'gtk2' 'ffmpeg' + 'frei0r-plugins' 'swig' 'python2' 'jack' 'ladspa' 'vid.stab') +source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz + fix-segmentation-fault-at-exit-by-calling-av_lockmgr.patch) +md5sums=('92bcc95af44ff086df0a0ce17a201d1c' + '8227e7a1b059b1b16901166d2a508317') + +prepare() { + cd "$srcdir/mlt-$pkgver" + sed -i 's|freetype/|freetype2/|' src/modules/gtk2/producer_pango.c +} + +build() { + # mlt + cd "$srcdir/mlt-$pkgver" + + msg "SSE2=$SSE2" + ./configure --prefix=/usr \ + --avformat-swscale \ + --enable-gpl --enable-gpl3 + make + + # mlt python bindings + cd "$srcdir/mlt-$pkgver/src/swig/python" + sed -i 's_path=`which python_path=`which python2_' build + sed -i 's_`python -c_`python2 -c_' build + sed -i 's#python-config#python2-config#' build + ./build +} + +package_mlt() { + depends=('sdl_image' 'libsamplerate' 'libdv' 'sox' 'frei0r-plugins' 'vid.stab') + optdepends=('jack' 'libexif' 'qt5-svg' 'gtk2' "ladspa") + conflicts=('mlt++<=0.3.8') + + cd "$srcdir/mlt-$pkgver" + make DESTDIR="$pkgdir" install +} + +package_mlt-python-bindings() { + depends=('python2' 'mlt') + + cd "$srcdir/mlt-$pkgver/src/swig/python" + mkdir -p "$pkgdir/usr/lib/python2.7/" + install -m755 mlt.py "$pkgdir/usr/lib/python2.7/" + install -m755 _mlt.so "$pkgdir/usr/lib/python2.7/" + install -m755 mlt_wrap.o "$pkgdir/usr/lib/python2.7/" +} Copied: mlt/repos/kde-unstable-i686/fix-segmentation-fault-at-exit-by-calling-av_lockmgr.patch (from rev 233599, mlt/kde-unstable/fix-segmentation-fault-at-exit-by-calling-av_lockmgr.patch) =================================================================== --- kde-unstable-i686/fix-segmentation-fault-at-exit-by-calling-av_lockmgr.patch (rev 0) +++ kde-unstable-i686/fix-segmentation-fault-at-exit-by-calling-av_lockmgr.patch 2015-03-13 21:07:15 UTC (rev 233600) @@ -0,0 +1,37 @@ +From ef749d7b526f0762a00a369ea35b5b12c18142fb Mon Sep 17 00:00:00 2001 +From: Nicolas Boichat <nico...@boichat.ch> +Date: Wed, 20 Mar 2013 16:50:56 +0800 +Subject: [PATCH] Fix Segmentation fault at exit by calling + av_lockmgr_register( NULL ); + +--- + src/modules/avformat/factory.c | 6 ++++++ + 1 file changed, 6 insertions(+) + +diff --git a/src/modules/avformat/factory.c b/src/modules/avformat/factory.c +index ddf05fe..a273537 100644 +--- a/src/modules/avformat/factory.c ++++ b/src/modules/avformat/factory.c +@@ -83,6 +83,11 @@ static int avformat_lockmgr(void **mutex, enum AVLockOp op) + return 0; + } + ++static void avformat_exit( ) ++{ ++ av_lockmgr_register( NULL ); ++} ++ + static void avformat_init( ) + { + // Initialise avformat if necessary +@@ -98,6 +103,7 @@ static void avformat_init( ) + avformat_network_init(); + #endif + av_log_set_level( mlt_log_get_level() ); ++ atexit(avformat_exit); + } + } + +-- +1.8.1.5 + Copied: mlt/repos/kde-unstable-x86_64/PKGBUILD (from rev 233599, mlt/kde-unstable/PKGBUILD) =================================================================== --- kde-unstable-x86_64/PKGBUILD (rev 0) +++ kde-unstable-x86_64/PKGBUILD 2015-03-13 21:07:15 UTC (rev 233600) @@ -0,0 +1,63 @@ +# $Id$ +# Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com> +# Contributor: Fabian Schoelzel <myfirstname.mylastn...@googlemail.com> +# Contributor: funkyou <spamop...@nickname.berlin.de> +# Contributor: tardo <ta...@nagi-fanboi.net> +# Contributor: Stefan Husmann <stefan-husm...@t-online.de> + +pkgbase=mlt +pkgname=('mlt' 'mlt-python-bindings') +pkgver=0.9.6 +pkgrel=2 +pkgdesc="An open source multimedia framework" +arch=('i686' 'x86_64') +url="http://www.mltframework.org" +license=('GPL') +makedepends=('sdl_image' 'libsamplerate' 'libdv' 'qt5-svg' 'sox' 'libxml2' 'gtk2' 'ffmpeg' + 'frei0r-plugins' 'swig' 'python2' 'jack' 'ladspa' 'vid.stab') +source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz + fix-segmentation-fault-at-exit-by-calling-av_lockmgr.patch) +md5sums=('92bcc95af44ff086df0a0ce17a201d1c' + '8227e7a1b059b1b16901166d2a508317') + +prepare() { + cd "$srcdir/mlt-$pkgver" + sed -i 's|freetype/|freetype2/|' src/modules/gtk2/producer_pango.c +} + +build() { + # mlt + cd "$srcdir/mlt-$pkgver" + + msg "SSE2=$SSE2" + ./configure --prefix=/usr \ + --avformat-swscale \ + --enable-gpl --enable-gpl3 + make + + # mlt python bindings + cd "$srcdir/mlt-$pkgver/src/swig/python" + sed -i 's_path=`which python_path=`which python2_' build + sed -i 's_`python -c_`python2 -c_' build + sed -i 's#python-config#python2-config#' build + ./build +} + +package_mlt() { + depends=('sdl_image' 'libsamplerate' 'libdv' 'sox' 'frei0r-plugins' 'vid.stab') + optdepends=('jack' 'libexif' 'qt5-svg' 'gtk2' "ladspa") + conflicts=('mlt++<=0.3.8') + + cd "$srcdir/mlt-$pkgver" + make DESTDIR="$pkgdir" install +} + +package_mlt-python-bindings() { + depends=('python2' 'mlt') + + cd "$srcdir/mlt-$pkgver/src/swig/python" + mkdir -p "$pkgdir/usr/lib/python2.7/" + install -m755 mlt.py "$pkgdir/usr/lib/python2.7/" + install -m755 _mlt.so "$pkgdir/usr/lib/python2.7/" + install -m755 mlt_wrap.o "$pkgdir/usr/lib/python2.7/" +} Copied: mlt/repos/kde-unstable-x86_64/fix-segmentation-fault-at-exit-by-calling-av_lockmgr.patch (from rev 233599, mlt/kde-unstable/fix-segmentation-fault-at-exit-by-calling-av_lockmgr.patch) =================================================================== --- kde-unstable-x86_64/fix-segmentation-fault-at-exit-by-calling-av_lockmgr.patch (rev 0) +++ kde-unstable-x86_64/fix-segmentation-fault-at-exit-by-calling-av_lockmgr.patch 2015-03-13 21:07:15 UTC (rev 233600) @@ -0,0 +1,37 @@ +From ef749d7b526f0762a00a369ea35b5b12c18142fb Mon Sep 17 00:00:00 2001 +From: Nicolas Boichat <nico...@boichat.ch> +Date: Wed, 20 Mar 2013 16:50:56 +0800 +Subject: [PATCH] Fix Segmentation fault at exit by calling + av_lockmgr_register( NULL ); + +--- + src/modules/avformat/factory.c | 6 ++++++ + 1 file changed, 6 insertions(+) + +diff --git a/src/modules/avformat/factory.c b/src/modules/avformat/factory.c +index ddf05fe..a273537 100644 +--- a/src/modules/avformat/factory.c ++++ b/src/modules/avformat/factory.c +@@ -83,6 +83,11 @@ static int avformat_lockmgr(void **mutex, enum AVLockOp op) + return 0; + } + ++static void avformat_exit( ) ++{ ++ av_lockmgr_register( NULL ); ++} ++ + static void avformat_init( ) + { + // Initialise avformat if necessary +@@ -98,6 +103,7 @@ static void avformat_init( ) + avformat_network_init(); + #endif + av_log_set_level( mlt_log_get_level() ); ++ atexit(avformat_exit); + } + } + +-- +1.8.1.5 +