sys-power/RyzenAdj - 0.17.0 (thegreatmcpain)

Search

Package Information

Description:
The power management tool for mobile and desktop Ryzen APUs
Homepage:
https://github.com/FlyGoat/RyzenAdj
License:
LGPL-3

Ebuild Details

Version EAPI Keywords Slot
0.17.0 8 ~amd64 ~x86 0
View Raw Ebuild
# Copyright 2022-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit cmake

DESCRIPTION="The power management tool for mobile and desktop Ryzen APUs"
HOMEPAGE="https://github.com/FlyGoat/RyzenAdj"
SRC_URI="https://github.com/FlyGoat/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="+ryzen-smu"

DEPEND="
	ryzen-smu? (
		app-admin/ryzen_smu
	)
	!ryzen-smu? (
		sys-apps/pciutils
	)
"
RDEPEND="${DEPEND}"

src_configure() {
	CMAKE_BUILD_TYPE="Release"
	cmake_src_configure
}

src_install() {
	dosbin "${BUILD_DIR}"/ryzenadj

	dolib.so "${BUILD_DIR}"/libryzenadj.so

	dodoc "${S}"/README.md
}

USE Flags

ryzen-smu
Default: Enabled (+)

Dependencies

DEPEND

	ryzen-smu? (
		app-admin/ryzen_smu
	)
	!ryzen-smu? (
		sys-apps/pciutils
	)

RDEPEND

	ryzen-smu? (
		app-admin/ryzen_smu
	)
	!ryzen-smu? (
		sys-apps/pciutils
	)

Manifest for 0.17.0

Type File Size Source URLs
DIST RyzenAdj-0.17.0.tar.gz 127697 bytes https://github.com/FlyGoat/RyzenAdj/archive/refs/tags/v0.17.0.tar.gz