From dddafd5a4fd50b332a4bd3b0abefb32d315d87ab Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Mon, 28 Jun 2021 17:04:45 +0100 Subject: cantarell-fonts: fix SRC_URI Since oe-core fa8950d0c the logic to turn a version into a directory name doesn't work for versions which are too short. Solve this by overriding gnome_verdir() to return the version as-is, as that is what the directory is called. Signed-off-by: Ross Burton Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie --- meta/recipes-graphics/cantarell-fonts/cantarell-fonts_0.301.bb | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'meta/recipes-graphics') diff --git a/meta/recipes-graphics/cantarell-fonts/cantarell-fonts_0.301.bb b/meta/recipes-graphics/cantarell-fonts/cantarell-fonts_0.301.bb index 8dc4ceb399..b0ce56127d 100644 --- a/meta/recipes-graphics/cantarell-fonts/cantarell-fonts_0.301.bb +++ b/meta/recipes-graphics/cantarell-fonts/cantarell-fonts_0.301.bb @@ -20,3 +20,8 @@ HASHEQUIV_HASH_VERSION .= ".2" EXTRA_OEMESON += "-Duseprebuilt=true -Dbuildappstream=false" FILES_${PN} = "${datadir}/fonts ${datadir}/fontconfig" + +# This isn't a GNOME-style version do gnome_verdir fails. Just return the +# version as that is how the directory is structured. +def gnome_verdir(v): + return v -- cgit 1.2.3-korg