[arch-commits] Commit in mlt/repos (staging-x86_64 staging-x86_64/PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Mon Oct 12 17:05:03 UTC 2020
Date: Monday, October 12, 2020 @ 17:05:03
Author: arojas
Revision: 398076
archrelease: copy trunk to staging-x86_64
Added:
mlt/repos/staging-x86_64/
mlt/repos/staging-x86_64/PKGBUILD
(from rev 398075, mlt/trunk/PKGBUILD)
----------+
PKGBUILD | 68 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 68 insertions(+)
Copied: mlt/repos/staging-x86_64/PKGBUILD (from rev 398075, mlt/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2020-10-12 17:05:03 UTC (rev 398076)
@@ -0,0 +1,68 @@
+# 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>
+
+pkgname=mlt
+pkgver=6.22.1
+pkgrel=4
+pkgdesc="An open source multimedia framework"
+arch=(x86_64)
+url="https://www.mltframework.org"
+license=(GPL)
+depends=(libebur128)
+optdepends=('sdl_image: SDL1 plugin'
+ 'sdl2: SDL2 plugin'
+ 'libsamplerate: libavresample plugin'
+ 'sox: SOX (Audio Swiss Army Knife) plugin'
+ 'ffmpeg: ffmpeg plugin'
+ 'vid.stab: video stabilize plugin'
+ 'qt5-svg: Qt5 plugins'
+ 'jack: JACK sound output plugin'
+ 'ladspa: LADSPA plugins'
+ 'libexif: auto rotate plugin'
+ 'frei0r-plugins: for additional effects'
+ 'movit: opengl plugin'
+ 'opencv: openCV plugin'
+ 'rubberband: rubberband plugin'
+ 'gdk-pixbuf2: gdk plugin'
+ 'pango: gdk plugin'
+ 'rtaudio: rtaudio plugin'
+ 'python: python bindings')
+makedepends=(cmake ladspa frei0r-plugins libdv sdl_image libsamplerate sox ffmpeg vid.stab qt5-svg
+ jack libexif python swig movit eigen opencv rubberband gdk-pixbuf2 pango rtaudio imagemagick)
+conflicts=(python-mlt)
+provides=(python-mlt)
+replaces=(python-mlt)
+source=($pkgname-$pkgver.tar.gz::"https://github.com/mltframework/mlt/archive/v$pkgver.tar.gz")
+sha256sums=('a3debdf0b8811f0d20c902cc3df3d05dad7d3ff36d1db16c0a7338d0d5989998')
+
+build() {
+ cd mlt-$pkgver
+
+ ./configure --prefix=/usr \
+ --avformat-swscale \
+ --enable-gpl \
+ --enable-gpl3 \
+ --enable-opencv
+ make
+
+# python bindings
+ cd src/swig/python
+ ./build
+}
+
+package() {
+ cd mlt-$pkgver
+ make DESTDIR="$pkgdir" install
+
+# Install python bindings
+ _pythonpath=`python -c "from sysconfig import get_path; print(get_path('platlib'))"`
+ cd src/swig/python
+ mkdir -p "$pkgdir/$_pythonpath"
+ install -m755 mlt.py "$pkgdir/$_pythonpath"
+ install -m755 _mlt.so "$pkgdir/$_pythonpath"
+}
More information about the arch-commits
mailing list