summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorZach Callear2015-08-24 10:57:29 -0600
committerZach Callear2015-08-24 10:58:17 -0600
commitc37d28f1763947108a2c24527f251a0c57d32c04 (patch)
treea79c2922ede0daa33e6619efc297acfa3e761e81 /PKGBUILD
parentd7d683cdfe3c1205aec66e02105c300542893275 (diff)
downloadaur-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.
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 8223610b2288..2d756e438ef5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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
}