summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChí-Thanh Christopher Nguyễn <chithanh@gentoo.org>2014-02-12 17:20:03 +0000
committerChí-Thanh Christopher Nguyễn <chithanh@gentoo.org>2014-02-12 17:20:03 +0000
commit9cf9eb16e303aa07fe0096ce1a52fba991443768 (patch)
treeb3004c975ba3075595618a01f566ec384e54ea99 /media-libs/libomxil-bellagio/files
parentUse epatch_user wrt #498958 by Manuel Nickschas (diff)
downloadhistorical-9cf9eb16e303aa07fe0096ce1a52fba991443768.tar.gz
historical-9cf9eb16e303aa07fe0096ce1a52fba991443768.tar.bz2
historical-9cf9eb16e303aa07fe0096ce1a52fba991443768.zip
initial commit for bug #191149.
Package-Manager: portage-2.2.7/cvs/Linux x86_64
Diffstat (limited to 'media-libs/libomxil-bellagio/files')
-rw-r--r--media-libs/libomxil-bellagio/files/libomxil-bellagio-0.9.3-dynamicloader-linking.patch14
-rw-r--r--media-libs/libomxil-bellagio/files/libomxil-bellagio-0.9.3-parallel-build.patch16
-rw-r--r--media-libs/libomxil-bellagio/files/libomxil-bellagio-0.9.3-version.patch21
3 files changed, 51 insertions, 0 deletions
diff --git a/media-libs/libomxil-bellagio/files/libomxil-bellagio-0.9.3-dynamicloader-linking.patch b/media-libs/libomxil-bellagio/files/libomxil-bellagio-0.9.3-dynamicloader-linking.patch
new file mode 100644
index 000000000000..a4d5b1522372
--- /dev/null
+++ b/media-libs/libomxil-bellagio/files/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/media-libs/libomxil-bellagio/files/libomxil-bellagio-0.9.3-parallel-build.patch b/media-libs/libomxil-bellagio/files/libomxil-bellagio-0.9.3-parallel-build.patch
new file mode 100644
index 000000000000..767bbeb2aacf
--- /dev/null
+++ b/media-libs/libomxil-bellagio/files/libomxil-bellagio-0.9.3-parallel-build.patch
@@ -0,0 +1,16 @@
+Fix dependency issue to allow parallel build
+
+Signed-off-by: Qais Yousef <qais.yousef@imgtec.com>
+
+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/media-libs/libomxil-bellagio/files/libomxil-bellagio-0.9.3-version.patch b/media-libs/libomxil-bellagio/files/libomxil-bellagio-0.9.3-version.patch
new file mode 100644
index 000000000000..8aa18ac6a993
--- /dev/null
+++ b/media-libs/libomxil-bellagio/files/libomxil-bellagio-0.9.3-version.patch
@@ -0,0 +1,21 @@
+--- include/OMX_Types.h.orig 2011-01-12 08:53:26.000000000 +0100
++++ include/OMX_Types.h 2013-02-25 09:53:55.000000000 +0100
+@@ -314,6 +314,18 @@
+ * platform & operating specific object used to reference the window */
+ typedef void* OMX_NATIVE_WINDOWTYPE;
+
++
++/** Define the OMX IL version that corresponds to this set of header files.
++ * We also define a combined version that can be used to write or compare
++ * values of the 32bit nVersion field, assuming a little endian architecture */
++#define OMX_VERSION_MAJOR 1
++#define OMX_VERSION_MINOR 1
++#define OMX_VERSION_REVISION 2
++#define OMX_VERSION_STEP 0
++
++#define OMX_VERSION ((OMX_VERSION_STEP<<24) | (OMX_VERSION_REVISION<<16) | (OMX_VERSION_MINOR<<8) | OMX_VERSION_MAJOR)
++
++
+ /** The OMX_VERSIONTYPE union is used to specify the version for
+ a structure or component. For a component, the version is entirely
+ specified by the component vendor. Components doing the same function