summaryrefslogtreecommitdiff
path: root/app-laptop/tuxedo-control-center-bin
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-06-03 00:07:26 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-06-03 00:07:26 +0100
commita3bb28551df94028000fb72308a9e9baa01458b0 (patch)
tree33b14c7bf0dffbd5bb04dbd5b395514ebdda4896 /app-laptop/tuxedo-control-center-bin
parent6657c680376cedf378fcf328e5fa03ed3b41d580 (diff)
gentoo auto-resync : 03:06:2024 - 00:07:25
Diffstat (limited to 'app-laptop/tuxedo-control-center-bin')
-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.8.ebuild100
2 files changed, 102 insertions, 0 deletions
diff --git a/app-laptop/tuxedo-control-center-bin/Manifest b/app-laptop/tuxedo-control-center-bin/Manifest
index 549280167174..c8244cc2a814 100644
--- a/app-laptop/tuxedo-control-center-bin/Manifest
+++ b/app-laptop/tuxedo-control-center-bin/Manifest
@@ -1,6 +1,8 @@
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.8.rpm 81160628 BLAKE2B aa50c9b2fd6e6a0b0a996fcb0243c57fe5cd3d82e5e0d372c46a409a3bef51c52e45c0ccab30cb430907cdb8dce28019297d5bb6f359a9bfeafd804d4ae48295 SHA512 0caf10c24b54e943dd465a9f87b74916da5f2424ddf57a2a50d6a3f38b19d83d0b2512982b36db2cb8d07b632fc16b999904a2b447f80507b6af33a40a01c22e
EBUILD tuxedo-control-center-bin-2.0.2.ebuild 2206 BLAKE2B b2a69cdea975ea148911434fd209acc90c7a952635532fdc27eb9f97371ff89f6d9040928ec3020550d4f3ab9b6a2d4a233b96f9faa3b3b22762a8cb534c1799 SHA512 ccc8091d53a6e1ad87caed0118615c3bd86bd31d504f884bc14c2bafaea76980e4538b05dd17a860b77956d7e788217f0be852d1565a9ee9427429d10d0569b2
EBUILD tuxedo-control-center-bin-2.0.8-r1.ebuild 2535 BLAKE2B 71cecfcd25c0f54cbbd2a6635f7f6ba841c5e950d0ffd7e10a0a90ccbc69419dbfa70ef20d18ee49e560d09737699d72639ad44531326553a41de612c93a8d22 SHA512 81c451f1b0d06bea9162382cf6839a9a26d37bfa88b1445057be6a062854584e3440bd43e0d7e6021c5b9d6d93119a733104eb05b6a53e3bf8f1973f65f2655e
+EBUILD tuxedo-control-center-bin-2.1.8.ebuild 2536 BLAKE2B 5b019081bd8f87729b84e981b1acb428879304e432dec587c2eb0c9eb77c6cbab43690ccde32ca51fc7b893a6fb9847de1a71456e2f4c665e4eabebbec6cb594 SHA512 d403c6b52a7956931c4beafe169e647de65258395796f60c3c1fe0cd87898cfbbab2da553fa99b3322304529c6615e2f2118fe20088afa084d59641746364b2c
MISC metadata.xml 353 BLAKE2B 47a9f99d0e75bc84826b971868085f87ea41b27b43ac799022ca946a95bd2ec17709c4f8a3348da857be5868dacf4c0054370bea19b58c97fa18ac692266a1db SHA512 23a55745ddd0bff3320be5c5fbd81d2db654b06a5b899a71b12aa1d11d6b17e6a7ac209237cbd4181b1586e33305bd45397b843f608dbc93c4dd12516f23c88e
diff --git a/app-laptop/tuxedo-control-center-bin/tuxedo-control-center-bin-2.1.8.ebuild b/app-laptop/tuxedo-control-center-bin/tuxedo-control-center-bin-2.1.8.ebuild
new file mode 100644
index 000000000000..374b1c614f5a
--- /dev/null
+++ b/app-laptop/tuxedo-control-center-bin/tuxedo-control-center-bin-2.1.8.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
+}