]>
Commit | Line | Data |
---|---|---|
cb2845ea JB |
1 | # NOTE: versions >= 0.5.0 no longer support gstreamer 0.10 |
2 | Summary: GStreamer 0.10 plugin to support Video Acceleration API | |
3 | Summary(pl.UTF-8): Wtyczka GStreamera 0.10 obsługująca Video Acceleration API | |
4 | Name: gstreamer0.10-vaapi | |
5 | Version: 0.4.3 | |
6 | Release: 1 | |
7 | License: LGPL v2.1+ | |
8 | Group: Libraries | |
9 | Source0: http://www.freedesktop.org/software/vaapi/releases/gstreamer-vaapi/gstreamer-vaapi-%{version}.tar.bz2 | |
10 | # Source0-md5: 7b1ede7193bc5a0aca921c490684f7b5 | |
11 | URL: http://www.freedesktop.org/wiki/Software/vaapi/ | |
12 | BuildRequires: Mesa-libGL-devel | |
13 | BuildRequires: autoconf >= 2.58 | |
14 | BuildRequires: automake >= 1:1.11 | |
15 | BuildRequires: glib2-devel >= 1:2.28.0 | |
16 | BuildRequires: gstreamer0.10-devel >= 0.10.36 | |
17 | BuildRequires: gstreamer0.10-plugins-bad-devel >= 0.10.22 | |
18 | BuildRequires: gstreamer0.10-plugins-base-devel >= 0.10.31 | |
19 | BuildRequires: gtk-doc >= 1.12 | |
20 | BuildRequires: libdrm-devel | |
21 | BuildRequires: libtool >= 2:2.2 | |
22 | BuildRequires: libva-drm-devel >= 1.1.0 | |
23 | BuildRequires: libva-glx-devel >= 1.0.9 | |
24 | BuildRequires: libva-wayland-devel >= 1.1.0 | |
25 | BuildRequires: libva-x11-devel >= 1.0.3 | |
26 | BuildRequires: pkgconfig | |
27 | # libva API versions | |
28 | BuildRequires: pkgconfig(libva) >= 0.30.4 | |
29 | BuildRequires: pkgconfig(libva-drm) >= 0.33.0 | |
30 | BuildRequires: pkgconfig(libva-glx) >= 0.32.0 | |
31 | BuildRequires: pkgconfig(libva-wayland) >= 0.33.0 | |
32 | BuildRequires: pkgconfig(libva-x11) >= 0.31.0 | |
33 | BuildRequires: udev-devel | |
34 | BuildRequires: wayland-devel >= 1.0.0 | |
35 | BuildRequires: xorg-lib-libX11-devel | |
36 | BuildRequires: xorg-lib-libXrandr-devel | |
37 | Requires: glib2 >= 1:2.28.0 | |
38 | Requires: gstreamer >= 0.10.36 | |
39 | Requires: gstreamer-plugins-bad >= 0.10.22 | |
40 | Requires: gstreamer-plugins-base >= 0.10.31 | |
41 | Requires: libva >= 1.1.0 | |
42 | Requires: wayland >= 1.0.0 | |
43 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
44 | ||
45 | %description | |
46 | gstreamer-vaapi consists in a collection of VA-API based plugins for | |
47 | GStreamer and helper libraries. | |
48 | ||
49 | %description -l pl.UTF-8 | |
50 | gstreamer-vaapi zawiera zestaw opartych ma VA-API wtyczek dla | |
51 | GStreamera i bibliotek pomocniczych. | |
52 | ||
53 | %package devel | |
54 | Summary: Header files for GStreamer 0.10 VA-API libraries | |
55 | Summary(pl.UTF-8): Pliki nagłówkowe bibliotek VA-API GStreamera 0.10 | |
56 | Group: Development/Libraries | |
57 | Requires: %{name} = %{version}-%{release} | |
58 | Requires: gstreamer0.10-devel >= 0.10.36 | |
59 | Requires: gstreamer0.10-plugins-base-devel >= 0.10.31 | |
60 | Requires: libva-drm-devel >= 1.1.0 | |
61 | Requires: libva-glx-devel >= 1.0.9 | |
62 | Requires: libva-wayland-devel >= 1.1.0 | |
63 | Requires: libva-x11-devel >= 1.0.3 | |
64 | ||
65 | %description devel | |
66 | Header files for GStreamer 0.10 VA-API helper libraries. | |
67 | ||
68 | %description devel -l pl.UTF-8 | |
69 | Pliki nagłówkowe bibliotek pomocniczych VA-API GStreamera 0.10. | |
70 | ||
71 | %prep | |
72 | %setup -q -n gstreamer-vaapi-%{version} | |
73 | ||
74 | %build | |
75 | %{__libtoolize} | |
76 | %{__aclocal} | |
77 | %{__autoconf} | |
78 | %{__autoheader} | |
79 | %{__automake} | |
80 | %configure \ | |
81 | --disable-silent-rules \ | |
82 | --disable-static | |
83 | ||
84 | %{__make} | |
85 | ||
86 | %install | |
87 | rm -rf $RPM_BUILD_ROOT | |
88 | ||
89 | %{__make} install \ | |
90 | DESTDIR=$RPM_BUILD_ROOT | |
91 | ||
92 | # gstreamer module | |
93 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/gstreamer-0.10/libgst*.la | |
94 | # obsoleted by pkg-config | |
95 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/libgstvaapi-*.la | |
96 | ||
97 | %clean | |
98 | rm -rf $RPM_BUILD_ROOT | |
99 | ||
97218151 JB |
100 | %post -p /sbin/ldconfig |
101 | %postun -p /sbin/ldconfig | |
102 | ||
cb2845ea JB |
103 | %files |
104 | %defattr(644,root,root,755) | |
105 | %doc AUTHORS NEWS README | |
106 | %attr(755,root,root) %{_libdir}/libgstvaapi-0.10.so.*.*.* | |
107 | %attr(755,root,root) %ghost %{_libdir}/libgstvaapi-0.10.so.0 | |
108 | %attr(755,root,root) %{_libdir}/libgstvaapi-drm-0.10.so.*.*.* | |
109 | %attr(755,root,root) %ghost %{_libdir}/libgstvaapi-drm-0.10.so.0 | |
110 | %attr(755,root,root) %{_libdir}/libgstvaapi-glx-0.10.so.*.*.* | |
111 | %attr(755,root,root) %ghost %{_libdir}/libgstvaapi-glx-0.10.so.0 | |
112 | %attr(755,root,root) %{_libdir}/libgstvaapi-wayland-0.10.so.*.*.* | |
113 | %attr(755,root,root) %ghost %{_libdir}/libgstvaapi-wayland-0.10.so.0 | |
114 | %attr(755,root,root) %{_libdir}/libgstvaapi-x11-0.10.so.*.*.* | |
115 | %attr(755,root,root) %ghost %{_libdir}/libgstvaapi-x11-0.10.so.0 | |
116 | %attr(755,root,root) %{_libdir}/gstreamer-0.10/libgstvaapi.so | |
117 | ||
118 | %files devel | |
119 | %defattr(644,root,root,755) | |
120 | %attr(755,root,root) %{_libdir}/libgstvaapi-0.10.so | |
121 | %attr(755,root,root) %{_libdir}/libgstvaapi-drm-0.10.so | |
122 | %attr(755,root,root) %{_libdir}/libgstvaapi-glx-0.10.so | |
123 | %attr(755,root,root) %{_libdir}/libgstvaapi-wayland-0.10.so | |
124 | %attr(755,root,root) %{_libdir}/libgstvaapi-x11-0.10.so | |
125 | %{_includedir}/gstreamer-0.10/gst/vaapi | |
126 | %{_pkgconfigdir}/gstreamer-vaapi-0.10.pc | |
127 | %{_pkgconfigdir}/gstreamer-vaapi-drm-0.10.pc | |
128 | %{_pkgconfigdir}/gstreamer-vaapi-glx-0.10.pc | |
129 | %{_pkgconfigdir}/gstreamer-vaapi-wayland-0.10.pc | |
130 | %{_pkgconfigdir}/gstreamer-vaapi-x11-0.10.pc |