diff mbox series

[1/2] classes/gnomebase: set S using GNOMEBN instead of BPN

Message ID 20251112210651.1868279-1-ross.burton@arm.com
State New
Headers show
Series [1/2] classes/gnomebase: set S using GNOMEBN instead of BPN | expand

Commit Message

Ross Burton Nov. 12, 2025, 9:06 p.m. UTC
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 <ross.burton@arm.com>
---
 meta/classes-recipe/gnomebase.bbclass | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

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 \