summaryrefslogtreecommitdiffstats
path: root/classes
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2010-12-01 09:31:05 +0100
committerMartin Jansa <Martin.Jansa@gmail.com>2010-12-02 14:51:12 +0100
commit20b9a2052ec41118d3833ced95d758991c1eedf8 (patch)
treecdeecfa86f901de6d8d95f98f48bc055476f5554 /classes
parente807ac4a39691c3662a6fc0dd6512dbb62c51992 (diff)
downloadopenembedded-20b9a2052ec41118d3833ced95d758991c1eedf8.tar.gz
e-wm,efl: create e-base.bbclass with common settings and EFL_SRCREV
* include it from e.bbclass, efl.bbclass and now also python-efl.inc * also use BPN instead of "${@bb.data.getVar('PN', d, 1).replace('-native', '')}" Acked-by: Klaus Kurzmann <mok@fluxnetz.de> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'classes')
-rw-r--r--classes/e-base.bbclass8
-rw-r--r--classes/e.bbclass9
-rw-r--r--classes/efl.bbclass8
3 files changed, 10 insertions, 15 deletions
diff --git a/classes/e-base.bbclass b/classes/e-base.bbclass
new file mode 100644
index 0000000000..81f6b8a5f1
--- /dev/null
+++ b/classes/e-base.bbclass
@@ -0,0 +1,8 @@
+HOMEPAGE = "http://www.enlightenment.org"
+SRCNAME ?= "${BPN}"
+
+EFL_SRCREV ?= "54714"
+SRC_URI = "svn://svn.enlightenment.org/svn/e/trunk;module=${SRCNAME};proto=http"
+S = "${WORKDIR}/${SRCNAME}"
+
+ARM_INSTRUCTION_SET = "arm"
diff --git a/classes/e.bbclass b/classes/e.bbclass
index 5db0749eef..88a1f6a360 100644
--- a/classes/e.bbclass
+++ b/classes/e.bbclass
@@ -1,13 +1,6 @@
-HOMEPAGE = "http://www.enlightenment.org"
SECTION = "e/apps"
-SRCNAME ?= "${PN}"
-SRC_URI = "svn://svn.enlightenment.org/svn/e/trunk;module=${SRCNAME};proto=http"
-S = "${WORKDIR}/${SRCNAME}"
-
-ARM_INSTRUCTION_SET = "arm"
-
-inherit autotools pkgconfig binconfig
+inherit e-base autotools pkgconfig binconfig
do_prepsources () {
make clean distclean || true
diff --git a/classes/efl.bbclass b/classes/efl.bbclass
index f148e9cfa8..518444e1c5 100644
--- a/classes/efl.bbclass
+++ b/classes/efl.bbclass
@@ -1,17 +1,11 @@
SECTION = "e/libs"
-HOMEPAGE = "http://www.enlightenment.org"
LICENSE = "MIT BSD"
-SRCNAME = "${@bb.data.getVar('PN', d, 1).replace('-native', '')}"
-SRC_URI = "svn://svn.enlightenment.org/svn/e/trunk;module=${SRCNAME};proto=http"
-S = "${WORKDIR}/${SRCNAME}"
DEPENDS += "pkgconfig-native"
# revision 0d93ec84b30bc1bee2caaee72d667f87bc468a70 made SRCDATE and hence PV go backwards, so we need to up PE to unbreak builds and feeds :(
PE = "2"
-ARM_INSTRUCTION_SET = "arm"
-
-inherit autotools
+inherit e-base autotools
# evas-native looks at this var, so keep it
AUTOTOOLS_STAGE_PKGCONFIG = "1"