diff --git a/ImageMagick.changes b/ImageMagick.changes index dbbbc84..2e78ee7 100644 --- a/ImageMagick.changes +++ b/ImageMagick.changes @@ -14,6 +14,7 @@ Fri Jul 29 07:07:44 UTC 2011 - pgajdos@novell.com * Use zlib default compression strategy instead of Z_RLE and Z_FIXED strategies when linking with zlib versions (prior to 1.2.0 and 1.2.2.2, respectively) that don't support them. +- switch on WEBP support -- require libwebp-devel to build ------------------------------------------------------------------- Mon Jun 20 10:44:54 UTC 2011 - pgajdos@novell.com diff --git a/ImageMagick.spec b/ImageMagick.spec index 0fc621c..3ee9023 100644 --- a/ImageMagick.spec +++ b/ImageMagick.spec @@ -29,10 +29,11 @@ %bcond_without DejaVu %bcond_without EXIF %bcond_without JPEG +%bcond_without WEBP Name: ImageMagick -BuildRequires: fdupes pkgconfig +BuildRequires: fdupes pkgconfig %if %{with DCraw} BuildRequires: dcraw @@ -78,6 +79,10 @@ BuildRequires: libexif-devel BuildRequires: libjasper-devel %endif +%if %{with WEBP} +BuildRequires: libwebp-devel +%endif + %define xtp_version 5.4.3 %define mfr_version 6.7.1 %define mfr_revision 0 @@ -139,6 +144,9 @@ Requires: libexif-devel %if %{with JPEG} Requires: libjasper-devel %endif +%if %{with WEBP} +Requires: libwebp-devel +%endif %package extra License: PERMISSIVE-OSI-COMPLIANT