diff options
author | Zach Callear | 2015-08-24 11:08:46 -0600 |
---|---|---|
committer | Zach Callear | 2015-08-24 11:08:46 -0600 |
commit | 39706e3f0bd931c879c824bbaa8051b6ee20266a (patch) | |
tree | 45480d6bf478e56a83da54ddce9e8cfed3e24000 | |
parent | c37d28f1763947108a2c24527f251a0c57d32c04 (diff) | |
download | aur-39706e3f0bd931c879c824bbaa8051b6ee20266a.tar.gz |
Apparently it still needed that Apache module patch. The build failed on one of my systems without it.
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 7 |
2 files changed, 7 insertions, 2 deletions
@@ -1,7 +1,7 @@ pkgbase = imgmin-git pkgdesc = Automated lossy JPEG optimization pkgver = 1.1.r6.gea2b77c - pkgrel = 2 + pkgrel = 3 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=2 +pkgrel=3 pkgdesc="Automated lossy JPEG optimization" arch=('i686' 'x86_64') url="https://github.com/rflynn/imgmin" @@ -23,8 +23,13 @@ pkgver() { prepare() { cd "$_pkgname" + + #fix build issue with Apache module on some systems + 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 } |