[prev in list] [next in list] [prev in thread] [next in thread]
List: gentoo-dev
Subject: [gentoo-dev] [PATCH 2/3] gnome.org.eclass: Add GNOME_ORG_PV variable
From: Matt Turner <mattst88 () gentoo ! org>
Date: 2023-03-31 0:02:31
Message-ID: 20230331000232.3339792-2-mattst88 () gentoo ! org
[Download RAW message or body]
Provides the package version in the format used upstream by GNOME
projects.
Signed-off-by: Matt Turner <mattst88@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}"
--
2.39.2
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic