Patchwork [1/1] icon-naming-utils: import version 0.8.90 from meta-oe

login
register
mail settings
Submitter Paul Eggleton
Date April 3, 2013, 6:27 p.m.
Message ID <a436545d67cbcfc46e31155949bcbeb86f49a5c3.1365013369.git.paul.eggleton@linux.intel.com>
Download mbox | patch
Permalink /patch/47361/
State Accepted
Commit 4ce8a676459f216dc223f1bc5051dcd56dc703b3
Headers show

Comments

Paul Eggleton - April 3, 2013, 6:27 p.m.
* Use newer version 0.8.90
* Updates to a BBCLASSEXTENDed recipe instead of just a native recipe
* Use PV in SRC_URI instead of hardcoded version number

In copying over the recipe from meta-oe, some minor changes were made:
* Preserve the existing OE-Core nativeperl wrapper usage
* Drop setting of S which is effectively the default value

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
---
 ...tils-native_0.8.7.bb => icon-naming-utils_0.8.90.bb} |   15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)
 rename meta/recipes-devtools/icon-naming-utils/{icon-naming-utils-native_0.8.7.bb => icon-naming-utils_0.8.90.bb} (58%)

Patch

diff --git a/meta/recipes-devtools/icon-naming-utils/icon-naming-utils-native_0.8.7.bb b/meta/recipes-devtools/icon-naming-utils/icon-naming-utils_0.8.90.bb
similarity index 58%
rename from meta/recipes-devtools/icon-naming-utils/icon-naming-utils-native_0.8.7.bb
rename to meta/recipes-devtools/icon-naming-utils/icon-naming-utils_0.8.90.bb
index 4d1e19e..63a485d 100644
--- a/meta/recipes-devtools/icon-naming-utils/icon-naming-utils-native_0.8.7.bb
+++ b/meta/recipes-devtools/icon-naming-utils/icon-naming-utils_0.8.90.bb
@@ -4,16 +4,17 @@  PR = "r4"
 
 LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
 
-SRC_URI = "http://tango.freedesktop.org/releases/icon-naming-utils-0.8.7.tar.gz"
+SRC_URI = "http://tango.freedesktop.org/releases/icon-naming-utils-${PV}.tar.gz"
+SRC_URI[md5sum] = "2c5c7a418e5eb3268f65e21993277fba"
+SRC_URI[sha256sum] = "044ab2199ed8c6a55ce36fd4fcd8b8021a5e21f5bab028c0a7cdcf52a5902e1c"
 
-SRC_URI[md5sum] = "4abe604721ce2ccb67f451aa7ceb44d6"
-SRC_URI[sha256sum] = "1cb49ce6a04626939893a447da696f20003903d61bd80c6d74d29dd79ca340d2"
-
-S = "${WORKDIR}/icon-naming-utils-${PV}"
-
-inherit autotools native perlnative
+inherit autotools allarch perlnative
 
 do_configure_append() {
 	# Make sure we use our nativeperl wrapper.
 	sed -i -e "1s:#!.*:#!/usr/bin/env nativeperl:" ${S}/icon-name-mapping.pl.in
 }
+
+FILES_${PN} += "${datadir}/dtds"
+
+BBCLASSEXTEND = "native"