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

5c83a82664 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@vagrantz.xyz>
This commit is contained in:
bakedsnake committed 2026-08-12 21:31:44 +02:00
1 parent 6eb1320412
commit caf614897c
3 files changed
+30 -9

No files matched your search

@@ -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 )
@@ -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 )
@@ -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 )