[arch-commits] Commit in mlt/trunk (3 files)

Antonio Rojas arojas at archlinux.org
Fri Apr 10 08:43:12 UTC 2015


    Date: Friday, April 10, 2015 @ 10:43:12
  Author: arojas
Revision: 236021

upgpkg: mlt 0.9.6-3

Added:
  mlt/trunk/PKGBUILD
    (from rev 236020, mlt/kde-unstable/PKGBUILD)
Deleted:
  mlt/trunk/PKGBUILD
  mlt/trunk/fix-segmentation-fault-at-exit-by-calling-av_lockmgr.patch

------------------------------------------------------------+
 PKGBUILD                                                   |  132 +++++------
 fix-segmentation-fault-at-exit-by-calling-av_lockmgr.patch |   37 ---
 2 files changed, 69 insertions(+), 100 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2015-04-10 08:41:15 UTC (rev 236020)
+++ PKGBUILD	2015-04-10 08:43:12 UTC (rev 236021)
@@ -1,63 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Contributor: Fabian Schoelzel <myfirstname.mylastname at googlemail.com>
-# Contributor: funkyou <spamopfer at nickname.berlin.de>
-# Contributor: tardo <tardo at nagi-fanboi.net>
-# Contributor: Stefan Husmann <stefan-husmann at t-online.de>
-
-pkgbase=mlt
-pkgname=('mlt' 'mlt-python-bindings')
-pkgver=0.9.6
-pkgrel=1
-pkgdesc="An open source multimedia framework"
-arch=('i686' 'x86_64')
-url="http://www.mltframework.org"
-license=('GPL')
-makedepends=('sdl_image' 'libsamplerate' 'libdv' 'qt4' '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' 'libxml2' 'ffmpeg' 'frei0r-plugins' 'vid.stab')
-  optdepends=('jack' 'libexif' 'qt4' '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/trunk/PKGBUILD (from rev 236020, mlt/kde-unstable/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2015-04-10 08:43:12 UTC (rev 236021)
@@ -0,0 +1,69 @@
+# $Id$
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Fabian Schoelzel <myfirstname.mylastname at googlemail.com>
+# Contributor: funkyou <spamopfer at nickname.berlin.de>
+# Contributor: tardo <tardo at nagi-fanboi.net>
+# Contributor: Stefan Husmann <stefan-husmann at t-online.de>
+# Contributor: Gustavo Alvarez <sl1pkn07 at gmail.com>
+
+pkgbase=mlt
+pkgname=(mlt mlt-python-bindings)
+pkgver=0.9.6
+pkgrel=3
+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 jack2 libexif python2 swig)
+source=("http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz")
+md5sums=('92bcc95af44ff086df0a0ce17a201d1c')
+
+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() {
+  optdepends=('sdl_image: for SDL plugin'
+            'libsamplerate: for libavresample plugin'
+            'sox: for SOX (Audio Swiss Army Knife) plugin'
+            'ffmpeg: for ffmpeg plugin'
+            'vid.stab: for video stabilize plugin'
+	    'gtk2: Gtk plugin'
+            'qt5-svg: for Qt5 plugins'
+            'jack2: for JACK sound output plugin'
+            'libexif: for auto rotate plugin')
+  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/"
+}

Deleted: fix-segmentation-fault-at-exit-by-calling-av_lockmgr.patch
===================================================================
--- fix-segmentation-fault-at-exit-by-calling-av_lockmgr.patch	2015-04-10 08:41:15 UTC (rev 236020)
+++ fix-segmentation-fault-at-exit-by-calling-av_lockmgr.patch	2015-04-10 08:43:12 UTC (rev 236021)
@@ -1,37 +0,0 @@
-From ef749d7b526f0762a00a369ea35b5b12c18142fb Mon Sep 17 00:00:00 2001
-From: Nicolas Boichat <nicolas at 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
-



More information about the arch-commits mailing list