forked from pool/java-1_8_0-openjdk
This commit is contained in:
@@ -63,6 +63,16 @@
|
||||
%else
|
||||
%global with_system_lcms 0
|
||||
%endif
|
||||
%if 0%{?suse_version} > 1320
|
||||
%global with_system_pcsc 1
|
||||
%else
|
||||
%global with_system_pcsc 0
|
||||
%endif
|
||||
%if 0%{?suse_version} > 1320
|
||||
%global with_system_sctp 1
|
||||
%else
|
||||
%global with_system_sctp 0
|
||||
%endif
|
||||
%ifarch x86_64
|
||||
%global archinstall amd64
|
||||
%endif
|
||||
@@ -200,6 +210,7 @@ BuildRequires: gcc-c++
|
||||
BuildRequires: giflib-devel
|
||||
BuildRequires: gtk2-devel
|
||||
BuildRequires: java-bootstrap-devel >= 1.7.0
|
||||
BuildRequires: krb5-devel
|
||||
BuildRequires: libjpeg-devel
|
||||
BuildRequires: liblcms2-devel
|
||||
BuildRequires: libpng-devel
|
||||
@@ -279,6 +290,12 @@ BuildRequires: systemtap-sdt-devel
|
||||
BuildRequires: libpulse-devel >= 0.9.11
|
||||
BuildRequires: pulseaudio >= 0.9.11
|
||||
%endif
|
||||
%if %{with_system_pcsc}
|
||||
BuildRequires: pcsc-lite-devel
|
||||
%endif
|
||||
%if %{with_system_sctp}
|
||||
BuildRequires: lksctp-tools-devel
|
||||
%endif
|
||||
|
||||
%description
|
||||
The OpenJDK 8 runtime environment.
|
||||
@@ -471,6 +488,16 @@ sh autogen.sh
|
||||
--enable-system-lcms \
|
||||
%else
|
||||
--disable-system-lcms \
|
||||
%endif
|
||||
%if %{with_system_pcsc}
|
||||
--enable-system-pcsc \
|
||||
%else
|
||||
--disable-system-pcsc \
|
||||
%endif
|
||||
%if %{with_system_sctp}
|
||||
--enable-system-sctp \
|
||||
%else
|
||||
--disable-system-sctp \
|
||||
%endif
|
||||
--with-openjdk-src-zip=%{SOURCE2} \
|
||||
--with-corba-src-zip=%{SOURCE3} \
|
||||
|
Reference in New Issue
Block a user