forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
app-laptop/framework-laptop-kmod: new package, add 0_pre20231129
Signed-off-by: Patrick McLean <[email protected]>
- Loading branch information
Showing
3 changed files
with
58 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
46 changes: 46 additions & 0 deletions
46
app-laptop/framework-laptop-kmod/framework-laptop-kmod-0_pre20231129.ebuild
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |