diff options
author | Zach Callear | 2020-03-28 08:58:13 -0600 |
---|---|---|
committer | Zach Callear | 2020-03-28 09:03:33 -0600 |
commit | 4ac678bdcdefadcf4000bc44380e612201744688 (patch) | |
tree | 4a87e8b2e209e9cefc5ec6743c9054a18bc55f7a | |
parent | f44054eecb9267f3e28acbc8a8e7f3a7f43a49e1 (diff) | |
download | aur-4ac678bdcdefadcf4000bc44380e612201744688.tar.gz |
Fix unnecessary dependency on ImageMagick 7
Fix unnecessary and broken build dependency on ImageMagick 7, in that
the build process was still searching for MagickWand-config, which is
not available in the libmagick6 package.
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -1,7 +1,7 @@ pkgbase = imgmin-git pkgdesc = Automated lossy JPEG optimization pkgver = 1.1.r17.g3451031 - pkgrel = 6 + pkgrel = 7 url = https://github.com/rflynn/imgmin arch = i686 arch = x86_64 @@ -4,7 +4,7 @@ _pkgname=imgmin pkgname=$_pkgname-git pkgver=1.1.r17.g3451031 -pkgrel=6 +pkgrel=7 pkgdesc="Automated lossy JPEG optimization" arch=('i686' 'x86_64' 'armv7h' 'armv6h') url="https://github.com/rflynn/imgmin" @@ -28,7 +28,7 @@ prepare() { # # Previously it was possible to use the MagickWand-config script from ImageMagick 7, but it # now hardcodes MagickWand-7 in its pkg-config call. - sed -i 's~AC_CHECK_PROGS(MAGICK_CONFIG.*~AC_CHECK_PROG(MAGICK_CONFIG, MagickWand-config, PKG_CONFIG_PATH=/usr/lib/imagemagick6/pkgconfig pkg-config MagickWand)~g' configure.ac + sed -i 's~AC_CHECK_PROGS(MAGICK_CONFIG.*~AC_CHECK_PROG(MAGICK_CONFIG, pkg-config, PKG_CONFIG_PATH=/usr/lib/imagemagick6/pkgconfig pkg-config MagickWand)~g' configure.ac sed -i 's~ --cppflags~ --cflags~g' src/Makefile.am src/apache2/Makefile.am sed -i 's~ --ldflags~ --libs~g' src/Makefile.am src/apache2/Makefile.am |