diff options
-rw-r--r-- | gtk3.spec | 9 |
1 files changed, 1 insertions, 8 deletions
@@ -1,5 +1,4 @@ -%if 0%{?fedora} || 0%{?rhel} > 7 -%global with_wayland 1 +%if 0%{?fedora} %global with_broadway 1 %endif @@ -55,14 +54,12 @@ BuildRequires: pkgconfig(json-glib-1.0) BuildRequires: pkgconfig(colord) BuildRequires: pkgconfig(avahi-gobject) BuildRequires: desktop-file-utils -%if 0%{?with_wayland} BuildRequires: pkgconfig(egl) BuildRequires: pkgconfig(wayland-client) >= %{wayland_version} BuildRequires: pkgconfig(wayland-cursor) >= %{wayland_version} BuildRequires: pkgconfig(wayland-egl) >= %{wayland_version} BuildRequires: pkgconfig(wayland-protocols) >= %{wayland_protocols_version} BuildRequires: pkgconfig(xkbcommon) -%endif # standard icons Requires: adwaita-icon-theme @@ -78,10 +75,8 @@ Requires: glib2%{?_isa} >= %{glib2_version} Requires: libepoxy%{?_isa} >= %{epoxy_version} Requires: libXrandr%{?_isa} >= %{xrandr_version} Requires: pango%{?_isa} >= %{pango_version} -%if 0%{?with_wayland} Requires: libwayland-client%{?_isa} >= %{wayland_version} Requires: libwayland-cursor%{?_isa} >= %{wayland_version} -%endif # required to support all the different image formats Requires: gdk-pixbuf2-modules%{?_isa} @@ -179,9 +174,7 @@ export CFLAGS='-fno-strict-aliasing %optflags' --enable-xcomposite \ --enable-xdamage \ --enable-x11-backend \ -%if 0%{?with_wayland} --enable-wayland-backend \ -%endif %if 0%{?with_broadway} --enable-broadway-backend \ %endif |