Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: ryzen_smu-dkms-0.1.5
@ 2024-01-15 23:01 inco-cc
  2024-01-15 23:26 ` [PR REVIEW] " classabbyamp
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: inco-cc @ 2024-01-15 23:01 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1245 bytes --]

There is a new pull request by inco-cc against master on the void-packages repository

https://github.com/inco-cc/void-packages ryzen_smu-dkms
https://github.com/void-linux/void-packages/pull/48227

New package: ryzen_smu-dkms-0.1.5
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, x86_64

This module is required for [RyzenAdj](https://github.com/void-linux/void-packages/tree/master/srcpkgs/RyzenAdj) to access the SMU on AMD Ryzen processors.

A patch file from https://github.com/void-linux/void-packages/pull/48227.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-ryzen_smu-dkms-48227.patch --]
[-- Type: text/x-diff, Size: 2201 bytes --]

From 82e8be25a68f1ce5a8f17dbcd70c78c1a0810da7 Mon Sep 17 00:00:00 2001
From: Brandon Little <drinco@tutanota.de>
Date: Mon, 15 Jan 2024 17:35:07 -0500
Subject: [PATCH] New package: ryzen_smu-dkms-0.1.5

---
 srcpkgs/ryzen_smu-dkms/files/dkms.conf |  9 +++++++++
 srcpkgs/ryzen_smu-dkms/template        | 27 ++++++++++++++++++++++++++
 2 files changed, 36 insertions(+)
 create mode 100755 srcpkgs/ryzen_smu-dkms/files/dkms.conf
 create mode 100644 srcpkgs/ryzen_smu-dkms/template

diff --git a/srcpkgs/ryzen_smu-dkms/files/dkms.conf b/srcpkgs/ryzen_smu-dkms/files/dkms.conf
new file mode 100755
index 0000000000000..f26c7a66563b8
--- /dev/null
+++ b/srcpkgs/ryzen_smu-dkms/files/dkms.conf
@@ -0,0 +1,9 @@
+PACKAGE_NAME="ryzen_smu"
+PACKAGE_VERSION="0.1.5"
+AUTOINSTALL="yes"
+
+MAKE="make TARGET=${kernelver}"
+CLEAN="make clean"
+
+BUILT_MODULE_NAME[0]="ryzen_smu"
+DEST_MODULE_LOCATION[0]="/extra"
diff --git a/srcpkgs/ryzen_smu-dkms/template b/srcpkgs/ryzen_smu-dkms/template
new file mode 100644
index 0000000000000..e31d13539a11a
--- /dev/null
+++ b/srcpkgs/ryzen_smu-dkms/template
@@ -0,0 +1,27 @@
+# Template file for 'ryzen_smu-dkms'
+pkgname=ryzen_smu-dkms
+version=0.1.5
+revision=1
+archs="x86_64"
+depends="dkms"
+short_desc="Kernel driver to provide SMU access for AMD Ryzen processors"
+maintainer="Brandon Little <drinco@tutanota.de>"
+license="GPL-2.0-or-later"
+homepage="https://gitlab.com/leogx9r/ryzen_smu"
+distfiles="https://gitlab.com/leogx9r/ryzen_smu/-/archive/v${version}/ryzen_smu-v${version}.tar.gz"
+checksum=25c7e6885b14fcad27430aa3fa273009c889794158d94f1b3040ad432b94d037
+dkms_modules="ryzen_smu ${version}"
+
+do_install() {
+	vmkdir usr/src/ryzen_smu-${version}
+	vmkdir usr/src/ryzen_smu-${version}/lib
+	vmkdir usr/src/ryzen_smu-${version}/userspace
+	vcopy Makefile usr/src/ryzen_smu-${version}
+	vcopy ${FILESDIR}/dkms.conf usr/src/ryzen_smu-${version}
+	vcopy *.c usr/src/ryzen_smu-${version}
+	vcopy *.h usr/src/ryzen_smu-${version}
+	vcopy lib/*.c usr/src/ryzen_smu-${version}/lib
+	vcopy lib/*.h usr/src/ryzen_smu-${version}/lib
+	vcopy userspace/Makefile usr/src/ryzen_smu-${version}/userspace
+	vcopy userspace/*.c usr/src/ryzen_smu-${version}/userspace
+}

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2024-08-11  1:56 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-15 23:01 [PR PATCH] New package: ryzen_smu-dkms-0.1.5 inco-cc
2024-01-15 23:26 ` [PR REVIEW] " classabbyamp
2024-01-15 23:26 ` classabbyamp
2024-01-15 23:44 ` inco-cc
2024-01-15 23:53 ` classabbyamp
2024-01-16  1:33 ` [PR PATCH] [Updated] " inco-cc
2024-01-16  1:43 ` sgn
2024-01-16  1:52 ` inco-cc
2024-02-15 19:22 ` [PR PATCH] [Updated] " inco-cc
2024-02-23 19:01 ` inco-cc
2024-04-28 23:21 ` inco-cc
2024-07-28  1:54 ` github-actions
2024-08-11  1:56 ` [PR PATCH] [Closed]: " github-actions

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).