]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
classes/gnomebase: set S using GNOMEBN instead of BPN
authorRoss Burton <ross.burton@arm.com>
Wed, 12 Nov 2025 21:06:50 +0000 (21:06 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 17 Nov 2025 11:05:53 +0000 (11:05 +0000)
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>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes-recipe/gnomebase.bbclass

index 74073321b80739710e71528d2acc98737d986410..57933dda71a6640ffb736d2370407088b68f92f1 100644 (file)
@@ -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 \