diff options
author | Zach Callear | 2015-08-24 10:57:29 -0600 |
---|---|---|
committer | Zach Callear | 2015-08-24 10:58:17 -0600 |
commit | c37d28f1763947108a2c24527f251a0c57d32c04 (patch) | |
tree | a79c2922ede0daa33e6619efc297acfa3e761e81 | |
parent | d7d683cdfe3c1205aec66e02105c300542893275 (diff) | |
download | aur-c37d28f1763947108a2c24527f251a0c57d32c04.tar.gz |
Temporarily fixed https://github.com/rflynn/imgmin/issues/56 (Quality Worse than with ImageMagick convert) by commenting a bad line until author does so upstream. Removed Apache module fix, as build now works fine without it.
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 5 |
2 files changed, 4 insertions, 3 deletions
@@ -1,7 +1,7 @@ pkgbase = imgmin-git pkgdesc = Automated lossy JPEG optimization pkgver = 1.1.r6.gea2b77c - pkgrel = 1 + pkgrel = 2 url = https://github.com/rflynn/imgmin arch = i686 arch = x86_64 @@ -4,7 +4,7 @@ _pkgname=imgmin pkgname=$_pkgname-git pkgver=1.1.r6.gea2b77c -pkgrel=1 +pkgrel=2 pkgdesc="Automated lossy JPEG optimization" arch=('i686' 'x86_64') url="https://github.com/rflynn/imgmin" @@ -23,7 +23,8 @@ pkgver() { prepare() { cd "$_pkgname" - sed -i 's/\(MAGICK_CONFIG.*\?xargs\)/\1|sed "s\/-fopenmp\\s\/\/g"/' src/apache2/Makefile.am + #temporarily fix https://github.com/rflynn/imgmin/issues/56 (Quality Worse than with ImageMagick convert) + sed -i 's~ (void) MagickSetImageProperty(mw, "jpeg:sampling-factor", "2x2");~//\0~' src/imgmin.c autoreconf -fi } |