]> 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 d43215dcfaf6e6891b0f9c058f9a2e17e0361d01..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
 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.21.2
-Release:       1
+Version:       2.99.917
+Release:       5
 License:       MIT
 Group:         X11/Applications
 Source0:       http://xorg.freedesktop.org/releases/individual/driver/xf86-video-intel-%{version}.tar.bz2
-# Source0-md5: 8711750cea7e89f967f192ba30546541
-Patch0:                %{name}-libs.patch
+# 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
@@ -36,9 +38,11 @@ BuildRequires:       xcb-util-devel
 BuildRequires: xorg-lib-libX11-devel
 BuildRequires: xorg-lib-libXfixes-devel
 BuildRequires: xorg-lib-libXrender-devel
+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
@@ -91,14 +95,20 @@ 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}
 
@@ -120,9 +130,13 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS COPYING ChangeLog NEWS README
+%attr(755,root,root) %{_bindir}/intel-virtual-output
+%attr(755,root,root) %{_libdir}/xf86-video-intel-backlight-helper
 %attr(755,root,root) %{_libdir}/libI810XvMC.so.*.*.*
 %attr(755,root,root) %ghost %{_libdir}/libI810XvMC.so.1
 %attr(755,root,root) %{_libdir}/libIntelXvMC.so.*.*.*
 %attr(755,root,root) %ghost %{_libdir}/libIntelXvMC.so.1
 %attr(755,root,root) %{_libdir}/xorg/modules/drivers/intel_drv.so
 %{_mandir}/man4/intel.4*
+%{_mandir}/man4/intel-virtual-output.4*
+%{_datadir}/polkit-1/actions/org.x.xf86-video-intel.backlight-helper.policy
This page took 0.094886 seconds and 4 git commands to generate.