build only for pure x11 platform.
wayland |x |meaning
---------------------------
0 |1 |pure X11 platform(no wayland)
1 |0 |pure wayland platform (no X11)
1 |1 |wayland but X compatibility
0 |0 |no X and no wayland
Change-Id: Ic8fd82ec9132ad311ce66792a44a70173c00e86d
Signed-off-by: Ronan Le Martret <ronan@fridu.net>
+%bcond_with wayland
+%bcond_with x
%define glamor 0
Name: xf86-video-intel
%if %glamor
BuildRequires: pkgconfig(glamor)
%endif
+
+%if %{with x} && !%{with wayland}
ExclusiveArch: %ix86 x86_64
+%else
+ExclusiveArch:
+%endif
+
%description
intel is an Xorg driver for Intel integrated video cards.