diff --git a/meta/recipes-gnome/blueprint-compiler/blueprint-compiler_0.20.4.bb b/meta/recipes-gnome/blueprint-compiler/blueprint-compiler_0.22.2.bb
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
index 199a9b0f55..7b8204769d 100644
--- a/meta/recipes-gnome/blueprint-compiler/blueprint-compiler_0.20.4.bb
+++ b/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}"
