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

Ray Rashif schiv at nymeria.archlinux.org
Sun May 5 13:11:08 UTC 2013


    Date: Sunday, May 5, 2013 @ 15:11:07
  Author: schiv
Revision: 89900

upgpkg: cinelerra-cv 1:2.2-16

fixed invalid PNGs for libpng 1.6

Modified:
  cinelerra-cv/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-05-05 12:20:12 UTC (rev 89899)
+++ PKGBUILD	2013-05-05 13:11:07 UTC (rev 89900)
@@ -7,7 +7,7 @@
 pkgname=cinelerra-cv
 pkgver=2.2
 _gitrel=2.2.0
-pkgrel=15
+pkgrel=16
 epoch=1
 pkgdesc="Professional video editing and compositing environment"
 arch=('x86_64' 'i686')
@@ -16,7 +16,7 @@
 depends=('e2fsprogs' 'libavc1394' 'libiec61883' 'libxv'
          'libtiff' 'mjpegtools' 'fftw' 'a52dec' 'glu'
          'ffmpeg' 'faad2' 'faac' 'openexr>=2.0.0')
-makedepends=('git' 'nasm' 'mesa')
+makedepends=('git' 'nasm' 'mesa' 'optipng')
 options=('!libtool')
 source=("$pkgname::git+git://git.cinelerra.org/CinelerraCV.git#branch=rel$_gitrel"
         'v4l1_removal.patch'
@@ -52,6 +52,11 @@
   # if you don't need OpenGL comment out the next line (and no glu/mesa dep)
   # TODO: kind of forgot about the specifics of this one, recheck --schiv
   sed -i '/\/X11R6/s///' configure.in
+
+  # fix some pngs that break with newer libpng
+  # see https://mailman.archlinux.org/pipermail/arch-dev-public/2013-May/024872.html
+  msg2 "Fixing PNGs, please wait..."
+  find -name '*.png' -exec optipng -quiet -force -fix {} +
 }
 
 build() {




More information about the arch-commits mailing list