]> 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 d9f008755b22353313df43c071a27fe9dab7c54c..4454b842ef8ad2506e9fab476f9d86c32391de3c 100644 (file)
@@ -1,10 +1,11 @@
-# NOTE: pixman >= 0.27.1 for glyph cache (enable after stable pixman release)
 #
 # 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.39
+%define        libdrm_ver      2.4.41
+%define        pixman_ver      0.28.0
 %if %{with sna}
 %define        xserver_ver     1.10
 %else
 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.20.8
-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: 63a002ac596208dc6047289553b75262
+# 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
@@ -27,15 +30,19 @@ BuildRequires:      Mesa-libGL-devel
 BuildRequires: libdrm-devel >= %{libdrm_ver}
 #BuildRequires:        libtool >= 2:2.2
 BuildRequires: libxcb-devel >= 1.5
-BuildRequires: pixman-devel >= 0.24.0
+BuildRequires: pixman-devel >= %{pixman_ver}
 BuildRequires: pkgconfig >= 1:0.19
 BuildRequires: rpmbuild(macros) >= 1.389
 BuildRequires: udev-devel
 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
@@ -49,6 +56,7 @@ BuildRequires:        xorg-xserver-server-devel >= %{xserver_ver}
 %{?requires_xorg_xserver_videodrv}
 %{?with_glamor:Requires:       glamor >= 0.3.1}
 Requires:      libdrm >= %{libdrm_ver}
+Requires:      pixman >= %{pixman_ver}
 Requires:      xorg-lib-libpciaccess >= 0.10
 Requires:      xorg-xserver-libdri >= %{xserver_ver}
 Requires:      xorg-xserver-libglx >= %{xserver_ver}
@@ -86,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}
 
@@ -115,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.034831 seconds and 4 git commands to generate.