Patchwork [meta-oe,meta-efl,2/3] meta-efl: add recipes for efl sdk

login
register
mail settings
Submitter Martin Jansa
Date Jan. 25, 2012, 10:06 a.m.
Message ID <ed9120b47c25633476787942662d7e03ab7014c7.1327485929.git.Martin.Jansa@gmail.com>
Download mbox | patch
Permalink /patch/20119/
State Accepted
Commit 92ebbc9571f94fe997fb40d3725d36a752fa2aba
Headers show

Comments

Martin Jansa - Jan. 25, 2012, 10:06 a.m.
From: Nicolas Aguirre <aguirre.nicolas@gmail.com>

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 meta-efl/recipes-core/meta/meta-toolchain-efl.bb   |    6 ++++++
 meta-efl/recipes-efl/tasks/task-efl-sdk.bb         |   15 +++++++++++++++
 meta-efl/recipes-efl/tasks/task-efl-sdk.inc        |   17 +++++++++++++++++
 .../tasks/task-efl-standalone-sdk-target.bb        |   15 +++++++++++++++
 4 files changed, 53 insertions(+), 0 deletions(-)
 create mode 100644 meta-efl/recipes-core/meta/meta-toolchain-efl.bb
 create mode 100644 meta-efl/recipes-efl/tasks/task-efl-sdk.bb
 create mode 100644 meta-efl/recipes-efl/tasks/task-efl-sdk.inc
 create mode 100644 meta-efl/recipes-efl/tasks/task-efl-standalone-sdk-target.bb

Patch

diff --git a/meta-efl/recipes-core/meta/meta-toolchain-efl.bb b/meta-efl/recipes-core/meta/meta-toolchain-efl.bb
new file mode 100644
index 0000000..875d8f8
--- /dev/null
+++ b/meta-efl/recipes-core/meta/meta-toolchain-efl.bb
@@ -0,0 +1,6 @@ 
+TOOLCHAIN_TARGET_EFLTASK ?= "task-efl-standalone-sdk-target task-efl-standalone-sdk-target-dbg"
+TOOLCHAIN_TARGET_TASK = "${TOOLCHAIN_TARGET_EFLTASK}"
+TOOLCHAIN_OUTPUTNAME = "${SDK_NAME}-toolchain-efl-${DISTRO_VERSION}"
+require recipes-core/meta/meta-toolchain.bb
+
+TOOLCHAIN_NEED_CONFIGSITE_CACHE += "zlib"
diff --git a/meta-efl/recipes-efl/tasks/task-efl-sdk.bb b/meta-efl/recipes-efl/tasks/task-efl-sdk.bb
new file mode 100644
index 0000000..5c1a13a
--- /dev/null
+++ b/meta-efl/recipes-efl/tasks/task-efl-sdk.bb
@@ -0,0 +1,15 @@ 
+DESCRIPTION = "Efl Software Development Kit"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \
+                    file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
+
+ALLOW_EMPTY = "1"
+
+require task-efl-sdk.inc
+
+PACKAGES = "${PN}"
+
+RDEPENDS_${PN} = "\
+    task-core-sdk \
+    ${SDK-EFL} \
+    ${SDK-EXTRAS}"
diff --git a/meta-efl/recipes-efl/tasks/task-efl-sdk.inc b/meta-efl/recipes-efl/tasks/task-efl-sdk.inc
new file mode 100644
index 0000000..8f01267
--- /dev/null
+++ b/meta-efl/recipes-efl/tasks/task-efl-sdk.inc
@@ -0,0 +1,17 @@ 
+SDK-EFL = " \
+     eina-dev \
+     eet-dev \
+     evas-dev \
+     embryo-dev \
+     ecore-dev \
+     edbus-dev \
+     lua5.1-dev \
+     edje-dev \
+     elementary-dev \
+    "
+
+SDK-EXTRAS ?= ""
+SDK-EXTRAS_qemux86 ?= " valgrind lttng-ust-dev"
+SDK-EXTRAS_qemux86-64 ?= " lttng-ust-dev"
+SDK-EXTRAS_qemuppc ?= " lttng-ust-dev"
+SDK-EXTRAS_qemuarm ?= " lttng-ust-dev"
diff --git a/meta-efl/recipes-efl/tasks/task-efl-standalone-sdk-target.bb b/meta-efl/recipes-efl/tasks/task-efl-standalone-sdk-target.bb
new file mode 100644
index 0000000..95a66b9
--- /dev/null
+++ b/meta-efl/recipes-efl/tasks/task-efl-standalone-sdk-target.bb
@@ -0,0 +1,15 @@ 
+DESCRIPTION = "Efl Software Development Kit"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \
+                    file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
+
+ALLOW_EMPTY = "1"
+
+require task-efl-sdk.inc
+
+PACKAGES = "${PN} ${PN}-dbg"
+
+RDEPENDS_${PN} = "\
+    task-core-standalone-sdk-target \
+    ${SDK-EFL} \
+    ${SDK-EXTRAS}"