atk: inherit gnomebase
authorRoss Burton <ross.burton@intel.com>
Fri, 14 Jun 2013 17:30:41 +0000 (18:30 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 17 Jun 2013 15:45:37 +0000 (16:45 +0100)
This recipe was missing a dependency on gnome-common, so lets just inherit
gnomebase and get both it and GNOME SRC_URI handling for free.

(From OE-Core rev: 7edc510839f7cd3f83265d634ca0c8accfb2f8c3)

Signed-off-by: Ross Burton <ross.burton@intel.com>
[sgw - atk: add archive tag to SRC_URI checksums]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-support/atk/atk_2.8.0.bb

index a190c0a..9a36ae4 100644 (file)
@@ -10,13 +10,12 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=3bf50002aefd002f49e7bb854063f7e7 \
 
 DEPENDS = "glib-2.0"
 
-inherit autotools gtk-doc pkgconfig
+inherit gnomebase gtk-doc
 
-MAJ_VER = "${@oe.utils.trim_version("${PV}", 2)}"
+GNOME_COMPRESS_TYPE = "xz"
 
-SRC_URI = "${GNOME_MIRROR}/${BPN}/${MAJ_VER}/${BPN}-${PV}.tar.xz"
-SRC_URI[md5sum] = "c652bd25530825d604dae1c1ebd2da02"
-SRC_URI[sha256sum] = "b22519176226f3e07cf6d932b77852e6b6be4780977770704b32d0f4e0686df4"
+SRC_URI[archive.md5sum] = "c652bd25530825d604dae1c1ebd2da02"
+SRC_URI[archive.sha256sum] = "b22519176226f3e07cf6d932b77852e6b6be4780977770704b32d0f4e0686df4"
 
 BBCLASSEXTEND = "native"