summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRonan Le Martret <ronan@fridu.net>2014-01-10 10:44:15 +0100
committerRonan Le Martret <ronan@fridu.net>2014-01-10 11:06:36 +0100
commit0c48bbdaea7188a4ad8223645ae38231c99e2c6d (patch)
tree504adcd06aca73a036fc7bbe598ffae39d0125cc
parent722d0ef8e4324d9123d2b199b607c4dad464b331 (diff)
downloadxf86-video-intel-accepted/tizen_generic.tar.gz
xf86-video-intel-accepted/tizen_generic.tar.bz2
xf86-video-intel-accepted/tizen_generic.zip
- exclude build for inappropriate platforms (PTREL-590).accepted/tizen_generic
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>
-rw-r--r--packaging/xf86-video-intel.spec8
1 files changed, 8 insertions, 0 deletions
diff --git a/packaging/xf86-video-intel.spec b/packaging/xf86-video-intel.spec
index e82431637..2c15f9407 100644
--- a/packaging/xf86-video-intel.spec
+++ b/packaging/xf86-video-intel.spec
@@ -1,3 +1,5 @@
+%bcond_with wayland
+%bcond_with x
%define glamor 0
Name: xf86-video-intel
@@ -45,7 +47,13 @@ BuildRequires: pkgconfig(xvmc)
%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.