app-laptop/tuxedo-control-center-bin: cleaning up old

Signed-off-by: Ilya Raykker <ilya.th.kapitonov@gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/45301
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Ilya Raykker
2026-02-11 05:31:45 +00:00
committed by Sam James
parent ba0ff8e4a7
commit f9f8e62dfd
4 changed files with 0 additions and 283 deletions
@@ -1,4 +1 @@
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.16.rpm 81170157 BLAKE2B 3fde92cda956dbbcafd7881926ce05c9d03f901b5fa5b51e7622696f6abf62d9962f3978183dee518b36d261917ca773a31bfc292780fcb3efdc542ad41e3b92 SHA512 ccf6c6965848a14a25b4f71fa4c5a942201ead680a32ece83e20ae51c26d9a45da1e8b56c096108220e542945ccd39d2ed3f4a793d847225350f24feb6e968af
@@ -1,81 +0,0 @@
# 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"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="-* ~amd64"
RESTRICT="strip splitdebug"
DEPEND=">=app-laptop/tuxedo-drivers-3.2.14"
RDEPEND="${DEPEND}"
# See bug #827729
BDEPEND="app-arch/xz-utils[extra-filters(+)]"
S="${WORKDIR}"
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
}
@@ -1,99 +0,0 @@
# 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"
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(+)]"
S="${WORKDIR}"
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
}
@@ -1,100 +0,0 @@
# 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
}