- switch on WEBP support -- require libwebp-devel to build

OBS-URL: https://build.opensuse.org/package/show/graphics/ImageMagick?expand=0&rev=79
This commit is contained in:
Petr Gajdos 2011-07-29 08:25:27 +00:00 committed by Git OBS Bridge
parent 3bbad439b5
commit 824d6d9117
2 changed files with 10 additions and 1 deletions

View File

@ -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

View File

@ -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