summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiotr Karbowski <slashbeast@gentoo.org>2022-02-07 23:19:03 +0100
committerPiotr Karbowski <slashbeast@gentoo.org>2022-02-07 23:24:09 +0100
commit1a7c9a89de07d37856ee17bce736d29a4fca11d9 (patch)
tree360406ee2f10cff53e7839f0331de3aab21c92d7 /app-admin/ryzen_smu
parentmedia-video/wireplumber: bump to 0.4.8 (diff)
downloadgentoo-1a7c9a89de07d37856ee17bce736d29a4fca11d9.tar.gz
gentoo-1a7c9a89de07d37856ee17bce736d29a4fca11d9.tar.bz2
gentoo-1a7c9a89de07d37856ee17bce736d29a4fca11d9.zip
app-admin/ryzen_smu: 0.1.2_p20211205 version bump.
Signed-off-by: Piotr Karbowski <slashbeast@gentoo.org>
Diffstat (limited to 'app-admin/ryzen_smu')
-rw-r--r--app-admin/ryzen_smu/Manifest1
-rw-r--r--app-admin/ryzen_smu/ryzen_smu-0.1.2_p20211205.ebuild37
2 files changed, 38 insertions, 0 deletions
diff --git a/app-admin/ryzen_smu/Manifest b/app-admin/ryzen_smu/Manifest
index 55487ffbafa3..b515364afb69 100644
--- a/app-admin/ryzen_smu/Manifest
+++ b/app-admin/ryzen_smu/Manifest
@@ -1,2 +1,3 @@
DIST ryzen_smu-0.1.2.tar.gz 169644 BLAKE2B 48445c857d10077b87513d1ccaf6b94d46f6c9179f327de4309d699a17bdd6b41f956e29e324a466451fb2ed68218730c0a02a19b820909cc606eaeea85ed9ab SHA512 7a47b193c7143c3b6bcc2943f9ee895fa1184c9c14953e728cda4f6c8416bef19f0c5fa34344bc47e21101f47816961c4a5f222fd70a7d29401452f90c75ba04
DIST ryzen_smu-0.1.2_p20210627.tar.xz 151900 BLAKE2B c3845755753256aeee4e68d106e2f61c3c2578a31035eebac60d6e484f60a592de1c67574519d48cf251403cc118dd98efd030d4d7eee23f58b8f7b0d2e0ca8c SHA512 65578d8696fe3b8d002895614df72d57700fb1a5b8587fe0671a6863446fad72425400f9f6767abfdc636927132820e63b7f780fd9e88b5ab4b13668be405ed0
+DIST ryzen_smu-0.1.2_p20211205.tar.xz 386260 BLAKE2B eea0466f6abd93a18c670fbbf603be7efb60807865151543341b6a0a9f248eff8a99d8ecda864bebab6e5e2471ff7239681a83ae9b3dded3b1350a7f363ee62c SHA512 93f7eaac4811ac6e3d46abeb012b1ff4e334fc9247a3747ca67489a35ea04dce20806ae2e57f46e930e5238d1d2a966e8d0b83f8bf090a735d0c2d078f3256f3
diff --git a/app-admin/ryzen_smu/ryzen_smu-0.1.2_p20211205.ebuild b/app-admin/ryzen_smu/ryzen_smu-0.1.2_p20211205.ebuild
new file mode 100644
index 000000000000..90210e25cb73
--- /dev/null
+++ b/app-admin/ryzen_smu/ryzen_smu-0.1.2_p20211205.ebuild
@@ -0,0 +1,37 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit linux-mod linux-info toolchain-funcs
+
+SRC_URI="https://dev.gentoo.org/~slashbeast/distfiles/${PN}/${P}.tar.xz"
+KEYWORDS="~amd64 ~x86"
+
+DESCRIPTION="Kernel driver for AMD Ryzen's System Management Unit"
+HOMEPAGE="https://github.com/leogx9r/ryzen_smu"
+
+SLOT="0"
+LICENSE="GPL-2"
+IUSE=""
+
+DEPEND=""
+RDEPEND=""
+
+MODULE_NAMES="ryzen_smu(misc)"
+
+pkg_setup() {
+ linux_config_exists
+
+ linux-mod_pkg_setup
+
+ BUILD_TARGETS="modules"
+ BUILD_PARAMS="CC=$(tc-getCC) KERNEL_BUILD=${KERNEL_DIR}"
+}
+
+src_install() {
+ linux-mod_src_install
+ insinto /usr/lib/modules-load.d/
+ newins "${FILESDIR}"/ryzen_smu.conf ryzen_smu.conf
+
+}