From bcdd1053fb7149556603aea7939e042b8d9b7fa3 Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Thu, 30 May 2013 14:52:39 +0100 Subject: [PATCH] atk: upgrade to 2.8 Upgrade to the latest upstream, and future-proof the SRC_URI using trim_version(). (From OE-Core rev: 72c6fb8ac57b1f4a5c6dd3a65c3150f1e2f0ffd1) Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- 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%) 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" -- 2.7.4