summaryrefslogtreecommitdiff
path: root/sys-power/thermald/thermald-2.5.1.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-03-20 06:36:29 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-03-20 06:36:29 +0000
commit4c60e3b3235bcc7f291760881f8b40660a518471 (patch)
treee0495f40b57545a8c3ef6cf23c7717e6621e7885 /sys-power/thermald/thermald-2.5.1.ebuild
parent84be07a71d5002585ac714a892bbfd57f3091b4e (diff)
gentoo auto-resync : 20:03:2023 - 06:36:29
Diffstat (limited to 'sys-power/thermald/thermald-2.5.1.ebuild')
-rw-r--r--sys-power/thermald/thermald-2.5.1.ebuild6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys-power/thermald/thermald-2.5.1.ebuild b/sys-power/thermald/thermald-2.5.1.ebuild
index 97ae4f71f839..bcc7f1b46b8a 100644
--- a/sys-power/thermald/thermald-2.5.1.ebuild
+++ b/sys-power/thermald/thermald-2.5.1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-inherit autotools out-of-source systemd
+inherit autotools linux-info out-of-source systemd
DESCRIPTION="Thermal daemon for Intel architectures"
HOMEPAGE="https://github.com/intel/thermal_daemon"
@@ -28,6 +28,8 @@ DEPEND="${RDEPEND}
S=${WORKDIR}/thermal_daemon-${PV}
DOCS=( thermal_daemon_usage.txt README.txt )
+CONFIG_CHECK="~PERF_EVENTS_INTEL_RAPL ~X86_INTEL_PSTATE ~INTEL_POWERCLAMP ~INT340X_THERMAL ~ACPI_THERMAL_REL ~INT3406_THERMAL"
+
src_prepare() {
sed -i -e "/group=/s/power/wheel/g" \
data/org.freedesktop.thermald.conf || die