diff --git a/meta-gnome/recipes-gnome/gtksourceview/gtksourceview4_4.8.4.bb b/meta-gnome/recipes-gnome/gtksourceview/gtksourceview4_4.8.4.bb
index a045fbd1a7..7010533512 100644
--- a/meta-gnome/recipes-gnome/gtksourceview/gtksourceview4_4.8.4.bb
+++ b/meta-gnome/recipes-gnome/gtksourceview/gtksourceview4_4.8.4.bb
@@ -17,6 +17,9 @@ SRC_URI += "file://0001-remove-pointless-check.patch"
 SRC_URI[archive.sha256sum] = "7ec9d18fb283d1f84a3a3eff3b7a72b09a10c9c006597b3fbabbb5958420a87d"
 S = "${UNPACKDIR}/gtksourceview-${PV}"
 
+# 5.x is packaged as gtksourceview5
+UPSTREAM_CHECK_REGEX = "gtksourceview-(?P<pver>4\.\d*[02468](\.\d+)+)\.tar"
+
 GIR_MESON_OPTION = 'gir'
 GTKDOC_MESON_OPTION = "gtk_doc"
 
