diff --git a/meta-gnome/recipes-gnome/libgweather/libgweather4/0001-Allow-building-gir-in-cross-environments.patch b/meta-gnome/recipes-gnome/libgweather/libgweather4/0001-Allow-building-gir-in-cross-environments.patch
index 3a075de651..6e355cbe33 100644
--- a/meta-gnome/recipes-gnome/libgweather/libgweather4/0001-Allow-building-gir-in-cross-environments.patch
+++ b/meta-gnome/recipes-gnome/libgweather/libgweather4/0001-Allow-building-gir-in-cross-environments.patch
@@ -13,14 +13,14 @@ Upstream-Status: Inappropriate [OE-specific]
 Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
 Signed-off-by: Markus Volk <f_l_k@t-online.de>
 
---- a/meson.build	2022-09-18 14:48:53.000000000 +0200
-+++ b/meson.build	2022-11-26 14:05:13.302487232 +0100
-@@ -51,7 +51,7 @@
- gen_locations_variant = find_program('build-aux/meson/gen_locations_variant.py')
+--- a/meson.build
++++ b/meson.build
+@@ -49,7 +49,7 @@
+ ]
  
  g_ir_scanner = find_program('g-ir-scanner', required: get_option('introspection'))
 -build_gir = get_option('introspection') and g_ir_scanner.found() and not meson.is_cross_build()
 +build_gir = get_option('introspection') and g_ir_scanner.found()
  build_docs = get_option('gtk_doc') and build_gir
  
- schemas_srcdir = meson.project_source_root() / 'schemas'
+ locations_bin = dependency('gweather-locations').get_variable(
diff --git a/meta-gnome/recipes-gnome/libgweather/libgweather4_4.4.4.bb b/meta-gnome/recipes-gnome/libgweather/libgweather4_4.6.0.bb
similarity index 71%
rename from meta-gnome/recipes-gnome/libgweather/libgweather4_4.4.4.bb
rename to meta-gnome/recipes-gnome/libgweather/libgweather4_4.6.0.bb
index 57f599211a..8aad70466b 100644
--- a/meta-gnome/recipes-gnome/libgweather/libgweather4_4.4.4.bb
+++ b/meta-gnome/recipes-gnome/libgweather/libgweather4_4.6.0.bb
@@ -11,7 +11,7 @@ inherit gnomebase gsettings gobject-introspection gettext gi-docgen vala feature
 REQUIRED_DISTRO_FEATURES = "opengl"
 
 SRC_URI += "file://0001-Allow-building-gir-in-cross-environments.patch"
-SRC_URI[archive.sha256sum] = "7017677753cdf7d1fdc355e4bfcdb1eba8369793a8df24d241427a939cbf4283"
+SRC_URI[archive.sha256sum] = "7f5d0e8c9685ef2ff46c2f3a57cae48d7bf3540b2d83921f889ef28e6a876788"
 
 # 40.0 is an older libgweather-3 release; odd minors are development releases
 UPSTREAM_CHECK_REGEX = "libgweather-(?P<pver>4\.\d*[02468](\.\d+)+)\.tar"
@@ -19,16 +19,21 @@ UPSTREAM_CHECK_REGEX = "libgweather-(?P<pver>4\.\d*[02468](\.\d+)+)\.tar"
 GTKDOC_MESON_OPTION = "gtk_doc"
 VALA_MESON_OPTION = "enable_vala"
 
-export GI_TYPELIB_PATH = "${STAGING_LIBDIR}/girepository-1.0/"
-
 DEPENDS = " \
     geocode-glib \
     gtk4 \
+    gweather-locations \
     json-glib \
     libsoup-3.0 \
-    python3-pygobject-native \
 "
 
+RDEPENDS:${PN} += "gweather-locations"
+
+python __anonymous() {
+    if d.getVar('GI_DATA_ENABLED') != 'True':
+        raise bb.parse.SkipRecipe("depends on gweather-locations, which needs GI_DATA_ENABLED")
+}
+
 FILES:${PN} += " \
     ${datadir}/libgweather-4 \
     ${libdir}/libgweather-4 \
