[arch-commits] Commit in mlt/repos (4 files)

Antonio Rojas arojas at archlinux.org
Sun Jan 29 18:09:56 UTC 2017


    Date: Sunday, January 29, 2017 @ 18:09:55
  Author: arojas
Revision: 287730

archrelease: copy trunk to staging-i686, staging-x86_64

Added:
  mlt/repos/staging-i686/
  mlt/repos/staging-i686/PKGBUILD
    (from rev 287729, mlt/trunk/PKGBUILD)
  mlt/repos/staging-x86_64/
  mlt/repos/staging-x86_64/PKGBUILD
    (from rev 287729, mlt/trunk/PKGBUILD)

-------------------------+
 staging-i686/PKGBUILD   |   68 ++++++++++++++++++++++++++++++++++++++++++++++
 staging-x86_64/PKGBUILD |   68 ++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 136 insertions(+)

Copied: mlt/repos/staging-i686/PKGBUILD (from rev 287729, mlt/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2017-01-29 18:09:55 UTC (rev 287730)
@@ -0,0 +1,68 @@
+# $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=6.4.1
+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 jack libexif python2 swig movit eigen)
+source=("https://github.com/mltframework/mlt/archive/v$pkgver.tar.gz")
+md5sums=('e9f0584739369c40b8f91f8cf50ea3ea')
+
+build() {
+  # mlt
+  cd mlt-$pkgver
+
+  msg "SSE2=$SSE2"
+  ./configure --prefix=/usr \
+	--avformat-swscale \
+	--enable-gpl --enable-gpl3 \
+	--qt-libdir=/usr/lib --qt-includedir=/usr/include/qt
+  make
+
+  # mlt python bindings
+  cd 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'
+	'jack: for JACK sound output plugin'
+        'ladspa: for LADSPA plugins'
+	'libexif: for auto rotate plugin'
+	'frei0r-plugins: for additional effects'
+	'movit: opengl plugin')
+  conflicts=('mlt++<=0.3.8')
+
+  cd 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/staging-x86_64/PKGBUILD (from rev 287729, mlt/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2017-01-29 18:09:55 UTC (rev 287730)
@@ -0,0 +1,68 @@
+# $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=6.4.1
+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 jack libexif python2 swig movit eigen)
+source=("https://github.com/mltframework/mlt/archive/v$pkgver.tar.gz")
+md5sums=('e9f0584739369c40b8f91f8cf50ea3ea')
+
+build() {
+  # mlt
+  cd mlt-$pkgver
+
+  msg "SSE2=$SSE2"
+  ./configure --prefix=/usr \
+	--avformat-swscale \
+	--enable-gpl --enable-gpl3 \
+	--qt-libdir=/usr/lib --qt-includedir=/usr/include/qt
+  make
+
+  # mlt python bindings
+  cd 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'
+	'jack: for JACK sound output plugin'
+        'ladspa: for LADSPA plugins'
+	'libexif: for auto rotate plugin'
+	'frei0r-plugins: for additional effects'
+	'movit: opengl plugin')
+  conflicts=('mlt++<=0.3.8')
+
+  cd 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/"
+}



More information about the arch-commits mailing list