]> git.pld-linux.org Git - packages/gstreamer-openmax.git/blob - gstreamer-openmax.spec
0e72c506d33c2e2eb497e37e6ca983c47414c14d
[packages/gstreamer-openmax.git] / gstreamer-openmax.spec
1 # TODO:
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?
5 %define         gst_ver         1.16.2
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
9 Version:        1.16.2
10 Release:        1
11 License:        LGPL v2.1+
12 Group:          Libraries
13 Source0:        https://gstreamer.freedesktop.org/src/gst-omx/gst-omx-%{version}.tar.xz
14 # Source0-md5:  6362786d2b6cce34de08c86b7847f782
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
29 BuildRequires:  xz
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)
36
37 %description
38 GstOpenMAX is a GStreamer plug-in that allows communication with
39 OpenMAX IL components.
40
41 OpenMAX IL is an industry standard that provides an abstraction layer
42 for computer graphics, video, and sound routines.
43
44 %description -l pl.UTF-8
45 GstOpenMAX to wtyczka GStreamera pozwalająca na komunikację z
46 komponentami OpenMAX IL.
47
48 OpenMAX IL to standard przemysłowy zapewniający warstwę abstrakcji dla
49 funkcji grafiki komputerowej, obrazu i dźwięku komp.
50
51 %prep
52 %setup -q -n gst-omx-%{version}
53
54 %build
55 %{__libtoolize}
56 %{__aclocal} -I m4 -I common/m4
57 %{__autoconf}
58 %{__autoheader}
59 %{__automake}
60 # NOTE: force internal OMX IL headers for now, bellagio doesn't provide OMX_VERSION_* (OMX IL 1.2 required?)
61 %configure \
62         ac_cv_header_OMX_Core_h=no \
63         --disable-silent-rules \
64         --disable-static \
65         --with-omx-target=bellagio
66 %{__make}
67
68 %install
69 rm -rf $RPM_BUILD_ROOT
70
71 %{__make} install \
72         DESTDIR=$RPM_BUILD_ROOT
73
74 %{__rm} $RPM_BUILD_ROOT%{_libdir}/gstreamer-1.0/*.la
75
76 %clean
77 rm -rf $RPM_BUILD_ROOT
78
79 %files
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
This page took 0.080031 seconds and 2 git commands to generate.