summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics
diff options
context:
space:
mode:
authorRoss Burton <ross@burtonini.com>2021-06-28 17:04:45 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-06-29 22:18:57 +0100
commitc094a7fb2ac039d102c4308c84aa5524014996b0 (patch)
tree52372eed0aa3248b67aa7f68aa56880026be72e4 /meta/recipes-graphics
parentcde73f60482e2060658d510b73299c990cd7d125 (diff)
downloadpoky-c094a7fb2ac039d102c4308c84aa5524014996b0.tar.gz
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. (From OE-Core rev: dddafd5a4fd50b332a4bd3b0abefb32d315d87ab) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics')
-rw-r--r--meta/recipes-graphics/cantarell-fonts/cantarell-fonts_0.301.bb5
1 files changed, 5 insertions, 0 deletions
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"
20EXTRA_OEMESON += "-Duseprebuilt=true -Dbuildappstream=false" 20EXTRA_OEMESON += "-Duseprebuilt=true -Dbuildappstream=false"
21 21
22FILES_${PN} = "${datadir}/fonts ${datadir}/fontconfig" 22FILES_${PN} = "${datadir}/fonts ${datadir}/fontconfig"
23
24# This isn't a GNOME-style version do gnome_verdir fails. Just return the
25# version as that is how the directory is structured.
26def gnome_verdir(v):
27 return v