commit: efb38ea0c9efafa4b62c4a710dc3fabc26cb392f Author: Marc Schiffbauer <mschiff <AT> gentoo <DOT> org> AuthorDate: Fri Nov 29 23:48:34 2024 +0000 Commit: Marc Schiffbauer <mschiff <AT> gentoo <DOT> org> CommitDate: Fri Nov 29 23:48:34 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=efb38ea0
app-laptop/tuxedo-drivers: add config checks Signed-off-by: Marc Schiffbauer <mschiff <AT> gentoo.org> ...rs-4.11.4.ebuild => tuxedo-drivers-4.11.4-r1.ebuild} | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/app-laptop/tuxedo-drivers/tuxedo-drivers-4.11.4.ebuild b/app-laptop/tuxedo-drivers/tuxedo-drivers-4.11.4-r1.ebuild similarity index 77% rename from app-laptop/tuxedo-drivers/tuxedo-drivers-4.11.4.ebuild rename to app-laptop/tuxedo-drivers/tuxedo-drivers-4.11.4-r1.ebuild index 7d05531d1cef..55a673c07c8c 100644 --- a/app-laptop/tuxedo-drivers/tuxedo-drivers-4.11.4.ebuild +++ b/app-laptop/tuxedo-drivers/tuxedo-drivers-4.11.4-r1.ebuild @@ -18,6 +18,23 @@ KEYWORDS="~amd64 ~x86" PATCHES=( ) +pkg_setup() { + local CONFIG_CHECK=" + ACPI_WMI + IIO + INPUT_SPARSEKMAP + LEDS_CLASS_MULTICOLOR + " + + local ERROR_LEDS_CLASS_MULTICOLOR="CONFIG_LEDS_CLASS_MULTICOLOR: is required for keyboard backlight" + + local ERROR_ACPI_WMI="CONFIG_ACPI_WMI: is required for tuxedo-drivers" + local ERROR_INPUT_SPARSEKMAP="CONFIG_INPUT_SPARSEKMAP: is required for tuxedo-drivers" + local ERROR_IIOP="CONFIG_IIO: is required for tuxedo-drivers" + + linux-mod-r1_pkg_setup +} + src_compile() { local modlist=( clevo_acpi=tuxedo::src