For the majority of recipes, the default S is correct. But a few recipes
have a package name that is not the recipe name (such as GConf), and
we already handle this in the SRC_URI assignment.

Use GNOMEBN in the S assignment instead of PN so that S is correct too.

Signed-off-by: Ross Burton <[email protected]>
---
 meta/classes-recipe/gnomebase.bbclass | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/classes-recipe/gnomebase.bbclass 
b/meta/classes-recipe/gnomebase.bbclass
index 74073321b80..57933dda71a 100644
--- a/meta/classes-recipe/gnomebase.bbclass
+++ b/meta/classes-recipe/gnomebase.bbclass
@@ -13,6 +13,8 @@ SECTION ?= "x11/gnome"
 GNOMEBN ?= "${BPN}"
 SRC_URI = 
"${GNOME_MIRROR}/${GNOMEBN}/${@gnome_verdir("${PV}")}/${GNOMEBN}-${PV}.tar.${GNOME_COMPRESS_TYPE};name=archive"
 
+S = "${UNPACKDIR}/${GNOMEBN}-${PV}"
+
 FILES:${PN} += "${datadir}/application-registry  \
                 ${datadir}/mime-info \
                 ${datadir}/mime/packages \
-- 
2.43.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#226219): 
https://lists.openembedded.org/g/openembedded-core/message/226219
Mute This Topic: https://lists.openembedded.org/mt/116264009/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to