From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 6E041158041 for ; Sat, 6 Apr 2024 00:12:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6D9E3E29B5; Sat, 6 Apr 2024 00:12:10 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 48EC4E29B5 for ; Sat, 6 Apr 2024 00:12:10 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 46FA13431B4 for ; Sat, 6 Apr 2024 00:12:09 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 830E51684 for ; Sat, 6 Apr 2024 00:12:07 +0000 (UTC) From: "Patrick McLean" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Patrick McLean" Message-ID: <1712362316.be766b5b349fc88b7c91c35074560d162240c3fd.chutzpah@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-laptop/framework-laptop-kmod/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-laptop/framework-laptop-kmod/Manifest app-laptop/framework-laptop-kmod/framework-laptop-kmod-0_pre20240405.ebuild X-VCS-Directories: app-laptop/framework-laptop-kmod/ X-VCS-Committer: chutzpah X-VCS-Committer-Name: Patrick McLean X-VCS-Revision: be766b5b349fc88b7c91c35074560d162240c3fd X-VCS-Branch: master Date: Sat, 6 Apr 2024 00:12:07 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: d47083ed-5169-4947-8c3b-b818c00c50f3 X-Archives-Hash: 3a5304d8efc4e1c4c06908a4fa111ff4 commit: be766b5b349fc88b7c91c35074560d162240c3fd Author: Patrick McLean gentoo org> AuthorDate: Sat Apr 6 00:11:22 2024 +0000 Commit: Patrick McLean gentoo org> CommitDate: Sat Apr 6 00:11:56 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be766b5b app-laptop/framework-laptop-kmod: add 0_pre20240405 Signed-off-by: Patrick McLean gentoo.org> app-laptop/framework-laptop-kmod/Manifest | 1 + .../framework-laptop-kmod-0_pre20240405.ebuild | 54 ++++++++++++++++++++++ 2 files changed, 55 insertions(+) diff --git a/app-laptop/framework-laptop-kmod/Manifest b/app-laptop/framework-laptop-kmod/Manifest index 01e2b0eabccc..b6c8461a30ef 100644 --- a/app-laptop/framework-laptop-kmod/Manifest +++ b/app-laptop/framework-laptop-kmod/Manifest @@ -1 +1,2 @@ DIST framework-laptop-kmod-0_pre20231204.gh.tar.gz 10728 BLAKE2B 921112a6f895c916a6f1403d405472bbb084a84aa42cc80d938f59f692f49a535a8e5613dc01d07b502a86d2a5e4f9c16999d9edf495b75027dbc81f5845da79 SHA512 e104011e15fad74c5d74050844471aaeb20354304f3e6985b6d3f40fa82169d2c7c893a98cf3c49e7a4138c899b0197b3c538454d4494750ce22b50d169440dc +DIST framework-laptop-kmod-0_pre20240405.gh.tar.gz 13016 BLAKE2B 10a92fbbb1974213846ca4d4bc3bec5074b192661ea46e178c9786f2fbec63fb0beff9439d1d1ae9cd633d83207d5272549ef0975a5c23cfe77219df6513ba24 SHA512 243a51eb454c68433fb74027c6675da1227907c9fcf546ef4ae624c031ee701dbeef49b4cc6b8077d3c9e5284a524e13277518fae7449dd7142899b4c5bb3e5e diff --git a/app-laptop/framework-laptop-kmod/framework-laptop-kmod-0_pre20240405.ebuild b/app-laptop/framework-laptop-kmod/framework-laptop-kmod-0_pre20240405.ebuild new file mode 100644 index 000000000000..681b5a814f8f --- /dev/null +++ b/app-laptop/framework-laptop-kmod/framework-laptop-kmod-0_pre20240405.ebuild @@ -0,0 +1,54 @@ +# Copyright 2023-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit linux-mod-r1 + +COMMIT_HASH="6ee08ebb558627863236ff00fab98d25f582ac01" +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_setup() { + linux-mod-r1_pkg_setup + + MODULES_MAKEARGS+=( + KDIR="${KERNEL_DIR}" + ) +} + +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 +}