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 /PKGBUILD | |
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.
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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 } |