Install this version:
emerge -a =sys-apps/zenstates-9999
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =sys-apps/zenstates-9999
Or alternatively:
emerge --autounmask-write -a =sys-apps/zenstates-9999
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 9999 | 8 | 0 |
# Copyright 1999-2025 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{11,12,13,14} pypy3_11 )
inherit git-r3 python-r1 linux-info systemd
DESCRIPTION="Dynamically edit AMD Ryzen processor P-States"
HOMEPAGE="https://github.com/r4m0n/ZenStates-Linux"
EGIT_REPO_URI="https://github.com/r4m0n/ZenStates-Linux.git"
LICENSE="MIT"
SLOT="0"
KEYWORDS=""
IUSE="togglecode"
RDEPEND="togglecode? ( dev-python/portio[${PYTHON_USEDEP}] )"
DEPEND="${RDEPEND}"
CONFIG_CHECK="X86_MSR"
src_install() {
do_install() {
python_newscript zenstates.py zenstates
use togglecode && python_newscript togglecode.py togglecode
}
python_foreach_impl do_install
newinitd "${FILESDIR}"/disable-c6 disable-c6
systemd_dounit "${FILESDIR}"/disable-c6.service
dodoc README.md
}
Manage flags for this package:
euse -i <flag> -p sys-apps/zenstates |
euse -E <flag> -p sys-apps/zenstates |
euse -D <flag> -p sys-apps/zenstates