diff options
author | Daniel Diaz <ddiaz@ti.com> | 2011-01-13 16:50:19 -0600 |
---|---|---|
committer | Daniel Diaz <ddiaz@ti.com> | 2011-02-22 17:10:02 -0600 |
commit | e716f5a3142edcfd22e7b015383f972a0144e2a1 (patch) | |
tree | 9e7b1a1eeb07ed4a555f64f2d3c18dd5f87abe6c | |
parent | Add ebuild for TILER. (diff) | |
download | pandaboard-e716f5a3142edcfd22e7b015383f972a0144e2a1.tar.gz pandaboard-e716f5a3142edcfd22e7b015383f972a0144e2a1.tar.bz2 pandaboard-e716f5a3142edcfd22e7b015383f972a0144e2a1.zip |
Add ebuilds for Syslink.
Signed-off-by: Daniel Diaz <ddiaz@ti.com>
-rw-r--r-- | media-libs/syslink-d2c/Manifest | 1 | ||||
-rw-r--r-- | media-libs/syslink-d2c/syslink-d2c-24.11_p1-r0.ebuild | 38 | ||||
-rw-r--r-- | media-libs/syslink/Manifest | 2 | ||||
-rw-r--r-- | media-libs/syslink/files/add-missing-libraries-to-linker.patch | 52 | ||||
-rw-r--r-- | media-libs/syslink/syslink-24.11_p1-r0.ebuild | 39 |
5 files changed, 132 insertions, 0 deletions
diff --git a/media-libs/syslink-d2c/Manifest b/media-libs/syslink-d2c/Manifest new file mode 100644 index 0000000..8a6d7ac --- /dev/null +++ b/media-libs/syslink-d2c/Manifest @@ -0,0 +1 @@ +EBUILD syslink-d2c-24.11_p1-r0.ebuild 843 RMD160 bfe6b5ecfb5a6acae52e236dc67b6dfc8f38ff36 SHA1 1370b7482e35cbbde3b7e6e4b79571975b36ec62 SHA256 3ce24272aa527c1fc8daa5f5b1f0076ec58902b46ffda27e5b4806cd4494c591 diff --git a/media-libs/syslink-d2c/syslink-d2c-24.11_p1-r0.ebuild b/media-libs/syslink-d2c/syslink-d2c-24.11_p1-r0.ebuild new file mode 100644 index 0000000..01ed095 --- /dev/null +++ b/media-libs/syslink-d2c/syslink-d2c-24.11_p1-r0.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=2 + +inherit git autotools eutils + +DESCRIPTION="Distributed OpenMAX for OMAP4 processors" +HOMEPAGE="http://dev.omapzoom.org/?p=tisyslink/userspace-syslink.git;a=summary" +DEPEND=">=media-libs/syslink-24.11" +LICENSE="BSD" +KEYWORDS="arm" +SLOT="0" +IUSE="" + +SRC_URI="" +NPV=${PV/_/-}; NPV=${NPV^^} +EGIT_REPO_URI="git://git.omapzoom.org/platform/hardware/ti/syslink.git" +EGIT_BRANCH="syslink-2.0" +# FIXME: Can't use tags? +#EGIT_COMMIT="ti-syslink-mpu-rls-${NPV}" +EGIT_COMMIT="16f0cebd8b5a430d943bc6bcfa0fe592bad425b9" +S="${WORKDIR}/${P}/syslink/d2c" + +src_unpack() { + MY_S="${WORKDIR}/${P}" + S=${MY_S} git_src_unpack +} + +src_prepare() { + cd ${S} && ./bootstrap.sh + eautoreconf +} + +src_install() { + emake install DESTDIR="${D}" +} diff --git a/media-libs/syslink/Manifest b/media-libs/syslink/Manifest new file mode 100644 index 0000000..5e525fc --- /dev/null +++ b/media-libs/syslink/Manifest @@ -0,0 +1,2 @@ +AUX add-missing-libraries-to-linker.patch 1941 RMD160 b3508605749e7b83261a851d836c217f01aeaa65 SHA1 52ecbe1f189f8a3b53cf55463f71a9f64481e5ab SHA256 8ed1ac4ee5318c3420491bb72690b9fdb20f47510e44437c7187cf998bcfd9ee +EBUILD syslink-24.11_p1-r0.ebuild 879 RMD160 0f3f74c0b79f68adcce999ce46d43a4437b04d67 SHA1 90e0825579d887b4eaa6f962f5d802920f8c8de8 SHA256 0faec0c8a51cfb9938bc110018007e4f9a11cb639fca087edacbff27af11d8de diff --git a/media-libs/syslink/files/add-missing-libraries-to-linker.patch b/media-libs/syslink/files/add-missing-libraries-to-linker.patch new file mode 100644 index 0000000..070933b --- /dev/null +++ b/media-libs/syslink/files/add-missing-libraries-to-linker.patch @@ -0,0 +1,52 @@ +From e483e75b27c7cb0bef5d11892963a115689845c8 Mon Sep 17 00:00:00 2001 +From: Daniel Diaz <ddiaz@ti.com> +Date: Fri, 21 Jan 2011 17:03:14 -0600 +Subject: [PATCH] Add missing libraries to linker. + +An undefined symbol appears on run-time: + gst-launch-0.10: symbol lookup error: /usr/lib/libsysmgr.so.0: + undefined symbol: Notify_getConfig + +This is also shown when building with --as-needed during the +linking stage. + +Signed-off-by: Daniel Diaz <ddiaz@ti.com> +--- + syslink/api/src/ipc/Makefile.am | 1 + + syslink/api/src/notify/Makefile.am | 2 +- + syslink/api/src/sysmgr/Makefile.am | 2 +- + 3 files changed, 3 insertions(+), 2 deletions(-) + +diff --git a/syslink/api/src/ipc/Makefile.am b/syslink/api/src/ipc/Makefile.am +index ba698f1..173b334 100644 +--- a/syslink/api/src/ipc/Makefile.am ++++ b/syslink/api/src/ipc/Makefile.am +@@ -59,3 +59,4 @@ libipc_la_LIBTOOLFLAGS = --tag=disable-static + libipc_la_CFLAGS = \ + -I$(PROJROOT)/api/include + ++libipc_la_LDFLAGS = -lipcutils +diff --git a/syslink/api/src/notify/Makefile.am b/syslink/api/src/notify/Makefile.am +index 5c80c78..659fd4f 100644 +--- a/syslink/api/src/notify/Makefile.am ++++ b/syslink/api/src/notify/Makefile.am +@@ -47,5 +47,5 @@ libsyslinknotify_la_CFLAGS = \ + -I$(PROJROOT)/api/include/linux + + libsyslinknotify_la_LIBTOOLFLAGS = --tag=disable-static +-libsyslinknotify_la_LDFLAGS = -version-info 0:0:0 ++libsyslinknotify_la_LDFLAGS = -version-info 0:0:0 -lipc + libsyslinknotify_la_LIBADD = ../../src/utils/libipcutils.la +diff --git a/syslink/api/src/sysmgr/Makefile.am b/syslink/api/src/sysmgr/Makefile.am +index ea958b5..0c5dfbf 100644 +--- a/syslink/api/src/sysmgr/Makefile.am ++++ b/syslink/api/src/sysmgr/Makefile.am +@@ -45,4 +45,4 @@ libsysmgr_la_CFLAGS = \ + -I$(PROJROOT)/api/include + + libsysmgr_la_LIBTOOLFLAGS = --tag=disable-static +-libsysmgr_la_LDFLAGS = -version-info 0:0:0 ++libsysmgr_la_LDFLAGS = -version-info 0:0:0 -lsyslinknotify -lipc -lprocmgr +-- +1.7.3.4 + diff --git a/media-libs/syslink/syslink-24.11_p1-r0.ebuild b/media-libs/syslink/syslink-24.11_p1-r0.ebuild new file mode 100644 index 0000000..578ef58 --- /dev/null +++ b/media-libs/syslink/syslink-24.11_p1-r0.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=2 + +inherit git autotools eutils + +DESCRIPTION="Distributed OpenMAX for OMAP4 processors" +HOMEPAGE="http://dev.omapzoom.org/?p=tisyslink/userspace-syslink.git;a=summary" +DEPEND=">=media-libs/tiler-24.11" +LICENSE="BSD" +KEYWORDS="arm" +SLOT="0" +IUSE="" + +SRC_URI="" +NPV=${PV/_/-}; NPV=${NPV^^} +EGIT_REPO_URI="git://git.omapzoom.org/platform/hardware/ti/syslink.git" +EGIT_BRANCH="syslink-2.0" +# FIXME: Can't use tags? +#EGIT_COMMIT="ti-syslink-mpu-rls-${NPV}" +EGIT_COMMIT="16f0cebd8b5a430d943bc6bcfa0fe592bad425b9" +S="${WORKDIR}/${P}/syslink" + +src_unpack() { + MY_S="${WORKDIR}/${P}" + S=${MY_S} git_src_unpack + cd ${S} + epatch "${FILESDIR}"/add-missing-libraries-to-linker.patch +} + +src_prepare() { + eautoreconf +} + +src_install() { + emake install DESTDIR="${D}" +} |