Adjust for setting S in gnomebase.bbclass

Signed-off-by: Khem Raj <[email protected]>
Cc: Ross Burton <[email protected]>
---
 ...gtksourceview5_5.16.0.bb => gtksourceview5_5.18.0.bb} | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)
 rename meta-gnome/recipes-gnome/gtksourceview/{gtksourceview5_5.16.0.bb => 
gtksourceview5_5.18.0.bb} (77%)

diff --git a/meta-gnome/recipes-gnome/gtksourceview/gtksourceview5_5.16.0.bb 
b/meta-gnome/recipes-gnome/gtksourceview/gtksourceview5_5.18.0.bb
similarity index 77%
rename from meta-gnome/recipes-gnome/gtksourceview/gtksourceview5_5.16.0.bb
rename to meta-gnome/recipes-gnome/gtksourceview/gtksourceview5_5.18.0.bb
index 7076214a4d..334435480e 100644
--- a/meta-gnome/recipes-gnome/gtksourceview/gtksourceview5_5.16.0.bb
+++ b/meta-gnome/recipes-gnome/gtksourceview/gtksourceview5_5.18.0.bb
@@ -14,17 +14,14 @@ DEPENDS = " \
     pango \
 "
 
-PNAME = "gtksourceview"
-
-S = "${UNPACKDIR}/${PNAME}-${PV}"
-
+GNOMEBN = "gtksourceview"
 
 inherit gnomebase lib_package gettext features_check gi-docgen gtk-icon-cache 
gobject-introspection vala
 
 REQUIRED_DISTRO_FEATURES = "opengl"
 
-SRC_URI = "${GNOME_MIRROR}/gtksourceview/5.16/${PNAME}-${PV}.tar.xz"
-SRC_URI[sha256sum] = 
"ab35d420102f3e8b055dd3b8642d3a48209f888189e6254d0ffb4b6a7e8c3566"
+SRC_URI = "${GNOME_MIRROR}/gtksourceview/${@oe.utils.trim_version("${PV}", 
2)}/${GNOMEBN}-${PV}.tar.xz"
+SRC_URI[sha256sum] = 
"051a78fe38f793328047e5bcd6d855c6425c0b480c20d9432179e356742c6ac0"
 
 GIR_MESON_ENABLE_FLAG = 'enabled'
 GIR_MESON_DISABLE_FLAG = 'disabled'
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#121886): 
https://lists.openembedded.org/g/openembedded-devel/message/121886
Mute This Topic: https://lists.openembedded.org/mt/116369516/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to