]>
Commit | Line | Data |
---|---|---|
5baad0db | 1 | Summary: X.org video driver for video4linux cards |
b5b2f144 | 2 | Summary(pl.UTF-8): Sterownik obrazu X.org dla kart video4linux |
5baad0db | 3 | Name: xorg-driver-video-v4l |
910ad3ca | 4 | Version: 0.2.0 |
72c84d45 | 5 | Release: 21 |
5baad0db JB |
6 | License: MIT |
7 | Group: X11/Applications | |
dbc69af0 | 8 | Source0: http://xorg.freedesktop.org/releases/individual/driver/xf86-video-v4l-%{version}.tar.bz2 |
910ad3ca | 9 | # Source0-md5: 2251ae2a0a905764941cd7b098e85ad1 |
99af6b95 JR |
10 | Patch0: support_v4l2_only_drivers.patch |
11 | Patch1: am.patch | |
a35719eb | 12 | Patch2: build-fix.patch |
5baad0db JB |
13 | URL: http://xorg.freedesktop.org/ |
14 | BuildRequires: autoconf >= 2.57 | |
15 | BuildRequires: automake | |
16 | BuildRequires: libtool | |
17 | BuildRequires: pkgconfig >= 1:0.19 | |
b6ff2d1f | 18 | BuildRequires: rpmbuild(macros) >= 1.389 |
5afe7ff2 | 19 | BuildRequires: xorg-proto-randrproto-devel |
5baad0db | 20 | BuildRequires: xorg-proto-videoproto-devel |
c2d3b991 | 21 | BuildRequires: xorg-util-util-macros >= 0.99.2 |
dbc69af0 | 22 | BuildRequires: xorg-xserver-server-devel >= 1.0.99.901 |
b6ff2d1f | 23 | %{?requires_xorg_xserver_videodrv} |
dbc69af0 | 24 | Requires: xorg-xserver-server >= 1.0.99.901 |
174f1e61 | 25 | Provides: xorg-driver-video |
5baad0db JB |
26 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
27 | ||
28 | %description | |
29 | X.org video driver for video4linux cards. It provides a Xvideo | |
30 | extension port for video overlay. This driver works with every piece | |
31 | of hardware which is supported by a video4linux (kernel-) device | |
32 | driver and is able to handle video overlay. bt848/bt878-based TV cards | |
33 | are the most popular hardware these days. | |
34 | ||
ac605b92 JR |
35 | %description -l pl.UTF-8 |
36 | Sterownik obrazu X.org dla kart video4linux. Udostępnia port | |
37 | rozszerzenia Xvideo dla nakładki obrazu. Działa z każdym kawałkiem | |
38 | sprzętu obsługiwanym przez sterownik jądra video4linux, potrafiącym | |
39 | obsłużyć nakładkę obrazu. Najpopularniejsze z nich to karty | |
5baad0db JB |
40 | telewizyjne bt848/bt878. |
41 | ||
42 | %prep | |
43 | %setup -q -n xf86-video-v4l-%{version} | |
99af6b95 JR |
44 | %patch0 -p1 |
45 | %patch1 -p1 | |
a35719eb | 46 | %patch2 -p1 |
5baad0db JB |
47 | |
48 | %build | |
49 | %{__libtoolize} | |
50 | %{__aclocal} | |
51 | %{__autoconf} | |
52 | %{__autoheader} | |
53 | %{__automake} | |
54 | %configure \ | |
55 | --disable-static | |
56 | ||
57 | %{__make} | |
58 | ||
59 | %install | |
60 | rm -rf $RPM_BUILD_ROOT | |
61 | ||
62 | %{__make} install \ | |
c2d3b991 | 63 | DESTDIR=$RPM_BUILD_ROOT |
5baad0db JB |
64 | |
65 | rm -f $RPM_BUILD_ROOT%{_libdir}/xorg/modules/*/*.la | |
66 | ||
67 | %clean | |
68 | rm -rf $RPM_BUILD_ROOT | |
69 | ||
70 | %files | |
71 | %defattr(644,root,root,755) | |
d80eded4 | 72 | %doc COPYING ChangeLog README |
5baad0db | 73 | %attr(755,root,root) %{_libdir}/xorg/modules/drivers/v4l_drv.so |
c2d3b991 | 74 | %{_mandir}/man4/v4l.4* |