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