From: Jörg Sommer Date: Mon, 3 Nov 2025 07:27:10 +0000 (+0100) Subject: glib-2.0: Convert to gnomebase X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=52150c173e20445a50af26b2b53dabc71d788d1e;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git glib-2.0: Convert to gnomebase Signed-off-by: Jörg Sommer Signed-off-by: Mathieu Dubois-Briand --- diff --git a/meta/recipes-core/glib-2.0/glib.inc b/meta/recipes-core/glib-2.0/glib.inc index f9cb3417ec..2e8dde2820 100644 --- a/meta/recipes-core/glib-2.0/glib.inc +++ b/meta/recipes-core/glib-2.0/glib.inc @@ -28,9 +28,11 @@ PACKAGES += "${PN}-codegen ${PN}-utils" LEAD_SONAME = "libglib-2.0.*" -inherit meson gettext gi-docgen pkgconfig ptest-gnome upstream-version-is-even bash-completion gio-module-cache manpages gobject-introspection-data +GNOMEBN = "glib" -S = "${UNPACKDIR}/glib-${PV}" +inherit gettext gi-docgen gnomebase ptest-gnome upstream-version-is-even bash-completion gio-module-cache manpages gobject-introspection-data + +S = "${UNPACKDIR}/${GNOMEBN}-${PV}" GIDOCGEN_MESON_OPTION = "documentation" @@ -219,9 +221,7 @@ RDEPENDS:${PN}-ptest:append:libc-glibc = "\ PE = "1" -SHRT_VER = "${@oe.utils.trim_version("${PV}", 2)}" - -SRC_URI = "${GNOME_MIRROR}/glib/${SHRT_VER}/glib-${PV}.tar.xz \ +SRC_URI += "\ file://run-ptest \ file://0001-Fix-DATADIRNAME-on-uclibc-Linux.patch \ file://0001-Remove-the-warning-about-deprecated-paths-in-schemas.patch \ @@ -236,7 +236,7 @@ SRC_URI:append:class-native = " file://relocate-modules.patch \ file://0001-meson.build-do-not-enable-pidfd-features-on-native-g.patch \ " -SRC_URI[sha256sum] = "b5739972d737cfb0d6fd1e7f163dfe650e2e03740bb3b8d408e4d1faea580d6d" +SRC_URI[archive.sha256sum] = "b5739972d737cfb0d6fd1e7f163dfe650e2e03740bb3b8d408e4d1faea580d6d" # Find any meson cross files in FILESPATH that are relevant for the current # build (using siteinfo) and add them to EXTRA_OEMESON.