Gentoo Archives: gentoo-commits

From: Piotr Karbowski <slashbeast@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/ryzen_smu/
Date: Mon, 07 Feb 2022 22:24:15
Message-Id: 1644272649.1a7c9a89de07d37856ee17bce736d29a4fca11d9.slashbeast@gentoo
1 commit: 1a7c9a89de07d37856ee17bce736d29a4fca11d9
2 Author: Piotr Karbowski <slashbeast <AT> gentoo <DOT> org>
3 AuthorDate: Mon Feb 7 22:19:03 2022 +0000
4 Commit: Piotr Karbowski <slashbeast <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 7 22:24:09 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a7c9a89
7
8 app-admin/ryzen_smu: 0.1.2_p20211205 version bump.
9
10 Signed-off-by: Piotr Karbowski <slashbeast <AT> gentoo.org>
11
12 app-admin/ryzen_smu/Manifest | 1 +
13 .../ryzen_smu/ryzen_smu-0.1.2_p20211205.ebuild | 37 ++++++++++++++++++++++
14 2 files changed, 38 insertions(+)
15
16 diff --git a/app-admin/ryzen_smu/Manifest b/app-admin/ryzen_smu/Manifest
17 index 55487ffbafa3..b515364afb69 100644
18 --- a/app-admin/ryzen_smu/Manifest
19 +++ b/app-admin/ryzen_smu/Manifest
20 @@ -1,2 +1,3 @@
21 DIST ryzen_smu-0.1.2.tar.gz 169644 BLAKE2B 48445c857d10077b87513d1ccaf6b94d46f6c9179f327de4309d699a17bdd6b41f956e29e324a466451fb2ed68218730c0a02a19b820909cc606eaeea85ed9ab SHA512 7a47b193c7143c3b6bcc2943f9ee895fa1184c9c14953e728cda4f6c8416bef19f0c5fa34344bc47e21101f47816961c4a5f222fd70a7d29401452f90c75ba04
22 DIST ryzen_smu-0.1.2_p20210627.tar.xz 151900 BLAKE2B c3845755753256aeee4e68d106e2f61c3c2578a31035eebac60d6e484f60a592de1c67574519d48cf251403cc118dd98efd030d4d7eee23f58b8f7b0d2e0ca8c SHA512 65578d8696fe3b8d002895614df72d57700fb1a5b8587fe0671a6863446fad72425400f9f6767abfdc636927132820e63b7f780fd9e88b5ab4b13668be405ed0
23 +DIST ryzen_smu-0.1.2_p20211205.tar.xz 386260 BLAKE2B eea0466f6abd93a18c670fbbf603be7efb60807865151543341b6a0a9f248eff8a99d8ecda864bebab6e5e2471ff7239681a83ae9b3dded3b1350a7f363ee62c SHA512 93f7eaac4811ac6e3d46abeb012b1ff4e334fc9247a3747ca67489a35ea04dce20806ae2e57f46e930e5238d1d2a966e8d0b83f8bf090a735d0c2d078f3256f3
24
25 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
26 new file mode 100644
27 index 000000000000..90210e25cb73
28 --- /dev/null
29 +++ b/app-admin/ryzen_smu/ryzen_smu-0.1.2_p20211205.ebuild
30 @@ -0,0 +1,37 @@
31 +# Copyright 2022 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +
36 +inherit linux-mod linux-info toolchain-funcs
37 +
38 +SRC_URI="https://dev.gentoo.org/~slashbeast/distfiles/${PN}/${P}.tar.xz"
39 +KEYWORDS="~amd64 ~x86"
40 +
41 +DESCRIPTION="Kernel driver for AMD Ryzen's System Management Unit"
42 +HOMEPAGE="https://github.com/leogx9r/ryzen_smu"
43 +
44 +SLOT="0"
45 +LICENSE="GPL-2"
46 +IUSE=""
47 +
48 +DEPEND=""
49 +RDEPEND=""
50 +
51 +MODULE_NAMES="ryzen_smu(misc)"
52 +
53 +pkg_setup() {
54 + linux_config_exists
55 +
56 + linux-mod_pkg_setup
57 +
58 + BUILD_TARGETS="modules"
59 + BUILD_PARAMS="CC=$(tc-getCC) KERNEL_BUILD=${KERNEL_DIR}"
60 +}
61 +
62 +src_install() {
63 + linux-mod_src_install
64 + insinto /usr/lib/modules-load.d/
65 + newins "${FILESDIR}"/ryzen_smu.conf ryzen_smu.conf
66 +
67 +}