From ef24f8e7e6b91ad8e83942bd956e0d6ab0fc077b Mon Sep 17 00:00:00 2001 From: Paul Eggleton Date: Wed, 3 Apr 2013 19:27:24 +0100 Subject: [PATCH] icon-naming-utils: import version 0.8.90 from meta-oe * 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 Signed-off-by: Saul Wold --- ...ative_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%) 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 4d1e19efc4..63a485d17b 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" -- 2.40.1