commit: e836f5853f889c9c01f187d089a4a862321df9f8 Author: Yixun Lan <dlan <AT> gentoo <DOT> org> AuthorDate: Fri Oct 10 13:42:06 2025 +0000 Commit: Yixun Lan <dlan <AT> gentoo <DOT> org> CommitDate: Fri Oct 10 13:45:07 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e836f585
sys-power/thermald: add 2.5.10 Closes: https://bugs.gentoo.org/963800 Signed-off-by: Yixun Lan <dlan <AT> gentoo.org> sys-power/thermald/Manifest | 1 + sys-power/thermald/thermald-2.5.10.ebuild | 55 +++++++++++++++++++++++++++++++ 2 files changed, 56 insertions(+) diff --git a/sys-power/thermald/Manifest b/sys-power/thermald/Manifest index b6662181a6af..367504b19a63 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.8.tar.gz 179188 BLAKE2B a00844e0147fdb104881624ba1ecbaa565155e4554b218b04b0edd4434f552e2bcc047e6eaada30b0e63b702a75318392ef8c39a8013003377c3e9ee80e694ab SHA512 d74d487e0fa0b51289b4cda2d9094eef6467993a8ca9ba5e2ac8af2fb8e7b9283116ca0647e604ab4d3c445657b31869201287d5ceace0221f7717b0a2cd244d DIST thermald-2.5.9.tar.gz 182016 BLAKE2B 200609171070bae818f15505d75c5f3aefd265ff6ceca73e846b7efa25a73fc6c8635c59dcbb07c276e7547318ec8b232b00bacd4be936c3384e579c5c7823bc SHA512 0541cf490d9a97544b5c10a036a0d8219410c4451d0471b3896a62a743509cd41f5c9b862d81708a2c68603fbc0056268612d84089ef93308b91712c6d26854b diff --git a/sys-power/thermald/thermald-2.5.10.ebuild b/sys-power/thermald/thermald-2.5.10.ebuild new file mode 100644 index 000000000000..24fd168dbe76 --- /dev/null +++ b/sys-power/thermald/thermald-2.5.10.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2025 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 +}
