summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'eclass/gnome.org.eclass')
-rw-r--r--eclass/gnome.org.eclass7
1 files changed, 7 insertions, 0 deletions
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}"