]> code.ossystems Code Review - openembedded-core.git/commitdiff
gnomebase.bbclass: add support for archive name different from BPN
authorMarko Lindqvist <cazfi74@gmail.com>
Thu, 6 Jun 2013 21:44:36 +0000 (00:44 +0300)
committerSaul Wold <sgw@linux.intel.com>
Mon, 10 Jun 2013 21:51:25 +0000 (14:51 -0700)
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>
meta/classes/gnomebase.bbclass

index 7539b9dcf8bfebb1b7ca85251ec86513706e74ea..b29950006a98f69c1c0a3684d2a0a60bd008c65a 100644 (file)
@@ -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"