]>
Commit | Line | Data |
---|---|---|
1 | Summary: X.org video driver for video4linux cards | |
2 | Summary(pl.UTF-8): Sterownik obrazu X.org dla kart video4linux | |
3 | Name: xorg-driver-video-v4l | |
4 | Version: 0.2.0 | |
5 | Release: 23 | |
6 | License: MIT | |
7 | Group: X11/Applications | |
8 | Source0: http://xorg.freedesktop.org/releases/individual/driver/xf86-video-v4l-%{version}.tar.bz2 | |
9 | # Source0-md5: 2251ae2a0a905764941cd7b098e85ad1 | |
10 | Patch0: support_v4l2_only_drivers.patch | |
11 | Patch1: am.patch | |
12 | Patch2: build-fix.patch | |
13 | URL: http://xorg.freedesktop.org/ | |
14 | BuildRequires: autoconf >= 2.57 | |
15 | BuildRequires: automake | |
16 | BuildRequires: libtool | |
17 | BuildRequires: pkgconfig >= 1:0.19 | |
18 | BuildRequires: rpmbuild(macros) >= 1.389 | |
19 | BuildRequires: xorg-proto-randrproto-devel | |
20 | BuildRequires: xorg-proto-videoproto-devel | |
21 | BuildRequires: xorg-util-util-macros >= 0.99.2 | |
22 | BuildRequires: xorg-xserver-server-devel >= 1.0.99.901 | |
23 | %{?requires_xorg_xserver_videodrv} | |
24 | Requires: xorg-xserver-server >= 1.0.99.901 | |
25 | Provides: xorg-driver-video | |
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 | ||
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 | |
40 | telewizyjne bt848/bt878. | |
41 | ||
42 | %prep | |
43 | %setup -q -n xf86-video-v4l-%{version} | |
44 | %patch0 -p1 | |
45 | %patch1 -p1 | |
46 | %patch2 -p1 | |
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 \ | |
63 | DESTDIR=$RPM_BUILD_ROOT | |
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) | |
72 | %doc COPYING ChangeLog README | |
73 | %attr(755,root,root) %{_libdir}/xorg/modules/drivers/v4l_drv.so | |
74 | %{_mandir}/man4/v4l.4* |