summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSaul Wold <sgw@linux.intel.com>2012-06-06 05:34:22 (GMT)
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-06-12 09:58:22 (GMT)
commit99822cd4a01342565f803678baba49d74192b7d1 (patch)
treefc26b423055fe5e528a602940ea5578cfe11ffc7
parent60543b931d073e17ad935aacfbd0d4eba76e2360 (diff)
downloadpoky-99822cd4a01342565f803678baba49d74192b7d1.tar.gz
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] (From OE-Core rev: 0eddc176e73e74d4b1a7d3163d65f619fcd4baf0) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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 a4209a0..80b78be 100644
--- a/meta/classes/gnomebase.bbclass
+++ b/meta/classes/gnomebase.bbclass
@@ -3,8 +3,9 @@ def gnome_verdir(v):
3 m = re.match("^([0-9]+)\.([0-9]+)", v) 3 m = re.match("^([0-9]+)\.([0-9]+)", v)
4 return "%s.%s" % (m.group(1), m.group(2)) 4 return "%s.%s" % (m.group(1), m.group(2))
5 5
6GNOME_COMPRESS_TYPE ?= "bz2"
6SECTION ?= "x11/gnome" 7SECTION ?= "x11/gnome"
7SRC_URI = "${GNOME_MIRROR}/${BPN}/${@gnome_verdir("${PV}")}/${BPN}-${PV}.tar.bz2;name=archive" 8SRC_URI = "${GNOME_MIRROR}/${BPN}/${@gnome_verdir("${PV}")}/${BPN}-${PV}.tar.${GNOME_COMPRESS_TYPE};name=archive"
8 9
9DEPENDS += "gnome-common" 10DEPENDS += "gnome-common"
10 11