summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChí-Thanh Christopher Nguyễn <chithanh@gentoo.org>2014-02-12 17:19:56 +0000
committerChí-Thanh Christopher Nguyễn <chithanh@gentoo.org>2014-02-12 17:19:56 +0000
commite1066e31dd669d4a76c35e87e9428bf92ecd4921 (patch)
treed84e9e2a5b23a64378ba3be3e51316877675d92f /media-libs/libomxil-bellagio
parentUse epatch_user wrt #498958 by Manuel Nickschas (diff)
downloadgentoo-2-e1066e31dd669d4a76c35e87e9428bf92ecd4921.tar.gz
gentoo-2-e1066e31dd669d4a76c35e87e9428bf92ecd4921.tar.bz2
gentoo-2-e1066e31dd669d4a76c35e87e9428bf92ecd4921.zip
initial commit for bug #191149.
(Portage version: 2.2.7/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'media-libs/libomxil-bellagio')
-rw-r--r--media-libs/libomxil-bellagio/ChangeLog12
-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
-rw-r--r--media-libs/libomxil-bellagio/libomxil-bellagio-0.9.3.ebuild44
-rw-r--r--media-libs/libomxil-bellagio/metadata.xml10
6 files changed, 117 insertions, 0 deletions
diff --git a/media-libs/libomxil-bellagio/ChangeLog b/media-libs/libomxil-bellagio/ChangeLog
new file mode 100644
index 000000000000..6a063135e4ef
--- /dev/null
+++ b/media-libs/libomxil-bellagio/ChangeLog
@@ -0,0 +1,12 @@
+# ChangeLog for media-libs/libomxil-bellagio
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libomxil-bellagio/ChangeLog,v 1.1 2014/02/12 17:19:56 chithanh Exp $
+
+*libomxil-bellagio-0.9.3 (12 Feb 2014)
+
+ 12 Feb 2014; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
+ +files/libomxil-bellagio-0.9.3-dynamicloader-linking.patch,
+ +files/libomxil-bellagio-0.9.3-parallel-build.patch,
+ +files/libomxil-bellagio-0.9.3-version.patch, +libomxil-bellagio-0.9.3.ebuild,
+ +metadata.xml:
+ initial commit for bug #191149.
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
diff --git a/media-libs/libomxil-bellagio/libomxil-bellagio-0.9.3.ebuild b/media-libs/libomxil-bellagio/libomxil-bellagio-0.9.3.ebuild
new file mode 100644
index 000000000000..21e4d1b7d627
--- /dev/null
+++ b/media-libs/libomxil-bellagio/libomxil-bellagio-0.9.3.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libomxil-bellagio/libomxil-bellagio-0.9.3.ebuild,v 1.1 2014/02/12 17:19:56 chithanh Exp $
+
+EAPI=5
+XORG_MULTILIB=yes
+XORG_EAUTORECONF=yes
+
+inherit xorg-2
+
+DESCRIPTION="An Open Source implementation of the OpenMAX Integration Layer"
+HOMEPAGE="http://omxil.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN:3:5}/${P}.tar.gz mirror://ubuntu/pool/universe/${PN:0:4}/${PN}/${PN}_${PV}-1ubuntu2.debian.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+audioeffects +clocksrc debug doc +videoscheduler"
+
+RDEPEND=""
+DEPEND="doc? ( app-doc/doxygen )
+ ${RDEPEND}"
+
+src_prepare() {
+ PATCHES=(
+ "${WORKDIR}"/debian/patches/*.patch
+ "${FILESDIR}"/${P}-dynamicloader-linking.patch
+ "${FILESDIR}"/${P}-parallel-build.patch
+ "${FILESDIR}"/${P}-version.patch
+ )
+ xorg-2_src_prepare
+}
+
+src_configure() {
+ XORG_CONFIGURE_OPTIONS="
+ --docdir="${EPREFIX}"/usr/share/doc/${PF} \
+ $(use_enable audioeffects) \
+ $(use_enable clocksrc) \
+ $(use_enable debug) \
+ $(use_enable doc) \
+ $(use_enable videoscheduler)
+ "
+ xorg-2_src_configure
+}
diff --git a/media-libs/libomxil-bellagio/metadata.xml b/media-libs/libomxil-bellagio/metadata.xml
new file mode 100644
index 000000000000..fa7e3a658cfe
--- /dev/null
+++ b/media-libs/libomxil-bellagio/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>x11</herd>
+<use>
+ <flag name='audioeffects'>enable audio volume/mixer effects components</flag>
+ <flag name='clocksrc'>enable clock component</flag>
+ <flag name='videoscheduler'>enable xvideosink video scheduler</flag>
+</use>
+</pkgmetadata>