similarity index 75%
rename from meta/recipes-gnome/blueprint-compiler/blueprint-compiler_0.20.4.bb
rename to meta/recipes-gnome/blueprint-compiler/blueprint-compiler_0.22.2.bb
@@ -3,8 +3,8 @@ HOMEPAGE = "https://gitlab.gnome.org/GNOME/blueprint-compiler"
LICENSE = "LGPL-3.0-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=3000208d539ec061b899bce1d9ce9404"
-SRC_URI = "git://gitlab.gnome.org/GNOME/blueprint-compiler;protocol=https;branch=blueprint-0-20;tag=v${PV}"
-SRCREV = "31b62c24a72c1670d2d93dcdf2d130f1ae12778e"
+SRC_URI = "git://gitlab.gnome.org/GNOME/blueprint-compiler;protocol=https;nobranch=1;tag=v${PV}"
+SRCREV = "ed35ac74de0c1bb1f5e852410b97edd1f08904c9"
inherit meson pkgconfig python3-dir gobject-introspection-data
@@ -15,6 +15,11 @@ python() {
raise bb.parse.SkipRecipe("GI not available")
}
+do_install:append () {
+ # Meson encodes the full path of the build python in the shebang
+ sed -i -e '1s|^#!.*|#!${USRBINPATH}/env python3|' ${D}${bindir}/blueprint-compiler
+}
+
PACKAGES += "${PN}-python"
FILES:${PN}-python = "${PYTHON_SITEPACKAGES_DIR}"
Compare Log: https://gitlab.gnome.org/GNOME/blueprint-compiler/-/compare/v0.20.4...v0.22.2 - The release commit is only on the tag, so use nobranch=1. - Meson embeds the build Python path in the shebang, causing buildpaths and file-rdeps QA failures. Rewrite it to #!/usr/bin/env python3. Signed-off-by: Jaipaul Cheernam <jaipaul.cheernam@est.tech> --- ...t-compiler_0.20.4.bb => blueprint-compiler_0.22.2.bb} | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) rename meta/recipes-gnome/blueprint-compiler/{blueprint-compiler_0.20.4.bb => blueprint-compiler_0.22.2.bb} (75%)