Skip to content

Commit

Permalink
app-laptop/framework-laptop-kmod: new package, add 0_pre20231129
Browse files Browse the repository at this point in the history
Signed-off-by: Patrick McLean <[email protected]>
  • Loading branch information
chutz committed Nov 30, 2023
1 parent 1447a48 commit 8274846
Show file tree
Hide file tree
Showing 3 changed files with 58 additions and 0 deletions.
1 change: 1 addition & 0 deletions app-laptop/framework-laptop-kmod/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DIST framework-laptop-kmod-0_pre20231129.gh.tar.gz 10672 BLAKE2B 9fd39ca526e29054e31af264bc7f6521fdfe7348c5a4083fef4ba012cb5c2b84d5d91f4ba93d37c78052d5ee3b9e384f3adde234a41763ef2f324fab180f2517 SHA512 0fbcb2e34daac1e7d2d7b345b8e7b0d07777908a181fcbe5860af1a9da1de8db36c8b44bb8ab95bac36976fc9e83f156f11f940bf51a976096fdd7c065a07341
Original file line number Diff line number Diff line change
@@ -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
}
11 changes: 11 additions & 0 deletions app-laptop/framework-laptop-kmod/metadata.xml
Original file line number Diff line number Diff line change
@@ -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>

0 comments on commit 8274846

Please sign in to comment.