extra/mlt to 6.22.0-2

This commit is contained in:
Kevin Mihelich 2020-07-31 15:03:27 +00:00
parent 3924aa69a6
commit 2d0a3f19a1

View file

@ -11,7 +11,7 @@
pkgname=mlt
pkgver=6.22.0
pkgrel=1
pkgrel=2
pkgdesc="An open source multimedia framework"
arch=(x86_64)
url="https://www.mltframework.org"
@ -36,7 +36,7 @@ optdepends=('sdl_image: SDL1 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)
jack libexif python swig movit eigen opencv rubberband gdk-pixbuf2 pango rtaudio imagemagick)
conflicts=(python-mlt)
provides=(python-mlt)
replaces=(python-mlt)
@ -73,4 +73,10 @@ package() {
mkdir -p "$pkgdir/$_pythonpath"
install -m755 mlt.py "$pkgdir/$_pythonpath"
install -m755 _mlt.so "$pkgdir/$_pythonpath"
# Compress lumas
for pgm in "$pkgdir"/usr/share/mlt/lumas/*/*.pgm; do
convert $pgm{,.png}
rm -f $pgm
done
}