blob: 51ddd3bea23cc82672e4b98ec5bf450113938f53 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
|
Summary: X.org video driver for SiS 671 video chips
Summary(pl.UTF-8): Sterownik obrazu X.org dla układów graficznych SiS 671
Name: xorg-driver-video-sis-imedia
Version: 20090111
Release: 2
License: MIT
Group: X11/Applications
Source0: http://beauty.ant.gliwice.pl/bugs/xf86-video-sis-imedia-fc9.tar.bz2
# Source0-md5: 031e80c62dd1e526205d4d240b6049eb
URL: http://forums.fedoraforum.org/showthread.php?t=195483
BuildRequires: Mesa-libGL-devel
BuildRequires: autoconf >= 2.57
BuildRequires: automake
BuildRequires: libdrm-devel >= 2.0
BuildRequires: libtool
BuildRequires: pkgconfig >= 1:0.19
BuildRequires: rpmbuild(macros) >= 1.389
BuildRequires: xorg-lib-libpciaccess-devel
BuildRequires: xorg-proto-fontsproto-devel
BuildRequires: xorg-proto-randrproto-devel
BuildRequires: xorg-proto-renderproto-devel
BuildRequires: xorg-proto-videoproto-devel
BuildRequires: xorg-proto-xextproto-devel
BuildRequires: xorg-proto-xf86dgaproto-devel
BuildRequires: xorg-proto-xf86driproto-devel
BuildRequires: xorg-proto-xf86miscproto-devel
BuildRequires: xorg-proto-xineramaproto-devel
BuildRequires: xorg-util-util-macros >= 0.99.2
BuildRequires: xorg-xserver-server-devel >= 1.0.99.901
#%%requires_xorg_xserver_videodrv
Requires: xorg-xserver-libdri >= 1.0.99.901
Requires: xorg-xserver-libglx >= 1.0.99.901
Requires: xorg-xserver-server >= 1.0.99.901
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
Driver for SIS 671 found in Intel D201GLY, it fixes high resolution
problems, adds 2D hardware acceleration and XV/XVMC support. It
requires a kernel patch to add SIS 671 PCI ids (0x0671) and a new
entry on sis-agp.c to detect the chipset.
%description -l pl.UTF-8
Sterownik obrazu X.org dla układów graficznych SiS 671. Obsługuje
rozne rozdzielczosci, akcelaracje 2D i XV/XVMC. Wymaga latki na kernel
dodajacej pci id dla SiS 671 (ox0671) i wpis w sis-agp.c co pozwala
wykryc uklad.
%prep
%setup -q -n xf86-video-sis-imedia-fc9
# https://bugs.freedesktop.org/show_bug.cgi?id=18304
sed -i -e 's|#define.*SIS_USE_BIOS_SCRATCH.*|#undef SIS_USE_BIOS_SCRATCH|g' src/sis.h
%build
%{__libtoolize}
%{__aclocal}
%{__autoconf}
%{__autoheader}
%{__automake}
%configure \
--disable-static
%{__make} clean
%{__make}
%install
rm -rf $RPM_BUILD_ROOT
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
rm -f $RPM_BUILD_ROOT%{_libdir}/xorg/modules/*/*.la
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/xorg/modules/drivers/sis_drv.so
%{_mandir}/man4/sis.4*
|