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

"Haelwenn Monnier" <[email protected]>
Newsgroups gmane.linux.gentoo.cvs
Message-ID <1786563356.30b3ad2fa2cc58d7e57f50ace0fe172c07896cc5.lanodan@gentoo>
commit:     30b3ad2fa2cc58d7e57f50ace0fe172c07896cc5
Author:     bakedsnake <bakedsnake <AT> vagrantz <DOT> xyz>
AuthorDate: Wed Aug 12 19:26:26 2026 +0000
Commit:     Haelwenn Monnier <contact <AT> hacktivis <DOT> me>
CommitDate: Wed Aug 12 19:35:56 2026 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=30b3ad2f

sys-apps/corefreq: add version check

-9999 was added without the conditional version check. This commit
adds it for ease of use, and maintainability.

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

 .../{corefreq-9999.ebuild => corefreq-9999-r1.ebuild}       | 13 +++++++++++--
 1 file changed, 11 insertions(+), 2 deletions(-)

diff --git a/sys-apps/corefreq/corefreq-9999.ebuild b/sys-apps/corefreq/corefreq-9999-r1.ebuild
similarity index 83%
rename from sys-apps/corefreq/corefreq-9999.ebuild
rename to sys-apps/corefreq/corefreq-9999-r1.ebuild
index 7367b5e29d..440b4c045d 100644
--- a/sys-apps/corefreq/corefreq-9999.ebuild
+++ b/sys-apps/corefreq/corefreq-9999-r1.ebuild
@@ -3,11 +3,20 @@
 
 EAPI=8
 
-inherit linux-mod-r1 systemd toolchain-funcs git-r3
+inherit linux-mod-r1 systemd toolchain-funcs
 
 DESCRIPTION="CPU monitoring and tuning software designed for 64-bit processors"
 HOMEPAGE="https://github.com/cyring"
-EGIT_REPO_URI="https://github.com/cyring/CoreFreq.git"
+
+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"
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.