aboutsummaryrefslogtreecommitdiffstats
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:21 +0100
commitdddafd5a4fd50b332a4bd3b0abefb32d315d87ab (patch)
tree9935b04a47620ddb0620f66853f11227342dcd0b /meta/recipes-graphics
parentf70dc20f8fe38e07385a8a5910624ef38f72e53e (diff)
downloadopenembedded-core-contrib-dddafd5a4fd50b332a4bd3b0abefb32d315d87ab.tar.gz
openembedded-core-contrib-dddafd5a4fd50b332a4bd3b0abefb32d315d87ab.tar.bz2
openembedded-core-contrib-dddafd5a4fd50b332a4bd3b0abefb32d315d87ab.zip
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 <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"
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