/[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 252078 - (show annotations) (download)
Thu May 31 08:48:29 2012 UTC (11 years, 10 months ago) by fwang
File size: 2473 byte(s)
fix linkage
1
2 %define name gstreamer0.10-vaapi
3 %define oname gstreamer-vaapi
4 %define version 0.3.6
5 %define rel 1
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://gitorious.org/vaapi/gstreamer-vaapi
17 Source: gstreamer-vaapi-%{version}.tar.gz
18 Patch0: gstreamer-vaapi-0.3.6-ffmpeg0.11.patch
19 Patch1: gstreamer-vaapi-0.3.6-link.patch
20 License: GPLv2+
21 Group: Video
22 BuildRequires: pkgconfig(glib-2.0)
23 BuildRequires: pkgconfig(gstreamer-0.10) >= 0.10.10
24 BuildRequires: pkgconfig(gstreamer-base-0.10) >= 0.10.10
25 BuildRequires: pkgconfig(gstreamer-basevideo-0.10) >= 0.10.22
26 BuildRequires: pkgconfig(gstreamer-interfaces-0.10) >= 0.10.16
27 BuildRequires: pkgconfig(gstreamer-codecparsers-0.10) >= 0.10.10
28 BuildRequires: pkgconfig(gstreamer-plugins-base-0.10) >= 0.10.16
29 BuildRequires: pkgconfig(gstreamer-video-0.10) >= 0.10.10
30 BuildRequires: pkgconfig(libavcodec)
31 BuildRequires: pkgconfig(libva)
32 BuildRequires: pkgconfig(libva-x11)
33 BuildRequires: pkgconfig(x11)
34 BUildRequires: gtk-doc
35
36 %description
37 gstreamer-vaapi consists of a collection of VA-API based plugins for
38 GStreamer and helper libraries, allowing the use of VA-API acceleration
39 in applications that GStreamer for video playback.
40
41 %package -n %{libname}
42 Summary: GStreamer VA-API support libraries
43 License: LGPLv2+
44 Group: System/Libraries
45
46 %description -n %{libname}
47 Helper libraries used by gstreamer0.10-vaapi.
48
49 %package -n %{devname}
50 Summary: Development files for libgstvaapi
51 License: LGPLv2+
52 Group: System/Libraries
53
54 %description -n %{devname}
55 Development files for the libgstvaapi helper libraries.
56
57 %prep
58 %setup -q -n vaapi-gstreamer-vaapi
59 %patch0 -p0
60 %patch1 -p0
61
62 %build
63 NO_CONFIGURE=yes ./autogen.sh
64 %configure2_5x
65 %make V=1
66
67 %install
68 %makeinstall_std
69
70 # unneeded files and static libs
71 rm %{buildroot}%{_libdir}/*/*.la
72 rm %{buildroot}%{_libdir}/*.{la,a}
73
74 %files
75 %defattr(-,root,root)
76 %doc README NEWS AUTHORS
77 %{_libdir}/gstreamer-%{api}/libgstvaapiconvert.so
78 %{_libdir}/gstreamer-%{api}/libgstvaapidecode.so
79 %{_libdir}/gstreamer-%{api}/libgstvaapisink.so
80
81 %files -n %{libname}
82 %defattr(-,root,root)
83 %{_libdir}/libgstvaapi*-%{api}.so.%{major}*
84
85 %files -n %{devname}
86 %defattr(-,root,root)
87 %doc README NEWS AUTHORS
88 %{_includedir}/gstreamer-%{api}/gst/vaapi
89 %{_libdir}/libgstvaapi*-%{api}.so
90 %{_libdir}/pkgconfig/gstreamer-vaapi*-%{api}.pc
91
92

  ViewVC Help
Powered by ViewVC 1.1.30