diff --git a/README.md b/README.md index 83c3654..08b51e8 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,5 @@ # libomxil-bellagio +The OpenMAX IL API defines a standardized media component interface to enable developers and platform providers to integrate and communicate with multimedia codecs implemented in hardware or software. +The libomxil shared library implements the OpenMAX IL Core functionalities. Four dynamically loadable components are also included: OMX volume control, OMX audio mixer (up to 4 inputs), a video scheduler component for uncompressed video streams and a clock component + diff --git a/libomxil-bellagio-0.9.3-dynamicloader-linking.patch b/libomxil-bellagio-0.9.3-dynamicloader-linking.patch new file mode 100644 index 0000000..a4d5b15 --- /dev/null +++ b/libomxil-bellagio-0.9.3-dynamicloader-linking.patch @@ -0,0 +1,14 @@ +diff -ur a/src/dynamic_loader/Makefile.am b/src/dynamic_loader/Makefile.am +--- a/src/dynamic_loader/Makefile.am 2011-05-20 07:28:17.000000000 +0200 ++++ b/src/dynamic_loader/Makefile.am 2014-02-12 17:55:26.842794130 +0100 +@@ -3,8 +3,9 @@ + omxdynamicloader_LTLIBRARIES = libomxdynamicloader.la + libomxdynamicloader_la_SOURCES = ste_dynamic_component_loader.c ste_dynamic_component_loader.h + +-libomxdynamicloader_la_LDFLAGS = ++libomxdynamicloader_la_LDFLAGS = -lomxil-bellagio -L$(top_builddir)/src/.libs + libomxdynamicloader_la_CFLAGS = -I$(top_srcdir)/include \ + -I$(top_srcdir)/src \ + -I$(top_srcdir)/src/base \ + -DOMX_COMPONENT_PATH=\"$(plugindir)\/\" ++libomxdynamicloader_la_DEPENDENCIES = ../libomxil-bellagio.la diff --git a/libomxil-bellagio-0.9.3-gcc-4.9.patch b/libomxil-bellagio-0.9.3-gcc-4.9.patch new file mode 100644 index 0000000..c3d0182 --- /dev/null +++ b/libomxil-bellagio-0.9.3-gcc-4.9.patch @@ -0,0 +1,11 @@ +--- libomxil-bellagio-0.9.3/configure.ac.orig 2014-09-19 01:22:03.708767504 +0200 ++++ libomxil-bellagio-0.9.3/configure.ac 2014-09-19 01:22:12.067763554 +0200 +@@ -5,7 +5,7 @@ + AC_PREREQ([2.59]) + + AC_CONFIG_HEADERS([config.h]) +-CFLAGS="${CFLAGS} -Wall -Werror" ++CFLAGS="${CFLAGS} -Wall" + + ################################################################################ + # Set the shared versioning info, according to section 6.3 of the libtool info # diff --git a/libomxil-bellagio-0.9.3-parallel-build.patch b/libomxil-bellagio-0.9.3-parallel-build.patch new file mode 100644 index 0000000..767bbeb --- /dev/null +++ b/libomxil-bellagio-0.9.3-parallel-build.patch @@ -0,0 +1,16 @@ +Fix dependency issue to allow parallel build + +Signed-off-by: Qais Yousef + +Index: bellagio-0.9.3/src/Makefile.am +=================================================================== +--- bellagio-0.9.3.orig/src/Makefile.am ++++ bellagio-0.9.3/src/Makefile.am +@@ -8,6 +8,7 @@ omxregister_bellagio_SOURCES = omxregist + omxregister_bellagio_CFLAGS = -DOMXILCOMPONENTSPATH=\"$(plugindir)/\" \ + -I$(top_srcdir)/include + omxregister_bellagio_LDFLAGS = -lomxil-bellagio -L$(builddir) ++omxregister_bellagio_DEPENDENCIES = libomxil-bellagio.la + + lib_LTLIBRARIES = libomxil-bellagio.la + libomxil_bellagio_la_SOURCES = component_loader.h \ diff --git a/libomxil-bellagio.spec b/libomxil-bellagio.spec new file mode 100644 index 0000000..1e30bf2 --- /dev/null +++ b/libomxil-bellagio.spec @@ -0,0 +1,92 @@ +%define il_api 1.1.2 +Name: libomxil-bellagio +Version: 0.9.3 +Release: 1mamba +Summary: Bellagio OpenMAX Integration Layer %{il_api} library and components +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://omxil.sourceforge.net/ +Source: http://downloads.sourceforge.net/project/omxil/omxil/Bellagio%20%{version}/libomxil-bellagio-%{version}.tar.gz +Patch0: libomxil-bellagio-0.9.3-parallel-build.patch +Patch1: libomxil-bellagio-0.9.3-dynamicloader-linking.patch +Patch2: libomxil-bellagio-0.9.3-gcc-4.9.patch +License: LGPL +BuildRequires: doxygen +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +The OpenMAX IL API defines a standardized media component interface to enable developers and platform providers to integrate and communicate with multimedia codecs implemented in hardware or software. +The libomxil shared library implements the OpenMAX IL Core functionalities. Four dynamically loadable components are also included: OMX volume control, OMX audio mixer (up to 4 inputs), a video scheduler component for uncompressed video streams and a clock component + +%package devel +Summary: Devel package for %{name} +Group: Development/Libraries +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description devel +Bellagio is an opensource implementation of the Khronos OpenMAX Integration Layer API to access multimedia components. +This package contains static libraries and header files need for development. + +%prep +%setup -q +%patch0 -p1 +%patch1 -p1 +%patch2 -p1 + +%build +autoreconf +%configure +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall \ + docdir=%{_defaultdocdir}/libomxil-bellagio + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%{_bindir}/omxregister-bellagio +%{_libdir}/bellagio/libomx*.*a +%{_libdir}/bellagio/libomx*.so +%{_libdir}/bellagio/libomx*.so.* +%dir %{_libdir}/omxloaders +%{_libdir}/omxloaders/libomxdynamicloader.a +%{_libdir}/omxloaders/libomxdynamicloader.la +%{_libdir}/omxloaders/libomxdynamicloader.so +%{_libdir}/omxloaders/libomxdynamicloader.so.* +%{_libdir}/libomxil-bellagio.so.* +%{_mandir}/man1/omxregister-bellagio.1* +%doc AUTHORS COPYING + +%files devel +%defattr(-,root,root) +%{_includedir}/*.h +%dir %{_includedir}/bellagio +%{_includedir}/bellagio/*.h +%{_libdir}/libomxil-bellagio.a +%{_libdir}/libomxil-bellagio.la +%{_libdir}/libomxil-bellagio.so +%{_libdir}/pkgconfig/libomxil-bellagio.pc +%dir %{_defaultdocdir}/libomxil-bellagio +%{_defaultdocdir}/libomxil-bellagio/ChangeLog +%{_defaultdocdir}/libomxil-bellagio/README +%{_defaultdocdir}/libomxil-bellagio/TODO +%doc NEWS + +%changelog +* Fri Sep 19 2014 Silvan Calarco 0.9.3-1mamba +- update to 0.9.3 + +* Sat Sep 04 2010 gil 0.9.2.1-1mamba +- package created by autospec