[oe-commits] Simon Busch : libgee: define common INC_PR and use it in all specific version recipes

git version control git at git.openembedded.org
Thu Oct 14 14:58:07 UTC 2010


Module: openembedded.git
Branch: master
Commit: 0ce58c8454a93bf9f8e693ca6e2a24278f6825f2
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=0ce58c8454a93bf9f8e693ca6e2a24278f6825f2

Author: Simon Busch <morphis at gravedo.de>
Date:   Wed Oct 13 21:03:03 2010 +0000

libgee: define common INC_PR and use it in all specific version recipes

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>
Signed-off-by: Khem Raj <raj.khem at gmail.com>

---

 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}"





More information about the Openembedded-commits mailing list