2023-02-26 23:31:19 +00:00
|
|
|
# Copyright 1999-2023 Gentoo Authors
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
|
|
|
EAPI=8
|
|
|
|
CONFIG_CHECK="ACPI_WMI INPUT_SPARSEKMAP"
|
|
|
|
|
2023-12-27 12:34:32 +00:00
|
|
|
inherit linux-mod-r1
|
2023-02-26 23:31:19 +00:00
|
|
|
|
|
|
|
DESCRIPTION="Kernel Module for Tuxedo Keyboard"
|
|
|
|
HOMEPAGE="https://github.com/tuxedocomputers/tuxedo-keyboard"
|
|
|
|
SRC_URI="https://github.com/tuxedocomputers/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
|
|
|
|
|
|
LICENSE="GPL-3"
|
|
|
|
SLOT="0"
|
|
|
|
KEYWORDS="~amd64 ~x86"
|
|
|
|
|
2023-12-27 12:34:32 +00:00
|
|
|
PATCHES=( )
|
2023-02-26 23:31:19 +00:00
|
|
|
|
2023-12-27 12:34:32 +00:00
|
|
|
src_compile() {
|
|
|
|
local modlist=(
|
|
|
|
clevo_acpi=tuxedo::src
|
|
|
|
clevo_wmi=tuxedo::src
|
|
|
|
uniwill_wmi=tuxedo::src
|
|
|
|
tuxedo_keyboard=tuxedo::src
|
|
|
|
tuxedo_io=tuxedo::src/tuxedo_io
|
|
|
|
)
|
|
|
|
local modargs=( KDIR=${KV_OUT_DIR} )
|
|
|
|
|
|
|
|
linux-mod-r1_src_compile
|
2023-02-26 23:31:19 +00:00
|
|
|
}
|