commit: bd76cc701bfa27a84d8950185e322a6f4d5434cd Author: Marc Schiffbauer <mschiff <AT> gentoo <DOT> org> AuthorDate: Mon Jun 2 13:00:59 2025 +0000 Commit: Marc Schiffbauer <mschiff <AT> gentoo <DOT> org> CommitDate: Mon Jun 2 13:01:26 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd76cc70
app-laptop/tuxedo-drivers: add 4.13.1, drop 4.6.1 Closes: https://bugs.gentoo.org/956768 Closes: https://bugs.gentoo.org/937257 Signed-off-by: Marc Schiffbauer <mschiff <AT> gentoo.org> app-laptop/tuxedo-drivers/Manifest | 2 +- ...s-4.6.1.ebuild => tuxedo-drivers-4.13.1.ebuild} | 45 ++++++++++++++++++++-- 2 files changed, 43 insertions(+), 4 deletions(-) diff --git a/app-laptop/tuxedo-drivers/Manifest b/app-laptop/tuxedo-drivers/Manifest index b190c66d4012..fc482e8cf1a0 100644 --- a/app-laptop/tuxedo-drivers/Manifest +++ b/app-laptop/tuxedo-drivers/Manifest @@ -1,3 +1,3 @@ DIST tuxedo-drivers-v3.2.14.tar.bz2 55567 BLAKE2B 4104c76f9bb7d1f5887caad8a4bec90531a85397b642baced65130159e91e304c68896ea2dce173ee0ec31742e2786b976411a75464d9560e338ea16f18a9766 SHA512 edf0c1a4161a4a4fc09882d0905556299ec62358d9c32e716b1ad0daf230b8de9ec026daba97a964fe4a1e757eb860669840b4e9219ede42043e39eef2fc2ec8 DIST tuxedo-drivers-v4.11.4.tar.bz2 65426 BLAKE2B b03087961b77c7b06d5a89a53662d4407a1e9b1a2ce8573226190ced4495addb5bd5cb6d604feb9783f447b3effe7a7d670a6b946998a07af8027d0c4fa77805 SHA512 9c46d4fbb798e9aa035fcc5f522e2b0400a15c5c0b26cc2ccd46c4d65c4f3ce5fdb7b469d2ccb782f5591eb9ec9df399e79fcbd96cba834cee10fa42f5a34d89 -DIST tuxedo-drivers-v4.6.1.tar.bz2 58846 BLAKE2B 251262584b25ce98139cb4fe0b5aaccaaf4a1bc4715d9dc553d53b6a4db93d8c9f1048c110641aa436ebe6841c2cfbf526d25612be73a3b2535352c3b538bc36 SHA512 6973367d2e35d10192fd9413c627beeb0cbe5e3fb2306416a0b4530d92426e89add0312683e43de733f9b80c296a5b91d5738e2e550ccc70847f1723fda3414c +DIST tuxedo-drivers-v4.13.1.tar.bz2 65782 BLAKE2B f68da7c28b9a66af18aab2e66da5ceb6d545074466d77cb831382972425028c0b6d76ec33a789cf0f493301e3203b62b42c4e3ff1218409aaf3df825feb459cc SHA512 76d2f0ebda92cdac6df7df37d90db0b915abdc9de331ad193b18234ee22004bbbd9a77e0a2b278199e21ab42f686d59eff2fc6a0968e674e0363818fe140092f diff --git a/app-laptop/tuxedo-drivers/tuxedo-drivers-4.6.1.ebuild b/app-laptop/tuxedo-drivers/tuxedo-drivers-4.13.1.ebuild similarity index 61% rename from app-laptop/tuxedo-drivers/tuxedo-drivers-4.6.1.ebuild rename to app-laptop/tuxedo-drivers/tuxedo-drivers-4.13.1.ebuild index 7d05531d1cef..0acde3420906 100644 --- a/app-laptop/tuxedo-drivers/tuxedo-drivers-4.6.1.ebuild +++ b/app-laptop/tuxedo-drivers/tuxedo-drivers-4.13.1.ebuild @@ -1,10 +1,9 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -CONFIG_CHECK="ACPI_WMI INPUT_SPARSEKMAP" -inherit linux-mod-r1 +inherit linux-mod-r1 udev DESCRIPTION="Kernel modules for TUXEDO laptops" HOMEPAGE="https://gitlab.com/tuxedocomputers/development/packages/tuxedo-drivers" @@ -16,16 +15,38 @@ LICENSE="GPL-3" SLOT="0" KEYWORDS="~amd64 ~x86" +RDEPEND="virtual/udev" +DEPEND="${RDEPEND}" + 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 clevo_wmi=tuxedo::src + gxtp7380=tuxedo::src/gxtp7380 ite_8291=tuxedo::src/ite_8291 ite_8291_lb=tuxedo::src/ite_8291_lb ite_8297=tuxedo::src/ite_8297 ite_829x=tuxedo::src/ite_829x + stk8321=tuxedo::src/stk8321 tuxedo_compatibility_check=tuxedo::src/tuxedo_compatibility_check tuxedo_io=tuxedo::src/tuxedo_io tuxedo_keyboard=tuxedo::src @@ -42,9 +63,27 @@ src_compile() { tuxedo_nb05_keyboard=tuxedo::src/tuxedo_nb05 tuxedo_nb05_power_profiles=tuxedo::src/tuxedo_nb05 tuxedo_nb05_sensors=tuxedo::src/tuxedo_nb05 + tuxedo_tuxi_fan_control=tuxedo::src/tuxedo_tuxi + tuxi_acpi=tuxedo::src/tuxedo_tuxi uniwill_wmi=tuxedo::src ) local modargs=( KDIR=${KV_OUT_DIR} ) linux-mod-r1_src_compile } +src_install() { + insinto /usr/lib/udev/hwdb.d + doins *.hwdb + udev_dorules *.rules + linux-mod-r1_src_install +} + +pkg_postinst() { + linux-mod-r1_pkg_postinst + systemd-hwdb update --root="${ROOT}" + udev_reload +} + +pkg_postrm() { + udev_reload +}
