From: Simon Busch Date: Wed, 13 Oct 2010 21:03:03 +0000 (+0000) Subject: libgee: define common INC_PR and use it in all specific version recipes X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0ce58c8454a93bf9f8e693ca6e2a24278f6825f2;p=openembedded.git 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 Signed-off-by: Khem Raj --- 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}"