From: Marko Lindqvist Date: Thu, 6 Jun 2013 21:44:36 +0000 (+0300) Subject: gnomebase.bbclass: add support for archive name different from BPN X-Git-Tag: rev_ivi_2015_02_04~12253 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=be54dca7dc92e137a8cc08415a3bb36dfba4fc19;p=scm%2Fbb%2Ftizen-distro.git gnomebase.bbclass: add support for archive name different from BPN Use new variable GNOMEBN, defaulting to value of BPN, instead of BPN directly when determining URL for source archive. (From OE-Core rev: fe297a70c7d6b36a6595534589c71d32209d6a53) Signed-off-by: Marko Lindqvist Signed-off-by: Saul Wold Signed-off-by: Richard Purdie --- diff --git a/meta/classes/gnomebase.bbclass b/meta/classes/gnomebase.bbclass index 7539b9d..b299500 100644 --- a/meta/classes/gnomebase.bbclass +++ b/meta/classes/gnomebase.bbclass @@ -3,7 +3,8 @@ def gnome_verdir(v): GNOME_COMPRESS_TYPE ?= "bz2" SECTION ?= "x11/gnome" -SRC_URI = "${GNOME_MIRROR}/${BPN}/${@gnome_verdir("${PV}")}/${BPN}-${PV}.tar.${GNOME_COMPRESS_TYPE};name=archive" +GNOMEBN ?= "${BPN}" +SRC_URI = "${GNOME_MIRROR}/${GNOMEBN}/${@gnome_verdir("${PV}")}/${GNOMEBN}-${PV}.tar.${GNOME_COMPRESS_TYPE};name=archive" DEPENDS += "gnome-common-native"