]> git.pld-linux.org Git - packages/xorg-driver-video-intel.git/blame - xorg-driver-video-intel.spec
- updated git patch
[packages/xorg-driver-video-intel.git] / xorg-driver-video-intel.spec
CommitLineData
debd4ae5
JB
1#
2# Conditional build:
9d11ec0b 3%bcond_with glamor Glamor acceleration
8b8bec46 4%bcond_without sna SandyBridge's New Acceleration (also for older generations)
b720049c 5%bcond_without dri3 DRI3 support
debd4ae5 6#
a478bc0a 7%define libdrm_ver 2.4.41
50a7f7ea 8%define pixman_ver 0.28.0
8cc3fdbc
JB
9%if %{with sna}
10%define xserver_ver 1.10
11%else
12%define xserver_ver 1.6.3
13%endif
ab8deb8e 14Summary: X.org video driver for Intel integrated graphics chipsets
f1afbe1d 15Summary(pl.UTF-8): Sterownik obrazu X.org dla zintegrowanych układów graficznych Intela
ab8deb8e 16Name: xorg-driver-video-intel
038fb794 17Version: 2.99.917
d7500cb1 18Release: 9
ab8deb8e
AM
19License: MIT
20Group: X11/Applications
ec4acd45 21Source0: http://xorg.freedesktop.org/releases/individual/driver/xf86-video-intel-%{version}.tar.bz2
038fb794 22# Source0-md5: fa196a66e52c0c624fe5d350af7a5e7b
ab8deb8e 23URL: http://xorg.freedesktop.org/
03702058 24Patch0: xorg-driver-video-intel-git.patch
d7500cb1 25# Patch0-md5: 2283ea06b64d9c44321e1626190f17ee
03702058 26Patch1: driver-intel-sna-cursor-Make-sure-hw-cursors-are-disabled-before-disabling-secondary-planes.patch
ab8deb8e 27BuildRequires: Mesa-libGL-devel
45b9e5ac 28#BuildRequires: autoconf >= 2.63
e7b96773 29#BuildRequires: automake >= 1:1.10.2-2
9d11ec0b 30%{?with_glamor:BuildRequires: glamor-devel >= 0.3.1}
aad2e449 31BuildRequires: libdrm-devel >= %{libdrm_ver}
45b9e5ac 32#BuildRequires: libtool >= 2:2.2
fa71d863 33BuildRequires: libxcb-devel >= 1.5
50a7f7ea 34BuildRequires: pixman-devel >= %{pixman_ver}
ab8deb8e 35BuildRequires: pkgconfig >= 1:0.19
ec4acd45 36BuildRequires: rpmbuild(macros) >= 1.389
c5c8ae34 37BuildRequires: udev-devel
704ba022 38BuildRequires: xcb-util-devel
e5ba51ef 39BuildRequires: xorg-lib-libX11-devel
704ba022 40BuildRequires: xorg-lib-libXfixes-devel
e5ba51ef 41BuildRequires: xorg-lib-libXrender-devel
f1d0ad44 42BuildRequires: xorg-lib-libXtst-devel
ab8deb8e 43BuildRequires: xorg-lib-libXvMC-devel
704ba022 44BuildRequires: xorg-lib-libpciaccess-devel >= 0.10
751b46e8 45BuildRequires: xorg-proto-dri2proto-devel >= 2.6
50dac8df 46%{?with_dri3:BuildRequires: xorg-proto-dri3proto-devel}
ab8deb8e 47BuildRequires: xorg-proto-fontsproto-devel
c5336c45 48BuildRequires: xorg-proto-glproto-devel
ab8deb8e
AM
49BuildRequires: xorg-proto-randrproto-devel
50BuildRequires: xorg-proto-renderproto-devel
51BuildRequires: xorg-proto-videoproto-devel
6fa4b583 52BuildRequires: xorg-proto-xextproto-devel >= 7.0.99.1
ab8deb8e 53BuildRequires: xorg-proto-xf86driproto-devel
704ba022 54BuildRequires: xorg-proto-xproto-devel >= 7.0.13
c5c8ae34 55BuildRequires: xorg-util-util-macros >= 1.8
8cc3fdbc 56BuildRequires: xorg-xserver-server-devel >= %{xserver_ver}
6fa4b583 57%{?requires_xorg_xserver_videodrv}
9d11ec0b 58%{?with_glamor:Requires: glamor >= 0.3.1}
aad2e449 59Requires: libdrm >= %{libdrm_ver}
50a7f7ea 60Requires: pixman >= %{pixman_ver}
6fa4b583 61Requires: xorg-lib-libpciaccess >= 0.10
8cc3fdbc
JB
62Requires: xorg-xserver-libdri >= %{xserver_ver}
63Requires: xorg-xserver-libglx >= %{xserver_ver}
64Requires: xorg-xserver-server >= %{xserver_ver}
fe99b7c9 65Provides: xorg-driver-video
223e62e6 66Provides: xorg-driver-video-i810
74b549e7 67Obsoletes: X11-driver-i810 < 1:7.0.0
74b549e7 68Obsoletes: XFree86-driver-i810 < 1:7.0.0
704ba022 69Obsoletes: XFree86-i810
4150262b 70Obsoletes: xorg-driver-video-i810 < 1.7.2
ebe82ea4 71Conflicts: vbetool
ab8deb8e
AM
72BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
73
74%description
6fa4b583
JB
75X.org video driver for Intel integrated graphics chipsets. It
76supports:
77- i810, i810-DC100, i810e, i815, 830M, 845G, 852GM, 855GM, 865G, 915G,
78 915GM, 945G, 945GM, 965G, 965Q, 946GZ, 965GM, 945GME, G33, Q33, G35,
79 Q35, GM45, G45, Q45, G43, G41 chipsets,
80- Pineview-M in Atom N400 series,
81- Pineview-D in Atom D400/D500 series.
ab8deb8e 82
331efa6b
AM
83Requires Kernel Mode Setting (KMS) to be active.
84
3db5f01a
JR
85%description -l pl.UTF-8
86Sterownik obrazu X.org dla zintegrowanych układów graficznych Intela.
6fa4b583
JB
87Obsługuje:
88- układy i810, i810-DC100, i810e, i815, 830M, 845G, 852GM, 855GM,
fe99b7c9
ER
89 865G, 915G, 915GM, 945G, 945GM, 965G, 965Q, 946GZ, 965GM, 945GME, G33,
90 Q33, G35, Q35, GM45, G45, Q45, G43, G41,
6fa4b583
JB
91- Pineview-M w procesorach Atom z serii N400,
92- Pineview-D w procesorach Atom z serii D400/D500.
ab8deb8e 93
331efa6b
AM
94Wymaga aktywnego Kernel Mode Setting (KMS).
95
ab8deb8e 96%prep
daa61ec4 97%setup -q -n xf86-video-intel-%{version}
60f048fe 98%patch0 -p1
96bae86b 99%patch1 -p1
ab8deb8e
AM
100
101%build
96bae86b
JR
102%{__aclocal}
103%{__autoconf}
104%{__autoheader}
105%{__automake}
ab8deb8e 106%configure \
62a95c43 107 --disable-silent-rules \
9d11ec0b 108 %{?with_glamor:--enable-glamor} \
8b8bec46
AM
109 --with-default-accel=%{?with_sna:sna}%{!?with_sna:uxa} \
110 --enable-uxa \
50dac8df
JK
111 --enable-sna%{!?with_sna:=no} \
112 %{__enable_disable dri3}
ab8deb8e
AM
113
114%{__make}
115
116%install
117rm -rf $RPM_BUILD_ROOT
118
119%{__make} install \
120 DESTDIR=$RPM_BUILD_ROOT
121
751b46e8 122%{__rm} $RPM_BUILD_ROOT%{_libdir}/xorg/modules/*/*.la \
6054b6cc 123 $RPM_BUILD_ROOT%{_libdir}/lib*XvMC.{la,so}
ab8deb8e
AM
124
125%clean
126rm -rf $RPM_BUILD_ROOT
127
128%post -p /sbin/ldconfig
129%postun -p /sbin/ldconfig
130
131%files
132%defattr(644,root,root,755)
6fa4b583 133%doc AUTHORS COPYING ChangeLog NEWS README
038fb794 134%attr(755,root,root) %{_bindir}/intel-virtual-output
d7500cb1 135%attr(755,root,root) %{_libexecdir}/xf86-video-intel-backlight-helper
39304de3 136%attr(755,root,root) %{_libdir}/libI810XvMC.so.*.*.*
704ba022 137%attr(755,root,root) %ghost %{_libdir}/libI810XvMC.so.1
39304de3 138%attr(755,root,root) %{_libdir}/libIntelXvMC.so.*.*.*
704ba022 139%attr(755,root,root) %ghost %{_libdir}/libIntelXvMC.so.1
6fa4b583 140%attr(755,root,root) %{_libdir}/xorg/modules/drivers/intel_drv.so
d35a216c 141%{_mandir}/man4/intel.4*
038fb794
JK
142%{_mandir}/man4/intel-virtual-output.4*
143%{_datadir}/polkit-1/actions/org.x.xf86-video-intel.backlight-helper.policy
This page took 0.570879 seconds and 4 git commands to generate.