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: 2015-4~6274 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=fe297a70c7d6b36a6595534589c71d32209d6a53;p=openembedded-core.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. Signed-off-by: Marko Lindqvist Signed-off-by: Saul Wold --- diff --git a/meta/classes/gnomebase.bbclass b/meta/classes/gnomebase.bbclass index 7539b9dcf8..b29950006a 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"