summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorSaul Wold <sgw@linux.intel.com>2012-06-05 22:34:22 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-06-12 10:58:07 +0100
commit0eddc176e73e74d4b1a7d3163d65f619fcd4baf0 (patch)
tree47dbbe8da7cb346f17a2305efd9b5b6b8f93fbef /meta
parentba22e4fcf07eb8007f6d500908d503f1d3dbdd16 (diff)
downloadopenembedded-core-0eddc176e73e74d4b1a7d3163d65f619fcd4baf0.tar.gz
openembedded-core-0eddc176e73e74d4b1a7d3163d65f619fcd4baf0.tar.bz2
openembedded-core-0eddc176e73e74d4b1a7d3163d65f619fcd4baf0.zip
gnomebase: add GNOME_COMPRESS_TYPE variable
Upstream Gnome projects are starting to migrate to the .xz compress format, so we need to add this to allow recipes to override the default of .bz2 as the upstreams make the transition. [YOCTO #2241] Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-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 a4209a0289..80b78be48d 100644
--- a/meta/classes/gnomebase.bbclass
+++ b/meta/classes/gnomebase.bbclass
@@ -3,8 +3,9 @@ def gnome_verdir(v):
m = re.match("^([0-9]+)\.([0-9]+)", v)
return "%s.%s" % (m.group(1), m.group(2))
+GNOME_COMPRESS_TYPE ?= "bz2"
SECTION ?= "x11/gnome"
-SRC_URI = "${GNOME_MIRROR}/${BPN}/${@gnome_verdir("${PV}")}/${BPN}-${PV}.tar.bz2;name=archive"
+SRC_URI = "${GNOME_MIRROR}/${BPN}/${@gnome_verdir("${PV}")}/${BPN}-${PV}.tar.${GNOME_COMPRESS_TYPE};name=archive"
DEPENDS += "gnome-common"