summaryrefslogtreecommitdiff
path: root/meta/classes
diff options
context:
space:
mode:
authorMarko Lindqvist <cazfi74@gmail.com>2013-06-07 00:44:36 +0300
committerSaul Wold <sgw@linux.intel.com>2013-06-10 14:51:25 -0700
commitfe297a70c7d6b36a6595534589c71d32209d6a53 (patch)
tree2dbcc8752637e0c234b5940efef6faab03a1c95e /meta/classes
parent2341c0b801b62d0249567806a70d9a38f4dfe17f (diff)
downloadopenembedded-core-fe297a70c7d6b36a6595534589c71d32209d6a53.tar.gz
openembedded-core-fe297a70c7d6b36a6595534589c71d32209d6a53.tar.bz2
openembedded-core-fe297a70c7d6b36a6595534589c71d32209d6a53.zip
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 <cazfi74@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/gnomebase.bbclass3
1 files changed, 2 insertions, 1 deletions
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"