[arch-commits] Commit in mlt6/repos (2 files)
Antonio Rojas
arojas at gemini.archlinux.org
Sat Dec 25 17:44:57 UTC 2021
Date: Saturday, December 25, 2021 @ 17:44:57
Author: arojas
Revision: 1083715
archrelease: copy trunk to community-staging-x86_64
Added:
mlt6/repos/community-staging-x86_64/
mlt6/repos/community-staging-x86_64/PKGBUILD
(from rev 1083714, mlt6/trunk/PKGBUILD)
----------+
PKGBUILD | 71 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 71 insertions(+)
Copied: mlt6/repos/community-staging-x86_64/PKGBUILD (from rev 1083714, mlt6/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2021-12-25 17:44:57 UTC (rev 1083715)
@@ -0,0 +1,71 @@
+# 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=mlt6
+pkgver=6.26.1
+pkgrel=8
+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: audio pitch 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
+ https://github.com/mltframework/mlt/commit/7063e88e.patch
+ https://github.com/mltframework/mlt/commit/a87229bc.patch)
+sha256sums=('8a484bbbf51f33e25312757531f3ad2ce20607149d20fcfcb40a3c1e60b20b4e'
+ '8c2f537e46089ac165da12988aecf49e24d20ec33c1b88c6301f3d2640b8d8f3'
+ 'fc08a5cefb9e164966d5a6514196866dc96bb33719b5b7c069e0b8910e8f8fa5')
+
+prepare() {
+# Backport fixes for kdenlive crashes
+ patch -d mlt-$pkgver -p1 < 7063e88e.patch
+ patch -d mlt-$pkgver -p1 < a87229bc.patch
+}
+
+build() {
+ cmake -B build -S mlt-$pkgver \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DMOD_OPENCV=ON \
+ -DMOD_GTK2=OFF \
+ -DSWIG_PYTHON=ON
+ cmake --build build
+}
+
+package() {
+ DESTDIR="$pkgdir" cmake --install build
+ mv "$pkgdir"/usr/bin/melt{,6} # Fix conflicts with mlt 7
+
+# Compress lumas
+ for pgm in "$pkgdir"/usr/share/mlt/lumas/*/*.pgm; do
+ convert $pgm{,.png}
+ rm -f $pgm
+ done
+}
More information about the arch-commits
mailing list