From 20b9a2052ec41118d3833ced95d758991c1eedf8 Mon Sep 17 00:00:00 2001 From: Martin Jansa Date: Wed, 1 Dec 2010 09:31:05 +0100 Subject: 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 Signed-off-by: Martin Jansa --- classes/e-base.bbclass | 8 ++++++++ classes/e.bbclass | 9 +-------- classes/efl.bbclass | 8 +------- 3 files changed, 10 insertions(+), 15 deletions(-) create mode 100644 classes/e-base.bbclass (limited to 'classes') 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" -- cgit 1.2.3-korg