summaryrefslogtreecommitdiff
path: root/app-laptop
diff options
context:
space:
mode:
Diffstat (limited to 'app-laptop')
-rw-r--r--app-laptop/Manifest.gzbin3604 -> 3608 bytes
-rw-r--r--app-laptop/tuxedo-control-center-bin/Manifest2
-rw-r--r--app-laptop/tuxedo-control-center-bin/tuxedo-control-center-bin-2.1.14.ebuild100
-rw-r--r--app-laptop/tuxedo-drivers/Manifest4
-rw-r--r--app-laptop/tuxedo-drivers/tuxedo-drivers-4.11.4-r1.ebuild (renamed from app-laptop/tuxedo-drivers/tuxedo-drivers-4.5.0.ebuild)19
5 files changed, 122 insertions, 3 deletions
diff --git a/app-laptop/Manifest.gz b/app-laptop/Manifest.gz
index 253718cc0aab..2a593a63b7fd 100644
--- a/app-laptop/Manifest.gz
+++ b/app-laptop/Manifest.gz
Binary files differ
diff --git a/app-laptop/tuxedo-control-center-bin/Manifest b/app-laptop/tuxedo-control-center-bin/Manifest
index 0076cec017a1..235889b91565 100644
--- a/app-laptop/tuxedo-control-center-bin/Manifest
+++ b/app-laptop/tuxedo-control-center-bin/Manifest
@@ -1,8 +1,10 @@
AUX tccd.initd 673 BLAKE2B 418e8a473ca8592c7de313a4a18a71172555ed3a79cb7c5f22dca8932883ae0190c091d0585773d3a5ceec6637611740744fdaa4542b00edecbc04e00a39eab0 SHA512 d08f4e4b11e9a1b62c5694fba862cd6fc223e2461a93272fd7085daf7f7942cf15dad0f9370257d19f9252e2d38c82c15de4d311cc037326edf6dc4f05e2bebd
DIST tuxedo-control-center_2.0.2.rpm 80479580 BLAKE2B 7c83fd64ee8d7ca8b50e3634d36567d3a930656c5e34f23fd7b703bc560d35376701df081aaa5d09692df61689a5a81ec87a8a4a8d55db2cc2577c638d02731b SHA512 e9c9abfc2c0d0e226038f49d388a31625120f6780558b7606e719be61a4563c698e4c46d6f0d6a3e774179a5f5785dc07ff243901578da474dfa80cf71fe0394
DIST tuxedo-control-center_2.0.8.rpm 80495472 BLAKE2B 30ff8c5073b42299b4def5958254393727957b4289958bf486520fc6bad83184f3f8fc5baf97d2040ecfa551cafe8b2225b15cbbc8a6012113a9a64471a13aa6 SHA512 6f24394d1eda91e5a58fae29926f42271350917c9222062d99967f42f465e8769e6c50510967923612eb54d5c2921512adc4e6a5c743b922197e2603d6bc5c9b
+DIST tuxedo-control-center_2.1.14.rpm 81169037 BLAKE2B f6ef61b56fcd96a60c7b51e94459ad6fd2de86c02e8bdd0e9e26f90e0e2f403441dabab1ab2aa52c1604b2c2d73e7ccabbb221a139516e60cbcafeb259687d90 SHA512 f55412580c086a737addd8dfb0018bc819268ecb6144a488e602beea53a762c2addd01bd1a363bd9d9270efe5d634868a15c3821954e6a308d72c1a40b083b07
DIST tuxedo-control-center_2.1.8.rpm 81160628 BLAKE2B aa50c9b2fd6e6a0b0a996fcb0243c57fe5cd3d82e5e0d372c46a409a3bef51c52e45c0ccab30cb430907cdb8dce28019297d5bb6f359a9bfeafd804d4ae48295 SHA512 0caf10c24b54e943dd465a9f87b74916da5f2424ddf57a2a50d6a3f38b19d83d0b2512982b36db2cb8d07b632fc16b999904a2b447f80507b6af33a40a01c22e
EBUILD tuxedo-control-center-bin-2.0.2.ebuild 2209 BLAKE2B 55cf86f265bb4ff42d712d33d34d02cea62ee9465325da64ee9457cc72fae75ce6408d08b54d3833ed03e3203154f04de64de9402ec6137a751eceab6dc8f0e0 SHA512 cad318fe3fcee3161a693112fb4c6f22ea78d4da8bfb3d60fd9ceea314247e9ad329bc59a490a2f9866ce1f0eea83ccbb1d6a3f41b83e4570eb81bc29c4a991a
EBUILD tuxedo-control-center-bin-2.0.8-r1.ebuild 2538 BLAKE2B a20a330df191402cfe34392d9013d3695a591e04b14400f75d413da6ab875a36c553eb3db072df494f3f28d0148c87bd46f6ef5c3cbf460932db05dbdc562ff5 SHA512 a3334bea4b24270bb58767cd34903ac3a0349ef8a27a9bd7de4eba2ec8304fc2cf68c2cb5e7dcdb355bc37804c52289e79923e082b93f389511d77591406b745
+EBUILD tuxedo-control-center-bin-2.1.14.ebuild 2539 BLAKE2B 7c5f9cc585a830ff22b8bf8fa9df3aa2312ec3e8fdcd90f56021c1e81cf250053fb0eb8d2e49f91f7f715d20da4673dbe51e70df346ffe082bdef45602659223 SHA512 a0400c76fa331e4f3fcc418b4d2892be44ba8d839342147ef1ab8a9f93f3294ad6b4de3c251b427f79379c5182fd60f0d1e12150b8a5e276e783c2f3bb3f7556
EBUILD tuxedo-control-center-bin-2.1.8.ebuild 2539 BLAKE2B 7c5f9cc585a830ff22b8bf8fa9df3aa2312ec3e8fdcd90f56021c1e81cf250053fb0eb8d2e49f91f7f715d20da4673dbe51e70df346ffe082bdef45602659223 SHA512 a0400c76fa331e4f3fcc418b4d2892be44ba8d839342147ef1ab8a9f93f3294ad6b4de3c251b427f79379c5182fd60f0d1e12150b8a5e276e783c2f3bb3f7556
MISC metadata.xml 353 BLAKE2B 47a9f99d0e75bc84826b971868085f87ea41b27b43ac799022ca946a95bd2ec17709c4f8a3348da857be5868dacf4c0054370bea19b58c97fa18ac692266a1db SHA512 23a55745ddd0bff3320be5c5fbd81d2db654b06a5b899a71b12aa1d11d6b17e6a7ac209237cbd4181b1586e33305bd45397b843f608dbc93c4dd12516f23c88e
diff --git a/app-laptop/tuxedo-control-center-bin/tuxedo-control-center-bin-2.1.14.ebuild b/app-laptop/tuxedo-control-center-bin/tuxedo-control-center-bin-2.1.14.ebuild
new file mode 100644
index 000000000000..643a2bb37d4e
--- /dev/null
+++ b/app-laptop/tuxedo-control-center-bin/tuxedo-control-center-bin-2.1.14.ebuild
@@ -0,0 +1,100 @@
+# Copyright 2021-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit rpm systemd xdg-utils
+
+MY_PN="${PN/-bin/}"
+
+DESCRIPTION="Tool to control performance, energy, fan and comfort settings on TUXEDO laptops"
+HOMEPAGE="https://github.com/tuxedocomputers/tuxedo-control-center"
+SRC_URI="https://rpm.tuxedocomputers.com/opensuse/15.4/x86_64/${MY_PN}_${PV}.rpm"
+
+S="${WORKDIR}"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="-* ~amd64"
+
+RESTRICT="strip splitdebug"
+
+DEPEND=">=app-laptop/tuxedo-drivers-3.2.14"
+RDEPEND="
+ ${DEPEND}
+ app-accessibility/at-spi2-core
+ dev-libs/nss
+ dev-libs/nspr
+ media-libs/alsa-lib
+ media-libs/mesa[X(+)]
+ net-print/cups
+ x11-libs/gdk-pixbuf
+ x11-libs/gtk+:3[X]
+ x11-libs/libXcomposite
+ x11-libs/libXdamage
+ x11-libs/libXfixes
+ x11-libs/libXrandr
+ x11-libs/libdrm
+ x11-libs/libxkbcommon
+ x11-libs/libxshmfence
+ x11-libs/pango
+"
+# See bug #827729
+BDEPEND="app-arch/xz-utils[extra-filters(+)]"
+
+QA_PREBUILT="opt/tuxedo-control-center/*"
+
+src_prepare() {
+ default
+ rm -rf usr/lib || die "could not remove usr/lib"
+ mkdir files || die "could not create files dir"
+}
+
+src_install() {
+ insinto /
+ doins -r usr opt
+ find . -type f -perm -a=x | while read f; do
+ fperms 0755 "${f/./}"
+ done
+
+ dosym ../../opt/tuxedo-control-center/tuxedo-control-center /usr/bin/tuxedo-control-center
+
+ insinto /usr/share/dbus-1/system.d/
+ doins opt/tuxedo-control-center/resources/dist/tuxedo-control-center/data/dist-data/com.tuxedocomputers.tccd.conf
+
+ insinto /usr/share/polkit-1/actions
+ doins opt/tuxedo-control-center/resources/dist/tuxedo-control-center/data/dist-data/com.tuxedocomputers.tccd.policy
+
+ systemd_dounit opt/tuxedo-control-center/resources/dist/tuxedo-control-center/data/dist-data/tccd.service
+ systemd_dounit opt/tuxedo-control-center/resources/dist/tuxedo-control-center/data/dist-data/tccd-sleep.service
+
+ newinitd "${FILESDIR}/tccd.initd" tccd
+}
+
+pkg_config() {
+ ebegin "Reloading systemd"
+ systemctl daemon-reload
+ eend $?
+ ebegin "Enabling and starting tccd.service"
+ systemctl enable --now tccd
+ eend $?
+ ebegin "Enabling and starting tccd-sleep.service"
+ systemctl enable --now tccd-sleep
+ eend $?
+}
+
+pkg_postinst() {
+ xdg_desktop_database_update
+ xdg_icon_cache_update
+ elog
+ elog "You need to enable tccd and tccd-sleep service before running tuxedo-control-center"
+ elog
+ elog "For your convenience, if you use systemd, you may just call:"
+ elog " emerge --config =app-laptop/${PF}"
+ elog
+}
+
+pkg_postrm() {
+ xdg_desktop_database_update
+ xdg_icon_cache_update
+}
diff --git a/app-laptop/tuxedo-drivers/Manifest b/app-laptop/tuxedo-drivers/Manifest
index 73636d6b049d..d528a210daca 100644
--- a/app-laptop/tuxedo-drivers/Manifest
+++ b/app-laptop/tuxedo-drivers/Manifest
@@ -1,7 +1,7 @@
DIST tuxedo-drivers-v3.2.14.tar.bz2 55567 BLAKE2B 4104c76f9bb7d1f5887caad8a4bec90531a85397b642baced65130159e91e304c68896ea2dce173ee0ec31742e2786b976411a75464d9560e338ea16f18a9766 SHA512 edf0c1a4161a4a4fc09882d0905556299ec62358d9c32e716b1ad0daf230b8de9ec026daba97a964fe4a1e757eb860669840b4e9219ede42043e39eef2fc2ec8
-DIST tuxedo-drivers-v4.5.0.tar.bz2 57633 BLAKE2B 3796aaa7504c21c444f86dadb4b6cfd2e07a916fb105043fc9252693bb15aa763b9dea3f0d27326098159fc79b1be01dadf4adf975b9bf9ff53da90248b3e781 SHA512 e86afb855958ce74662649b948632f08ec1cb597f150d603bbef3cd8ef351cc219c798c4e884196f4f8611bb08e5ca4faad6307b0db243fd38da2f5008815cee
+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
EBUILD tuxedo-drivers-3.2.14.ebuild 750 BLAKE2B 1a739611ef4399596af03f97d14597d834518f2619542721fcb3deb571307f7db694255eda75a4477d6c93b188873e8e07c632f5e11f888c2fabe29817ffab38 SHA512 4cf334873eafd495d2dbaca7039becf9a94e1c55a439e0b02a80cdd9b4733084d2958a725da29a57944a9539f39ecd91c200d1825be987b83a941ff4ca302287
-EBUILD tuxedo-drivers-4.5.0.ebuild 1603 BLAKE2B 286f18e449fa3e480729aee5fec87ea40d865f4177b08fd7b8139d909b8ddf3961321b19e2a67f5e97504408f3b0fa11455162c876bff6e287f728351c132141 SHA512 315ad1c732be1c0a15ac10887945033d3b948ae905637248b4083a80dcba4d3b77b1d2c0d1dd5a3042629ce45da7ba0b03b862cc9f25cb167bf7b86c1293a2cb
+EBUILD tuxedo-drivers-4.11.4-r1.ebuild 2057 BLAKE2B 747ba77a1dec69005df0037fd9caa799e49f020ec6c4ba2d6533cf493e7e0bc12557d1dbea0086fa74252da4d226faced04b71bac399da11c6a8acef1a0d0278 SHA512 f9ff71ae86e197af7781ee88ca49dd44f266d8fb8a6690690031e47514745744b94a06a889ba04348972c6ca749995e8d0a6e19240d9667503521371a73b1f47
EBUILD tuxedo-drivers-4.6.1.ebuild 1603 BLAKE2B 7bb099278ab29908892e392590a0fefaf15ede9ebcbb846cc7d68efca1c5e98e211434725c4adc388b4e10fc3027383fec3915178f1878fdd6abbdd79314a8d7 SHA512 690ffbca4e0ff2cffb802b7d2b8ae03cb8b32643a794a20291ce27d206684ed5e1989ec9073e8e6df39fc3a85e970dfdaa2ff8c3c8c274cce6a53d5535b69097
MISC metadata.xml 377 BLAKE2B 71b506a1855b9c50eadf9900181f42e9e07190fd9a420fcf3f79f2672dea73997c4cd5cbd61e4a1ee8491190e5cf788fc74999179334c20230ae2b9aa10776b0 SHA512 41f5c9c71ac682008251a2d6b7a0349f32d70b42ddf215617ac1144710fcc5e591864f1a5c3f6b5b54c1e36f311469d1d1d4cbc6840e89097ab95c828ed78d1e
diff --git a/app-laptop/tuxedo-drivers/tuxedo-drivers-4.5.0.ebuild b/app-laptop/tuxedo-drivers/tuxedo-drivers-4.11.4-r1.ebuild
index cea02b685550..55a673c07c8c 100644
--- a/app-laptop/tuxedo-drivers/tuxedo-drivers-4.5.0.ebuild
+++ b/app-laptop/tuxedo-drivers/tuxedo-drivers-4.11.4-r1.ebuild
@@ -6,7 +6,7 @@ CONFIG_CHECK="ACPI_WMI INPUT_SPARSEKMAP"
inherit linux-mod-r1
-DESCRIPTION="Kernel Module for Tuxedo Keyboard"
+DESCRIPTION="Kernel modules for TUXEDO laptops"
HOMEPAGE="https://gitlab.com/tuxedocomputers/development/packages/tuxedo-drivers"
SRC_URI="https://gitlab.com/tuxedocomputers/development/packages/${PN}/-/archive/v${PV}/${PN}-v${PV}.tar.bz2"
@@ -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