commit: 4ea7d5776899af553083a5eb01f9352864d7f808 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org> AuthorDate: Thu Mar 30 23:52:01 2023 +0000 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> CommitDate: Sun Apr 2 00:56:55 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ea7d577
gnome.org.eclass: Add GNOME_ORG_PV variable Provides the package version in the format used upstream by GNOME projects. Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org> eclass/gnome.org.eclass | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/eclass/gnome.org.eclass b/eclass/gnome.org.eclass index 2add88ef59f7..d5f9102e5818 100644 --- a/eclass/gnome.org.eclass +++ b/eclass/gnome.org.eclass @@ -57,6 +57,13 @@ else : "${GNOME_ORG_RELEASE:=$(ver_cut 1-2)}" fi +# @ECLASS_VARIABLE: GNOME_ORG_PV +# @DESCRIPTION: +# PV in the GNOME version scheme format. +# The package version in the format used upstream by GNOME projects. +# See https://discourse.gnome.org/t/new-gnome-versioning-scheme/4235 +: "${GNOME_ORG_PV:=$(ver_rs 1- .)}" + SRC_URI="mirror://gnome/sources/${GNOME_ORG_MODULE}/${GNOME_ORG_RELEASE}/${GNOME_ORG_MODULE}-${PV}.tar.${GNOME_TARBALL_SUFFIX}" S="${WORKDIR}/${GNOME_ORG_MODULE}-${PV}"