Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] gnomebase: add GNOME_COMPRESS_TYPE variable
@ 2012-06-06  5:34 Saul Wold
  2012-06-06 10:46 ` Burton, Ross
  0 siblings, 1 reply; 6+ messages in thread
From: Saul Wold @ 2012-06-06  5:34 UTC (permalink / raw)
  To: openembedded-core

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>
---
 meta/classes/gnomebase.bbclass |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/meta/classes/gnomebase.bbclass b/meta/classes/gnomebase.bbclass
index a4209a0..80b78be 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"
 
-- 
1.7.7.6




^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-06-12  9:27 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-06  5:34 [PATCH] gnomebase: add GNOME_COMPRESS_TYPE variable Saul Wold
2012-06-06 10:46 ` Burton, Ross
2012-06-06 15:38   ` Saul Wold
2012-06-06 17:51     ` Koen Kooi
2012-06-06 23:22       ` Richard Purdie
2012-06-12  9:16     ` Burton, Ross

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox