sys-power/RyzenAdj: New package

Signed-off-by: Piotr Karbowski <slashbeast@gentoo.org>
This commit is contained in:
Piotr Karbowski
2021-05-10 20:58:36 +02:00
parent fbbaed3076
commit e95f11c4e5
3 changed files with 45 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST RyzenAdj-0.8.1.tar.gz 121560 BLAKE2B e7e2dee6bbb14564a641fff430bf3a043c94a6a95a743e7026f5dda8c2f22fb1c7a0fe129e00c5dd2a21ca7c2accff6dba71b095a6c3390282be7b5dc0082235 SHA512 77ec6095036be526308b778290c39af9855f1de500eafef184e2cf747482e4ffb74a1220a15eddbd556c6459c083a160295c927c31ce6e0cbc654aa62062202b

View File

@@ -0,0 +1,33 @@
# Copyright 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
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"
DEPEND="sys-apps/pciutils"
RDEPEND="${DEPEND}"
BDEPEND=""
src_configure() {
CMAKE_BUILD_TYPE="Release"
cmake_src_configure
}
src_install() {
dosbin "${BUILD_DIR}"/ryzenadj
dodir "/usr/$(get_libdir)"
insinto "/usr/$(get_libdir)"
doins "${BUILD_DIR}"/libryzenadj.so
dodoc "${S}"/README.md
}

View File

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>slashbeast@gentoo.org</email>
<name>Piotr Karbowski</name>
</maintainer>
<upstream>
<remote-id type="github">FlyGoat/RyzenAdj</remote-id>
</upstream>
</pkgmetadata>