]> git.pld-linux.org Git - packages/xorg-driver-video-intel.git/blobdiff - xorg-driver-video-intel.spec
Build with DRI3 support by default, Release: 5
[packages/xorg-driver-video-intel.git] / xorg-driver-video-intel.spec
index 1397e5309c57d4ca64eccf3e0039de2ecc4facf7..4454b842ef8ad2506e9fab476f9d86c32391de3c 100644 (file)
@@ -2,6 +2,7 @@
 # Conditional build:
 %bcond_with    glamor  Glamor acceleration
 %bcond_without sna     SandyBridge's New Acceleration (also for older generations)
+%bcond_without dri3    DRI3 support
 #
 %define        libdrm_ver      2.4.41
 %define        pixman_ver      0.28.0
@@ -14,12 +15,14 @@ Summary:    X.org video driver for Intel integrated graphics chipsets
 Summary(pl.UTF-8):     Sterownik obrazu X.org dla zintegrowanych układów graficznych Intela
 Name:          xorg-driver-video-intel
 Version:       2.99.917
-Release:       1
+Release:       5
 License:       MIT
 Group:         X11/Applications
 Source0:       http://xorg.freedesktop.org/releases/individual/driver/xf86-video-intel-%{version}.tar.bz2
 # Source0-md5: fa196a66e52c0c624fe5d350af7a5e7b
 URL:           http://xorg.freedesktop.org/
+Patch0:                %{name}-xserver_1_8_0.patch
+Patch1:                git.patch
 BuildRequires: Mesa-libGL-devel
 #BuildRequires:        autoconf >= 2.63
 #BuildRequires:        automake >= 1:1.10.2-2
@@ -39,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
@@ -90,14 +94,21 @@ Wymaga aktywnego Kernel Mode Setting (KMS).
 
 %prep
 %setup -q -n xf86-video-intel-%{version}
+%patch0 -p1
+%patch1 -p1
 
 %build
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
 %configure \
        --disable-silent-rules \
        %{?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}
 
This page took 0.067697 seconds and 4 git commands to generate.