From e373ecf276265a938a3acd42d9c25ce78d5f5330 Mon Sep 17 00:00:00 2001 From: Alexander Kanavin Date: Mon, 28 Dec 2020 21:04:33 +0100 Subject: [PATCH] ccache: upgrade 3.7.11 -> 4.1 Convert recipe from autotools to cmake. zstd is a new hard dependency. License-Update: formatting Signed-off-by: Alexander Kanavin Signed-off-by: Richard Purdie --- .../ccache/{ccache_3.7.11.bb => ccache_4.1.bb} | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) rename meta/recipes-devtools/ccache/{ccache_3.7.11.bb => ccache_4.1.bb} (55%) diff --git a/meta/recipes-devtools/ccache/ccache_3.7.11.bb b/meta/recipes-devtools/ccache/ccache_4.1.bb similarity index 55% rename from meta/recipes-devtools/ccache/ccache_3.7.11.bb rename to meta/recipes-devtools/ccache/ccache_4.1.bb index fd004f4c9b..5f7d93b485 100644 --- a/meta/recipes-devtools/ccache/ccache_3.7.11.bb +++ b/meta/recipes-devtools/ccache/ccache_4.1.bb @@ -7,26 +7,18 @@ HOMEPAGE = "http://ccache.samba.org" SECTION = "devel" LICENSE = "GPLv3+" -LIC_FILES_CHKSUM = "file://LICENSE.adoc;md5=22d514dbc01fdf9a9784334b6b59417a" +LIC_FILES_CHKSUM = "file://LICENSE.adoc;md5=a66c581f855c1c408730fe5d171e3013" -DEPENDS = "zlib" +DEPENDS = "zstd" SRC_URI = "https://github.com/ccache/ccache/releases/download/v${PV}/${BP}.tar.gz" -SRC_URI[sha256sum] = "34309a59d4b6b6b33756366aa9d3144a4655587be9f914476b4c0e2d36365f01" +SRC_URI[sha256sum] = "cdeefb827b3eef3b42b5454858123881a4a90abbd46cc72cf8c20b3bd039deb7" UPSTREAM_CHECK_URI = "https://github.com/ccache/ccache/releases/" -inherit autotools +inherit cmake -# Remove ccache-native's dependencies, so that it can be used widely by -# other native recipes. -DEPENDS_class-native = "" -EXTRA_OECONF_class-native = "--with-bundled-zlib" -INHIBIT_AUTOTOOLS_DEPS_class-native = "1" PATCHTOOL = "patch" BBCLASSEXTEND = "native" -do_configure_class-native() { - oe_runconf -} -- 2.40.1