diff options
author | Remi Collet <remi@remirepo.net> | 2019-04-03 12:24:27 +0200 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2019-04-03 12:24:27 +0200 |
commit | 6ef17d3406be005ff59839d46b7f07b1ac968c6e (patch) | |
tree | 7f6e29fdd9e7b1f33891d7606ed67de24b534ebe | |
parent | ad6f66b1e74d89014019cbb8b9f877a00353b20f (diff) |
use openjpeg2-static
-rw-r--r-- | ImageMagick7.spec | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ImageMagick7.spec b/ImageMagick7.spec index 310b009..23c9aae 100644 --- a/ImageMagick7.spec +++ b/ImageMagick7.spec @@ -121,12 +121,18 @@ BuildRequires: pkgconfig(libwebp) BuildRequires: jbigkit-devel %endif %if %{with_jp2} +%if 0%{?rhel} == 7 +# See https://github.com/libvips/libvips/issues/764 +# vips pulls poppler (libopenjpeg) and IM (libopenjp2) +BuildRequires: openjpeg2-static-devel +%else %if 0%{?fedora} >= 27 || 0%{?rhel} >= 8 BuildRequires: pkgconfig(libopenjp2) %else BuildRequires: openjpeg2-devel >= 2.1.0 %endif %endif +%endif %if %{with_gvc} BuildRequires: graphviz-devel >= 2.9.0 %endif |