lcms2 is no longer optional

epel9
Rex Dieter 9 years ago
parent 4c2614aa82
commit e946776685

@ -4,10 +4,6 @@
%global _with_quantum_depth --with-quantum-depth=16 %global _with_quantum_depth --with-quantum-depth=16
%endif %endif
%if 0%{?fedora} || 0%{?rhel} > 5
%global lcms2 --with-lcms2
%endif
%if 0%{?fedora} || 0%{?rhel} > 6 %if 0%{?fedora} || 0%{?rhel} > 6
%global _enable_quantum_library_names --enable-quantum-library-names %global _enable_quantum_library_names --enable-quantum-library-names
%global libQ -Q16 %global libQ -Q16
@ -55,9 +51,7 @@ Patch50: GraphicsMagick-1.3.14-perl_linkage.patch
BuildRequires: bzip2-devel BuildRequires: bzip2-devel
BuildRequires: freetype-devel BuildRequires: freetype-devel
BuildRequires: jasper-devel BuildRequires: jasper-devel
%if 0%{?lcms2:1}
BuildRequires: lcms2-devel BuildRequires: lcms2-devel
%endif
BuildRequires: libjpeg-devel BuildRequires: libjpeg-devel
BuildRequires: libpng-devel BuildRequires: libpng-devel
BuildRequires: librsvg2-devel BuildRequires: librsvg2-devel
@ -181,7 +175,7 @@ sed -i.rpath -e 's|"/lib /usr/lib|"/%{_lib} %{_libdir}|' configure
%build %build
%configure --enable-shared --disable-static \ %configure --enable-shared --disable-static \
--docdir=%{_pkgdocdir} \ --docdir=%{_pkgdocdir} \
%{?lcms2} \ --with-lcms2 \
--with-magick_plus_plus \ --with-magick_plus_plus \
--with-modules \ --with-modules \
--with-perl \ --with-perl \

Loading…
Cancel
Save