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

Antonio Rojas arojas at archlinux.org
Thu May 6 17:15:30 UTC 2021


    Date: Thursday, May 6, 2021 @ 17:15:29
  Author: arojas
Revision: 414523

Compress lumas, cmake doesn't do it automatically (FS#70738)

Modified:
  mlt6/trunk/PKGBUILD

----------+
 PKGBUILD |    9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-05-06 17:05:03 UTC (rev 414522)
+++ PKGBUILD	2021-05-06 17:15:29 UTC (rev 414523)
@@ -8,7 +8,7 @@
 
 pkgname=mlt6
 pkgver=6.26.1
-pkgrel=2
+pkgrel=3
 pkgdesc="An open source multimedia framework"
 arch=(x86_64)
 url="https://www.mltframework.org"
@@ -51,6 +51,11 @@
 
 package() {
   DESTDIR="$pkgdir" cmake --install build
+  mv "$pkgdir"/usr/bin/melt{,6} # Fix conflicts with mlt 7
 
-  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