Patchwork [05/14] atk: upgrade to 2.8

login
register
mail settings
Submitter Ross Burton
Date May 30, 2013, 1:52 p.m.
Message ID <82109947b6a79766ed47000d898c1f1affecbf63.1369921759.git.ross.burton@intel.com>
Download mbox | patch
Permalink /patch/50849/
State New
Headers show

Comments

Ross Burton - May 30, 2013, 1:52 p.m.
Upgrade to the latest upstream, and future-proof the SRC_URI using
trim_version().

Signed-off-by: Ross Burton <ross.burton@intel.com>
---
 meta/recipes-support/atk/{atk_2.6.0.bb => atk_2.8.0.bb} |    9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)
 rename meta/recipes-support/atk/{atk_2.6.0.bb => atk_2.8.0.bb} (70%)

Patch

diff --git a/meta/recipes-support/atk/atk_2.6.0.bb b/meta/recipes-support/atk/atk_2.8.0.bb
similarity index 70%
rename from meta/recipes-support/atk/atk_2.6.0.bb
rename to meta/recipes-support/atk/atk_2.8.0.bb
index be797c7..a190c0a 100644
--- a/meta/recipes-support/atk/atk_2.6.0.bb
+++ b/meta/recipes-support/atk/atk_2.8.0.bb
@@ -7,15 +7,16 @@  LICENSE = "GPLv2+ & LGPLv2+"
 LIC_FILES_CHKSUM = "file://COPYING;md5=3bf50002aefd002f49e7bb854063f7e7 \
                     file://atk/atkutil.c;endline=20;md5=db21b0bdbef9da4dc6eb122debc9f9bc \
                     file://atk/atk.h;endline=20;md5=c58238d688c24387376d6c69d06248a7"
-PR = "r0"
 
 DEPENDS = "glib-2.0"
 
 inherit autotools gtk-doc pkgconfig
 
-SRC_URI = "http://download.gnome.org/sources/atk/2.6/${BPN}-${PV}.tar.xz"
-SRC_URI[md5sum] = "6b34e2a63dda4429b5692be7ca3aa5bf"
-SRC_URI[sha256sum] = "eff663f90847620bb68c9c2cbaaf7f45e2ff44163b9ab3f10d15be763680491f"
+MAJ_VER = "${@oe.utils.trim_version("${PV}", 2)}"
+
+SRC_URI = "${GNOME_MIRROR}/${BPN}/${MAJ_VER}/${BPN}-${PV}.tar.xz"
+SRC_URI[md5sum] = "c652bd25530825d604dae1c1ebd2da02"
+SRC_URI[sha256sum] = "b22519176226f3e07cf6d932b77852e6b6be4780977770704b32d0f4e0686df4"
 
 BBCLASSEXTEND = "native"