diff options
author | Patrick McLean <chutzpah@gentoo.org> | 2023-11-29 23:23:26 -0800 |
---|---|---|
committer | Patrick McLean <chutzpah@gentoo.org> | 2023-11-29 23:24:33 -0800 |
commit | 827484695f1b22a6229af5348fec7da807785924 (patch) | |
tree | bef1783c9f1e15ea83159bedd0dd94d6b00bf949 /app-laptop/framework-laptop-kmod | |
parent | www-client/firefox-bin: drop 120.0 (diff) | |
download | gentoo-827484695f1b22a6229af5348fec7da807785924.tar.gz gentoo-827484695f1b22a6229af5348fec7da807785924.tar.bz2 gentoo-827484695f1b22a6229af5348fec7da807785924.zip |
app-laptop/framework-laptop-kmod: new package, add 0_pre20231129
Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
Diffstat (limited to 'app-laptop/framework-laptop-kmod')
-rw-r--r-- | app-laptop/framework-laptop-kmod/Manifest | 1 | ||||
-rw-r--r-- | app-laptop/framework-laptop-kmod/framework-laptop-kmod-0_pre20231129.ebuild | 46 | ||||
-rw-r--r-- | app-laptop/framework-laptop-kmod/metadata.xml | 11 |
3 files changed, 58 insertions, 0 deletions
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/20231005160701.19987-1-dustin@howett.net/" + #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>chutzpah@gentoo.org</email> + <name>Patrick McLean</name> + </maintainer> + <upstream> + <remote-id type="github">DHowett/framework-laptop-kmod</remote-id> + </upstream> +</pkgmetadata> |