repo/proj/guru:master commit in: sys-apps/corefreq/

"Haelwenn Monnier" <[email protected]>
Newsgroups gmane.linux.gentoo.cvs
Message-ID <1786563104.caf614897c5e5438960f602334dde410c806dc02.lanodan@gentoo>
commit:     caf614897c5e5438960f602334dde410c806dc02
Author:     bakedsnake <bakedsnake <AT> vagrantz <DOT> xyz>
AuthorDate: Wed Aug 12 19:20:03 2026 +0000
Commit:     Haelwenn Monnier <contact <AT> hacktivis <DOT> me>
CommitDate: Wed Aug 12 19:31:44 2026 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=caf61489

sys-apps/corefreq: add back the conditional version check

5c83a82664e9a74d1c086e13cc4cc52d72d9654d in this commit the original
version check was removed. Since this is not preferred, and can lead to
bigger diffs, the conditional check has been re-introduced.

Signed-off-by: bakedsnake <bakedsnake <AT> vagrantz.xyz>

 .../{corefreq-2.1.0-r1.ebuild => corefreq-2.1.0-r2.ebuild}  | 13 ++++++++++---
 .../{corefreq-2.1.1-r1.ebuild => corefreq-2.1.1-r2.ebuild}  | 13 ++++++++++---
 .../{corefreq-2.1.2-r1.ebuild => corefreq-2.1.2-r2.ebuild}  | 13 ++++++++++---
 3 files changed, 30 insertions(+), 9 deletions(-)

diff --git a/sys-apps/corefreq/corefreq-2.1.0-r1.ebuild b/sys-apps/corefreq/corefreq-2.1.0-r2.ebuild
similarity index 85%
rename from sys-apps/corefreq/corefreq-2.1.0-r1.ebuild
rename to sys-apps/corefreq/corefreq-2.1.0-r2.ebuild
index d2d5817a84..51cfdeeb4c 100644
--- a/sys-apps/corefreq/corefreq-2.1.0-r1.ebuild
+++ b/sys-apps/corefreq/corefreq-2.1.0-r2.ebuild
@@ -7,11 +7,18 @@ inherit linux-mod-r1 systemd toolchain-funcs
 
 DESCRIPTION="CPU monitoring and tuning software designed for 64-bit processors"
 HOMEPAGE="https://www.cyring.fr/"
-SRC_URI="https://github.com/cyring/CoreFreq/archive/${PV}.tar.gz -> ${P}.tar.gz"
-S="${WORKDIR}/CoreFreq-${PV}"
+
+if [[ "${PV}" = *9999* ]]; then
+	inherit git-r3
+	EGIT_REPO_URI="https://github.com/cyring/CoreFreq.git"
+else
+	SRC_URI="https://github.com/cyring/CoreFreq/archive/${PV}.tar.gz -> ${P}.tar.gz"
+	S="${WORKDIR}/CoreFreq-${PV}"
+	KEYWORDS="-* ~amd64"
+fi
+
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="-* ~amd64"
 
 DOCS=( README.md )
 

diff --git a/sys-apps/corefreq/corefreq-2.1.1-r1.ebuild b/sys-apps/corefreq/corefreq-2.1.1-r2.ebuild
similarity index 85%
rename from sys-apps/corefreq/corefreq-2.1.1-r1.ebuild
rename to sys-apps/corefreq/corefreq-2.1.1-r2.ebuild
index d2d5817a84..51cfdeeb4c 100644
--- a/sys-apps/corefreq/corefreq-2.1.1-r1.ebuild
+++ b/sys-apps/corefreq/corefreq-2.1.1-r2.ebuild
@@ -7,11 +7,18 @@ inherit linux-mod-r1 systemd toolchain-funcs
 
 DESCRIPTION="CPU monitoring and tuning software designed for 64-bit processors"
 HOMEPAGE="https://www.cyring.fr/"
-SRC_URI="https://github.com/cyring/CoreFreq/archive/${PV}.tar.gz -> ${P}.tar.gz"
-S="${WORKDIR}/CoreFreq-${PV}"
+
+if [[ "${PV}" = *9999* ]]; then
+	inherit git-r3
+	EGIT_REPO_URI="https://github.com/cyring/CoreFreq.git"
+else
+	SRC_URI="https://github.com/cyring/CoreFreq/archive/${PV}.tar.gz -> ${P}.tar.gz"
+	S="${WORKDIR}/CoreFreq-${PV}"
+	KEYWORDS="-* ~amd64"
+fi
+
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="-* ~amd64"
 
 DOCS=( README.md )
 

diff --git a/sys-apps/corefreq/corefreq-2.1.2-r1.ebuild b/sys-apps/corefreq/corefreq-2.1.2-r2.ebuild
similarity index 85%
rename from sys-apps/corefreq/corefreq-2.1.2-r1.ebuild
rename to sys-apps/corefreq/corefreq-2.1.2-r2.ebuild
index dc421dc4bb..440b4c045d 100644
--- a/sys-apps/corefreq/corefreq-2.1.2-r1.ebuild
+++ b/sys-apps/corefreq/corefreq-2.1.2-r2.ebuild
@@ -7,11 +7,18 @@ inherit linux-mod-r1 systemd toolchain-funcs
 
 DESCRIPTION="CPU monitoring and tuning software designed for 64-bit processors"
 HOMEPAGE="https://github.com/cyring"
-SRC_URI="https://github.com/cyring/CoreFreq/archive/${PV}.tar.gz -> ${P}.tar.gz"
-S="${WORKDIR}/CoreFreq-${PV}"
+
+if [[ "${PV}" = *9999* ]]; then
+	inherit git-r3
+	EGIT_REPO_URI="https://github.com/cyring/CoreFreq.git"
+else
+	SRC_URI="https://github.com/cyring/CoreFreq/archive/${PV}.tar.gz -> ${P}.tar.gz"
+	S="${WORKDIR}/CoreFreq-${PV}"
+	KEYWORDS="-* ~amd64"
+fi
+
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="-* ~amd64"
 
 DOCS=( README.md )
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.