]> git.pld-linux.org Git - packages/gstreamer-openmax.git/blob - gstreamer-openmax.spec
d31c0a5f24e62b252ea6ee73b7facdd45addcc13
[packages/gstreamer-openmax.git] / gstreamer-openmax.spec
1 # TODO: find/wait for OMXIL implementation with OMX_VIDEO_CodingVP8, OMX_VIDEO_CodingTheora
2 # (not available in raw OpenMAX-IL 1.1.2)
3 %include        /usr/lib/rpm/macros.gstreamer
4 Summary:        GStreamer plug-in that allows communication with OpenMAX IL components
5 Summary(pl.UTF-8):      Wtyczka GStreamera pozwalająca na komunikację z komponentami OpenMAX IL
6 Name:           gstreamer-openmax
7 Version:        1.12.0
8 Release:        1
9 License:        LGPL v2.1+
10 Group:          Libraries
11 Source0:        http://gstreamer.freedesktop.org/src/gst-omx/gst-omx-%{version}.tar.xz
12 # Source0-md5:  eaf9505c7acb9b96215cb0ff775d278d
13 URL:            http://gstreamer.net/
14 BuildRequires:  autoconf >= 2.62
15 BuildRequires:  automake >= 1:1.11
16 BuildRequires:  glib2-devel >= 1:2.40.0
17 BuildRequires:  gstreamer-devel >= 1.12.0
18 # gstreamer-gl (only for OpenMAX IL RPI target and noinst example)
19 #BuildRequires: gstreamer-plugins-bad-devel >= 1.12.0
20 BuildRequires:  gtk-doc >= 1.3
21 # currently internal headers used (last bellagio release misses some defines)
22 #BuildRequires: libomxil-bellagio-devel
23 BuildRequires:  libtool
24 BuildRequires:  pkgconfig
25 BuildRequires:  python >= 2.1
26 BuildRequires:  tar >= 1:1.22
27 BuildRequires:  xz
28 Requires:       glib2 >= 1:2.40.0
29 Requires:       gstreamer >= 1.12.0
30 Requires:       libomxil-bellagio
31 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32
33 %description
34 GstOpenMAX is a GStreamer plug-in that allows communication with
35 OpenMAX IL components.
36
37 OpenMAX IL is an industry standard that provides an abstraction layer
38 for computer graphics, video, and sound routines.
39
40 %description -l pl.UTF-8
41 GstOpenMAX to wtyczka GStreamera pozwalająca na komunikację z
42 komponentami OpenMAX IL.
43
44 OpenMAX IL to standard przemysłowy zapewniający warstwę abstrakcji dla
45 funkcji grafiki komputerowej, obrazu i dźwięku komp.
46
47 %prep
48 %setup -q -n gst-omx-%{version}
49
50 %build
51 %{__libtoolize}
52 %{__aclocal} -I m4 -I common/m4
53 %{__autoconf}
54 %{__autoheader}
55 %{__automake}
56 # NOTE: force internal OMX IL headers for now, bellagio doesn't provide OMX_VERSION_*
57 %configure \
58         ac_cv_header_OMX_Core_h=no \
59         --disable-silent-rules \
60         --disable-static \
61         --with-omx-target=bellagio
62 %{__make}
63
64 %install
65 rm -rf $RPM_BUILD_ROOT
66
67 %{__make} install \
68         DESTDIR=$RPM_BUILD_ROOT
69
70 %{__rm} $RPM_BUILD_ROOT%{_libdir}/gstreamer-1.0/*.la
71
72 %clean
73 rm -rf $RPM_BUILD_ROOT
74
75 %files
76 %defattr(644,root,root,755)
77 %doc AUTHORS ChangeLog NEWS README RELEASE
78 %attr(755,root,root) %{_libdir}/gstreamer-1.0/libgstomx.so
79 %config(noreplace) %verify(not md5 mtime size) /etc/xdg/gstomx.conf
This page took 0.074916 seconds and 2 git commands to generate.