commit: fc8712ab9f0a9856d3f19784519a2b5ed80de891 Author: Yixun Lan <dlan <AT> gentoo <DOT> org> AuthorDate: Mon Feb 23 11:57:39 2026 +0000 Commit: Yixun Lan <dlan <AT> gentoo <DOT> org> CommitDate: Mon Feb 23 11:57:39 2026 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc8712ab
sys-power/thermald: add 2.5.11 Signed-off-by: Yixun Lan <dlan <AT> gentoo.org> sys-power/thermald/Manifest | 1 + sys-power/thermald/thermald-2.5.11.ebuild | 55 +++++++++++++++++++++++++++++++ 2 files changed, 56 insertions(+) diff --git a/sys-power/thermald/Manifest b/sys-power/thermald/Manifest index 4caa69749d59..3a09d473bc06 100644 --- a/sys-power/thermald/Manifest +++ b/sys-power/thermald/Manifest @@ -1,2 +1,3 @@ DIST thermald-2.5.10.tar.gz 182812 BLAKE2B 797e7235b9edcd82c0d2cbae243e6d91e8f892eed77544424ccf249b77c89aaec542763d142e2dc3277ace0e980fb6bcdecad1155982b2860ad0c501bc0e11fd SHA512 a1265e6f7c940a0651d5652c81e13ec1d16c8836eb80622f3d51dac9c054b96d4d78c0988162cfa574578735804b3ee8d1c5eb2c1163ae516bd263ec5d6e2328 +DIST thermald-2.5.11.tar.gz 158546 BLAKE2B 8f692e79b94883a5825f2948a8b0fd58a3f2221c4e17dbf5e7330824de163684ea35c8c22cd9a11e6a4d49d65c59377f567c99497bfa61465cb97a49c323f02d SHA512 6b766f8b0549d2f9d597282f172f18e4e38053d73ae320b0e9bfad85c43e8db03d52c4cfcf4afcf025ce9beee71eb38c88c9faeabfd01c0ac28525e0eae0b1f1 DIST thermald-2.5.9.tar.gz 182016 BLAKE2B 200609171070bae818f15505d75c5f3aefd265ff6ceca73e846b7efa25a73fc6c8635c59dcbb07c276e7547318ec8b232b00bacd4be936c3384e579c5c7823bc SHA512 0541cf490d9a97544b5c10a036a0d8219410c4451d0471b3896a62a743509cd41f5c9b862d81708a2c68603fbc0056268612d84089ef93308b91712c6d26854b diff --git a/sys-power/thermald/thermald-2.5.11.ebuild b/sys-power/thermald/thermald-2.5.11.ebuild new file mode 100644 index 000000000000..582ca1a3ca74 --- /dev/null +++ b/sys-power/thermald/thermald-2.5.11.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools linux-info out-of-source systemd + +DESCRIPTION="Thermal daemon for Intel architectures" +HOMEPAGE="https://github.com/intel/thermal_daemon" +SRC_URI="https://github.com/intel/thermal_daemon/archive/v${PV}.tar.gz -> ${P}.tar.gz" +S=${WORKDIR}/thermal_daemon-${PV} + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-libs/glib:= + dev-libs/libxml2:= + dev-libs/libevdev + sys-power/upower + sys-apps/dbus:=" +DEPEND="${RDEPEND} + dev-util/gtk-doc + dev-util/glib-utils" + +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 '/tdrundir/s@\$localstatedir/run@\$runstatedir@' \ + configure.ac || die + + sed -i -e 's@\$(AM_V_GEN) glib-compile-resources@cd \$(top_srcdir) \&\& &@' \ + Makefile.am || die + + default + eautoreconf +} + +my_src_configure() { + ECONF_SOURCE="${S}" econf \ + --disable-werror \ + --runstatedir="${EPREFIX}"/run \ + --with-dbus-power-group=wheel \ + --with-systemdsystemunitdir="$(systemd_get_systemunitdir)" +} + +my_src_install_all() { + einstalldocs + + rm -rf "${ED}"/etc/init || die + doinitd "${FILESDIR}"/thermald +}
