2 # - find/wait for OMXIL implementation with OMX_VIDEO_CodingVP8 (requires OpenMAX-IL 1.2 or extension?)
3 # OMX_VIDEO_CodingTheora (not available in raw OpenMAX-IL 1.1.2 or 1.2)
4 # - tizonia as an alternative for bellagio?
6 Summary: GStreamer plug-in that allows communication with OpenMAX IL components
7 Summary(pl.UTF-8): Wtyczka GStreamera pozwalająca na komunikację z komponentami OpenMAX IL
8 Name: gstreamer-openmax
13 Source0: https://gstreamer.freedesktop.org/src/gst-omx/gst-omx-%{version}.tar.xz
14 # Source0-md5: d4d89dd44362c1d262186c60437cdbee
15 URL: https://gstreamer.freedesktop.org/
16 BuildRequires: autoconf >= 2.62
17 BuildRequires: automake >= 1:1.11
18 BuildRequires: glib2-devel >= 1:2.40.0
19 BuildRequires: gstreamer-devel >= %{gst_ver}
20 BuildRequires: gstreamer-gl-devel >= %{gst_ver}
21 BuildRequires: gstreamer-plugins-base-devel
22 BuildRequires: gtk-doc >= 1.3
23 # currently internal headers used (last bellagio release misses some defines)
24 #BuildRequires: libomxil-bellagio-devel
25 BuildRequires: libtool >= 2:2.2.6
26 BuildRequires: pkgconfig
27 BuildRequires: python >= 2.1
28 BuildRequires: tar >= 1:1.22
30 # EGL-devel, OpenGL-GLESv2-devel, xorg-lib-libX11-devel for examples only
31 Requires: glib2 >= 1:2.40.0
32 Requires: gstreamer >= %{gst_ver}
33 Requires: gstreamer-gl-libs >= %{gst_ver}
34 Requires: libomxil-bellagio
35 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
38 GstOpenMAX is a GStreamer plug-in that allows communication with
39 OpenMAX IL components.
41 OpenMAX IL is an industry standard that provides an abstraction layer
42 for computer graphics, video, and sound routines.
44 %description -l pl.UTF-8
45 GstOpenMAX to wtyczka GStreamera pozwalająca na komunikację z
46 komponentami OpenMAX IL.
48 OpenMAX IL to standard przemysłowy zapewniający warstwę abstrakcji dla
49 funkcji grafiki komputerowej, obrazu i dźwięku komp.
52 %setup -q -n gst-omx-%{version}
56 %{__aclocal} -I m4 -I common/m4
60 # NOTE: force internal OMX IL headers for now, bellagio doesn't provide OMX_VERSION_* (OMX IL 1.2 required?)
62 ac_cv_header_OMX_Core_h=no \
63 --disable-silent-rules \
65 --with-omx-target=bellagio
69 rm -rf $RPM_BUILD_ROOT
72 DESTDIR=$RPM_BUILD_ROOT
74 %{__rm} $RPM_BUILD_ROOT%{_libdir}/gstreamer-1.0/*.la
77 rm -rf $RPM_BUILD_ROOT
80 %defattr(644,root,root,755)
81 %doc AUTHORS ChangeLog NEWS README RELEASE
82 %attr(755,root,root) %{_libdir}/gstreamer-1.0/libgstomx.so
83 %config(noreplace) %verify(not md5 mtime size) /etc/xdg/gstomx.conf