Do not depend on Wayland on non-Fedora
This commit is contained in:
parent
7f58957419
commit
e593998d86
@ -45,7 +45,9 @@ BuildRequires: lcms2-devel >= 2.2
|
|||||||
BuildRequires: libXi-devel libXfixes-devel
|
BuildRequires: libXi-devel libXfixes-devel
|
||||||
BuildRequires: systemd-devel
|
BuildRequires: systemd-devel
|
||||||
BuildRequires: libXtst-devel
|
BuildRequires: libXtst-devel
|
||||||
|
%if 0%{?fedora}
|
||||||
BuildRequires: libwayland-client-devel
|
BuildRequires: libwayland-client-devel
|
||||||
|
%endif
|
||||||
BuildRequires: libxslt
|
BuildRequires: libxslt
|
||||||
BuildRequires: docbook-style-xsl
|
BuildRequires: docbook-style-xsl
|
||||||
BuildRequires: xkeyboard-config-devel
|
BuildRequires: xkeyboard-config-devel
|
||||||
@ -93,6 +95,9 @@ autoreconf -i -f
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --disable-static \
|
%configure --disable-static \
|
||||||
|
%if 0%{?rhel}
|
||||||
|
--disable-wayland \
|
||||||
|
%endif
|
||||||
--enable-profiling
|
--enable-profiling
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user