aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/libgee
diff options
context:
space:
mode:
authorSimon Busch <morphis@gravedo.de>2010-10-13 21:03:03 +0000
committerKhem Raj <raj.khem@gmail.com>2010-10-14 07:53:24 -0700
commit0ce58c8454a93bf9f8e693ca6e2a24278f6825f2 (patch)
treec360219cac63236c152e0aac49ed0f9183548f23 /recipes/libgee
parent1315d3eea6485be950966ec10839bfae0005a0fa (diff)
downloadopenembedded-0ce58c8454a93bf9f8e693ca6e2a24278f6825f2.tar.gz
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@gravedo.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'recipes/libgee')
-rw-r--r--recipes/libgee/libgee.inc1
-rw-r--r--recipes/libgee/libgee_0.5.2.bb2
-rw-r--r--recipes/libgee/libgee_0.6.0.bb2
3 files changed, 4 insertions, 1 deletions
diff --git a/recipes/libgee/libgee.inc b/recipes/libgee/libgee.inc
index 918f45b0a5..5148386004 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 5c9462085f..223537da87 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 41bfce133b..9460e975e0 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}"