diff mbox series

[meta-gnome,2/3] gtksourceview3: Adjust for setting S in gnomebase.bbclass

Message ID 20251119044347.2884483-2-raj.khem@gmail.com
State New
Headers show
Series [meta-gnome,1/3] gtksourceview4: Adjust for setting S in gnomebase.bbclass | expand

Commit Message

Khem Raj Nov. 19, 2025, 4:43 a.m. UTC
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Ross Burton <ross.burton@arm.com>
---
 .../recipes-gnome/gtksourceview/gtksourceview3_3.24.11.bb     | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/meta-gnome/recipes-gnome/gtksourceview/gtksourceview3_3.24.11.bb b/meta-gnome/recipes-gnome/gtksourceview/gtksourceview3_3.24.11.bb
index baf4c33d38..83953316c6 100644
--- a/meta-gnome/recipes-gnome/gtksourceview/gtksourceview3_3.24.11.bb
+++ b/meta-gnome/recipes-gnome/gtksourceview/gtksourceview3_3.24.11.bb
@@ -6,7 +6,7 @@  LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24"

 DEPENDS = "gtk+3 libxml2 glib-2.0-native"

-PNAME = "gtksourceview"
+GNOMEBN = "gtksourceview"

 S = "${UNPACKDIR}/${PNAME}-${PV}"

@@ -18,7 +18,7 @@  REQUIRED_DISTRO_FEATURES = "x11"
 EXTRA_OECONF += "--disable-glade-catalog --disable-gtk-doc --disable-Werror"

 CFLAGS += "-Wno-error=incompatible-pointer-types"
-SRC_URI = "${GNOME_MIRROR}/gtksourceview/3.24/${PNAME}-${PV}.tar.xz"
+SRC_URI = "${GNOME_MIRROR}/gtksourceview/${@oe.utils.trim_version("${PV}", 2)}/${GNOMEBN}-${PV}.tar.xz"
 SRC_URI[sha256sum] = "691b074a37b2a307f7f48edc5b8c7afa7301709be56378ccf9cc9735909077fd"

 FILES:${PN} += " ${datadir}/gtksourceview-3.0"