summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
authorRonan Le Martret <ronan@fridu.net>2014-01-10 10:44:15 +0100
committerronan(Eurogiciel) Le Martret <ronan.lemartret@open.eurogiciel.org>2014-01-29 07:16:45 -0800
commitf15c2c868a4705a6f52009f59e80786f8db2fa35 (patch)
tree504adcd06aca73a036fc7bbe598ffae39d0125cc /packaging
parent722d0ef8e4324d9123d2b199b607c4dad464b331 (diff)
downloadxf86-video-intel-f15c2c868a4705a6f52009f59e80786f8db2fa35.tar.gz
xf86-video-intel-f15c2c868a4705a6f52009f59e80786f8db2fa35.tar.bz2
xf86-video-intel-f15c2c868a4705a6f52009f59e80786f8db2fa35.zip
exclude build for inappropriate platforms (PTREL-590).
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>
Diffstat (limited to 'packaging')
-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.