]>
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) |
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 | 13 | Summary: X.org video driver for Intel integrated graphics chipsets |
f1afbe1d | 14 | Summary(pl.UTF-8): Sterownik obrazu X.org dla zintegrowanych układów graficznych Intela |
ab8deb8e | 15 | Name: xorg-driver-video-intel |
038fb794 | 16 | Version: 2.99.917 |
96bae86b | 17 | Release: 4 |
ab8deb8e AM |
18 | License: MIT |
19 | Group: X11/Applications | |
ec4acd45 | 20 | Source0: http://xorg.freedesktop.org/releases/individual/driver/xf86-video-intel-%{version}.tar.bz2 |
038fb794 | 21 | # Source0-md5: fa196a66e52c0c624fe5d350af7a5e7b |
ab8deb8e | 22 | URL: http://xorg.freedesktop.org/ |
60f048fe | 23 | Patch0: %{name}-xserver_1_8_0.patch |
96bae86b | 24 | Patch1: git.patch |
ab8deb8e | 25 | BuildRequires: 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 | 29 | BuildRequires: libdrm-devel >= %{libdrm_ver} |
45b9e5ac | 30 | #BuildRequires: libtool >= 2:2.2 |
fa71d863 | 31 | BuildRequires: libxcb-devel >= 1.5 |
50a7f7ea | 32 | BuildRequires: pixman-devel >= %{pixman_ver} |
ab8deb8e | 33 | BuildRequires: pkgconfig >= 1:0.19 |
ec4acd45 | 34 | BuildRequires: rpmbuild(macros) >= 1.389 |
c5c8ae34 | 35 | BuildRequires: udev-devel |
704ba022 | 36 | BuildRequires: xcb-util-devel |
e5ba51ef | 37 | BuildRequires: xorg-lib-libX11-devel |
704ba022 | 38 | BuildRequires: xorg-lib-libXfixes-devel |
e5ba51ef | 39 | BuildRequires: xorg-lib-libXrender-devel |
f1d0ad44 | 40 | BuildRequires: xorg-lib-libXtst-devel |
ab8deb8e | 41 | BuildRequires: xorg-lib-libXvMC-devel |
704ba022 | 42 | BuildRequires: xorg-lib-libpciaccess-devel >= 0.10 |
751b46e8 | 43 | BuildRequires: xorg-proto-dri2proto-devel >= 2.6 |
ab8deb8e | 44 | BuildRequires: xorg-proto-fontsproto-devel |
c5336c45 | 45 | BuildRequires: xorg-proto-glproto-devel |
ab8deb8e AM |
46 | BuildRequires: xorg-proto-randrproto-devel |
47 | BuildRequires: xorg-proto-renderproto-devel | |
48 | BuildRequires: xorg-proto-videoproto-devel | |
6fa4b583 | 49 | BuildRequires: xorg-proto-xextproto-devel >= 7.0.99.1 |
ab8deb8e | 50 | BuildRequires: xorg-proto-xf86driproto-devel |
704ba022 | 51 | BuildRequires: xorg-proto-xproto-devel >= 7.0.13 |
c5c8ae34 | 52 | BuildRequires: xorg-util-util-macros >= 1.8 |
8cc3fdbc | 53 | BuildRequires: xorg-xserver-server-devel >= %{xserver_ver} |
6fa4b583 | 54 | %{?requires_xorg_xserver_videodrv} |
9d11ec0b | 55 | %{?with_glamor:Requires: glamor >= 0.3.1} |
aad2e449 | 56 | Requires: libdrm >= %{libdrm_ver} |
50a7f7ea | 57 | Requires: pixman >= %{pixman_ver} |
6fa4b583 | 58 | Requires: xorg-lib-libpciaccess >= 0.10 |
8cc3fdbc JB |
59 | Requires: xorg-xserver-libdri >= %{xserver_ver} |
60 | Requires: xorg-xserver-libglx >= %{xserver_ver} | |
61 | Requires: xorg-xserver-server >= %{xserver_ver} | |
fe99b7c9 | 62 | Provides: xorg-driver-video |
223e62e6 | 63 | Provides: xorg-driver-video-i810 |
74b549e7 | 64 | Obsoletes: X11-driver-i810 < 1:7.0.0 |
74b549e7 | 65 | Obsoletes: XFree86-driver-i810 < 1:7.0.0 |
704ba022 | 66 | Obsoletes: XFree86-i810 |
4150262b | 67 | Obsoletes: xorg-driver-video-i810 < 1.7.2 |
ebe82ea4 | 68 | Conflicts: vbetool |
ab8deb8e AM |
69 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
70 | ||
71 | %description | |
6fa4b583 JB |
72 | X.org video driver for Intel integrated graphics chipsets. It |
73 | supports: | |
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 |
80 | Requires Kernel Mode Setting (KMS) to be active. |
81 | ||
3db5f01a JR |
82 | %description -l pl.UTF-8 |
83 | Sterownik obrazu X.org dla zintegrowanych układów graficznych Intela. | |
6fa4b583 JB |
84 | Obsł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 |
91 | Wymaga 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 | |
113 | rm -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 | |
122 | rm -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 |