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