commit:     827484695f1b22a6229af5348fec7da807785924
Author:     Patrick McLean <chutzpah <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 30 07:23:26 2023 +0000
Commit:     Patrick McLean <chutzpah <AT> gentoo <DOT> org>
CommitDate: Thu Nov 30 07:24:33 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82748469

app-laptop/framework-laptop-kmod: new package, add 0_pre20231129

Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org>

 app-laptop/framework-laptop-kmod/Manifest          |  1 +
 .../framework-laptop-kmod-0_pre20231129.ebuild     | 46 ++++++++++++++++++++++
 app-laptop/framework-laptop-kmod/metadata.xml      | 11 ++++++
 3 files changed, 58 insertions(+)

diff --git a/app-laptop/framework-laptop-kmod/Manifest 
b/app-laptop/framework-laptop-kmod/Manifest
new file mode 100644
index 000000000000..e2e317c8f080
--- /dev/null
+++ b/app-laptop/framework-laptop-kmod/Manifest
@@ -0,0 +1 @@
+DIST framework-laptop-kmod-0_pre20231129.gh.tar.gz 10672 BLAKE2B 
9fd39ca526e29054e31af264bc7f6521fdfe7348c5a4083fef4ba012cb5c2b84d5d91f4ba93d37c78052d5ee3b9e384f3adde234a41763ef2f324fab180f2517
 SHA512 
0fbcb2e34daac1e7d2d7b345b8e7b0d07777908a181fcbe5860af1a9da1de8db36c8b44bb8ab95bac36976fc9e83f156f11f940bf51a976096fdd7c065a07341

diff --git 
a/app-laptop/framework-laptop-kmod/framework-laptop-kmod-0_pre20231129.ebuild 
b/app-laptop/framework-laptop-kmod/framework-laptop-kmod-0_pre20231129.ebuild
new file mode 100644
index 000000000000..ae4a4b4c5960
--- /dev/null
+++ 
b/app-laptop/framework-laptop-kmod/framework-laptop-kmod-0_pre20231129.ebuild
@@ -0,0 +1,46 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit linux-mod-r1
+
+COMMIT_HASH="fed64af4c19a15ef6bb7dca79b692d265e845699"
+DESCRIPTION="Kernel module to expose more Framework Laptop stuff"
+HOMEPAGE="https://github.com/DHowett/framework-laptop-kmod";
+SRC_URI="https://github.com/DHowett/framework-laptop-kmod/archive/${COMMIT_HASH}.tar.gz
 -> ${P}.gh.tar.gz"
+S="${WORKDIR}/${PN}-${COMMIT_HASH}"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+
+CONFIG_CHECK="
+       ~CROS_EC
+       ~CROS_EC_LPC
+"
+
+DOCS=(
+       README.md
+)
+
+pkg_pretend() {
+       check_extra_config
+}
+
+src_compile() {
+       local modlist=(
+               framework_laptop
+       )
+       linux-mod-r1_src_compile
+}
+
+pkg_postinst() {
+       linux-mod-r1_pkg_postinst
+
+       #if kernel_is -lt 6 7 0; then
+               ewarn "For the Framework Laptop 13 AMD Ryzen 7040 series and 
the Framework Laptop 16a,"
+               ewarn "you will need to apply the patch series from this URL:"
+               ewarn 
"https://lore.kernel.org/chrome-platform/[email protected]/";
+       #fi
+}

diff --git a/app-laptop/framework-laptop-kmod/metadata.xml 
b/app-laptop/framework-laptop-kmod/metadata.xml
new file mode 100644
index 000000000000..af58c2e437f5
--- /dev/null
+++ b/app-laptop/framework-laptop-kmod/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <maintainer type="person">
+               <email>[email protected]</email>
+               <name>Patrick McLean</name>
+       </maintainer>
+       <upstream>
+               <remote-id 
type="github">DHowett/framework-laptop-kmod</remote-id>
+       </upstream>
+</pkgmetadata>

Reply via email to