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

Antonio Rojas arojas at archlinux.org
Fri Jul 31 14:27:42 UTC 2020


    Date: Friday, July 31, 2020 @ 14:27:42
  Author: arojas
Revision: 392775

Compress lumas (FS#67448)

Modified:
  mlt/trunk/PKGBUILD

----------+
 PKGBUILD |   10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-31 09:58:42 UTC (rev 392774)
+++ PKGBUILD	2020-07-31 14:27:42 UTC (rev 392775)
@@ -8,7 +8,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"
@@ -33,7 +33,7 @@
         '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)
@@ -68,4 +68,10 @@
   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
 }



More information about the arch-commits mailing list