/[packages]/cauldron/gstreamer0.10-vaapi/current/SPECS/gstreamer0.10-vaapi.spec
ViewVC logotype

Contents of /cauldron/gstreamer0.10-vaapi/current/SPECS/gstreamer0.10-vaapi.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 113092 - (show annotations) (download)
Fri Jun 24 08:39:57 2011 UTC (12 years, 9 months ago) by fwang
File size: 2105 byte(s)
rebuild for new ffmpeg
1
2 %define name gstreamer0.10-vaapi
3 %define oname gstreamer-vaapi
4 %define version 0.2.5
5 %define rel 3
6
7 %define api 0.10
8 %define major 0
9 %define libname %mklibname gstvaapi %api %major
10 %define devname %mklibname -d gstvaapi %api
11
12 Summary: VA-API support for GStreamer
13 Name: %{name}
14 Version: %{version}
15 Release: %mkrel %rel
16 URL: http://www.splitted-desktop.com/~gbeauchesne/gstreamer-vaapi/
17 Source: http://www.splitted-desktop.com/~gbeauchesne/gstreamer-vaapi/gstreamer-vaapi-%{version}.tar.gz
18 Patch0: gstreamer-vaapi-underlinking.patch
19 License: GPLv2+
20 Group: Video
21 BuildRoot: %{_tmppath}/%{name}-root
22 BuildRequires: libgstreamer-devel
23 BuildRequires: libgstreamer-plugins-base-devel
24 BuildRequires: libva-devel
25 BuildRequires: ffmpeg-devel
26 BUildRequires: gtk-doc
27
28 %description
29 gstreamer-vaapi consists of a collection of VA-API based plugins for
30 GStreamer and helper libraries, allowing the use of VA-API acceleration
31 in applications that GStreamer for video playback.
32
33 %package -n %{libname}
34 Summary: GStreamer VA-API support libraries
35 License: LGPLv2+
36 Group: System/Libraries
37
38 %description -n %{libname}
39 Helper libraries used by gstreamer0.10-vaapi.
40
41 %package -n %{devname}
42 Summary: Development files for libgstvaapi
43 License: LGPLv2+
44 Group: System/Libraries
45
46 %description -n %{devname}
47 Development files for the libgstvaapi helper libraries.
48
49 %prep
50 %setup -q -n %{oname}-%{version}
51 %apply_patches
52
53 %build
54 autoreconf -if
55 %configure2_5x
56 %make
57
58 %install
59 rm -rf %{buildroot}
60 %makeinstall_std
61
62 # unneeded files and static libs
63 rm %{buildroot}%{_libdir}/*/*.la
64 rm %{buildroot}%{_libdir}/*.{la,a}
65
66 %clean
67 rm -rf %{buildroot}
68
69 %files
70 %defattr(-,root,root)
71 %doc README NEWS AUTHORS
72 %{_libdir}/gstreamer-%{api}/libgstvaapiconvert.so
73 %{_libdir}/gstreamer-%{api}/libgstvaapidecode.so
74 %{_libdir}/gstreamer-%{api}/libgstvaapisink.so
75
76 %files -n %{libname}
77 %defattr(-,root,root)
78 %{_libdir}/libgstvaapi*-%{api}.so.%{major}*
79
80 %files -n %{devname}
81 %defattr(-,root,root)
82 %doc README NEWS AUTHORS
83 %{_includedir}/gstreamer-%{api}/gst/vaapi
84 %{_libdir}/libgstvaapi*-%{api}.so
85 %{_libdir}/pkgconfig/gstreamer-vaapi*-%{api}.pc
86
87

  ViewVC Help
Powered by ViewVC 1.1.30