[oe] [PATCH 1/2] libgee: define common INC_PR and use it in all specific version recipes
Simon Busch
morphis at gravedo.de
Thu Oct 14 07:03:03 UTC 2010
Until now there is now way to indicate that the libgee.inc common part of libgee has
changed - the PR is only defined in the specific version recipes. This adds the INC_PR var
to to the common libgee.inc and use it in the specific version recipes.
INC_PR is initial set to the highest value of both version 0.5.2 and 0.6.0.
Signed-off-by: Simon Busch <morphis at gravedo.de>
---
recipes/libgee/libgee.inc | 1 +
recipes/libgee/libgee_0.5.2.bb | 2 ++
recipes/libgee/libgee_0.6.0.bb | 2 +-
3 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/recipes/libgee/libgee.inc b/recipes/libgee/libgee.inc
index 918f45b..5148386 100644
--- a/recipes/libgee/libgee.inc
+++ b/recipes/libgee/libgee.inc
@@ -5,6 +5,7 @@ SECTION = "libs"
DEPENDS = "glib-2.0 gobject-introspection"
BBCLASSEXTEND = "native"
LICENSE = "LGPL"
+INC_PR = "r4"
PE = "1"
inherit autotools vala
diff --git a/recipes/libgee/libgee_0.5.2.bb b/recipes/libgee/libgee_0.5.2.bb
index 5c94620..223537d 100644
--- a/recipes/libgee/libgee_0.5.2.bb
+++ b/recipes/libgee/libgee_0.5.2.bb
@@ -1,4 +1,6 @@
require libgee.inc
+
+PR = "${INC_PR}.0"
PE = "1"
SRC_URI = "http://ftp.gnome.org/pub/GNOME/sources/libgee/0.5/${BPN}-${PV}.tar.bz2"
diff --git a/recipes/libgee/libgee_0.6.0.bb b/recipes/libgee/libgee_0.6.0.bb
index 41bfce1..9460e97 100644
--- a/recipes/libgee/libgee_0.6.0.bb
+++ b/recipes/libgee/libgee_0.6.0.bb
@@ -1,6 +1,6 @@
require libgee.inc
PE = "1"
-PR = "r3"
+PR = "${INC_PR}.0"
SRC_URI = "http://ftp.gnome.org/pub/GNOME/sources/libgee/0.6/${BPN}-${PV}.tar.bz2"
S = "${WORKDIR}/${BPN}-${PV}"
--
1.7.1
More information about the Openembedded-devel
mailing list