[packages/xorg-driver-video-intel] DRI3 bcond added

jajcus jajcus at pld-linux.org
Wed Feb 17 16:55:36 CET 2016


commit 50dac8df4dbd1966f022bd7cccb7506ab2a6648a
Author: Jacek Konieczny <jajcus at jajcus.net>
Date:   Wed Feb 17 16:55:21 2016 +0100

    DRI3 bcond added

 xorg-driver-video-intel.spec | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/xorg-driver-video-intel.spec b/xorg-driver-video-intel.spec
index a6b6fc0..b15da91 100644
--- a/xorg-driver-video-intel.spec
+++ b/xorg-driver-video-intel.spec
@@ -2,6 +2,7 @@
 # Conditional build:
 %bcond_with	glamor	Glamor acceleration
 %bcond_without	sna	SandyBridge's New Acceleration (also for older generations)
+%bcond_with	dri3	DRI3 support
 #
 %define	libdrm_ver	2.4.41
 %define	pixman_ver	0.28.0
@@ -41,6 +42,7 @@ BuildRequires:	xorg-lib-libXtst-devel
 BuildRequires:	xorg-lib-libXvMC-devel
 BuildRequires:	xorg-lib-libpciaccess-devel >= 0.10
 BuildRequires:	xorg-proto-dri2proto-devel >= 2.6
+%{?with_dri3:BuildRequires:	xorg-proto-dri3proto-devel}
 BuildRequires:	xorg-proto-fontsproto-devel
 BuildRequires:	xorg-proto-glproto-devel
 BuildRequires:	xorg-proto-randrproto-devel
@@ -105,7 +107,8 @@ Wymaga aktywnego Kernel Mode Setting (KMS).
 	%{?with_glamor:--enable-glamor} \
 	--with-default-accel=%{?with_sna:sna}%{!?with_sna:uxa} \
 	--enable-uxa \
-	--enable-sna%{!?with_sna:=no}
+	--enable-sna%{!?with_sna:=no} \
+	%{__enable_disable dri3}
 
 %{__make}
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/xorg-driver-video-intel.git/commitdiff/50dac8df4dbd1966f022bd7cccb7506ab2a6648a



More information about the pld-cvs-commit mailing list