diff options
Diffstat (limited to 'sys-power/thermald')
-rw-r--r-- | sys-power/thermald/Manifest | 2 | ||||
-rw-r--r-- | sys-power/thermald/thermald-2.5.4.ebuild | 54 |
2 files changed, 56 insertions, 0 deletions
diff --git a/sys-power/thermald/Manifest b/sys-power/thermald/Manifest index 05831e74bf3b..e311494c77df 100644 --- a/sys-power/thermald/Manifest +++ b/sys-power/thermald/Manifest @@ -1,6 +1,8 @@ AUX thermald 385 BLAKE2B 3ffb7f013a3c0f7fbffab5386173e157617229c9c0a36bd9e6bec1f7d7892ae6dee314be21d95000b6086d60cd51112e40b057f7e102c5c1d77d09ccb856c56d SHA512 70420ee1d41d20c2c540467865b98bf98d51f7e23b3d4c80a94e06e039dfa6fb931cafab98d2c66c8fd1f35eea4b49c0e2ddc4eea81fb7654f11c977305ca4d6 DIST thermald-2.5.2.tar.gz 162307 BLAKE2B 884fbfb440a0b5e9d1d12bfd7b9173fd79f68b46c499e341f0afdf3d312e10bcd5956b14de7c4c8c0b4db1bc7b675025e3b108bc27cc3cbf236212d0bd642508 SHA512 50ec8c0afb62805d4a86eff91725c468c9035d4524d5d12c187c8b5bbff5a6e723ead7a32bda1a2964fa8a8a8ae437bc7c05d657ea1ac64e4a3d32e6dc0591e2 DIST thermald-2.5.3.tar.gz 162876 BLAKE2B bfdd297ff703588433d749bb64d0a0cd803b54192e3ee87449433ba89b726836f4050bbb87b7233fe4519686fdbd9bd23408bbeb6a5c31bfdd8b07aa9b723a47 SHA512 2c46e7e02c6ee375f78c8593765f01ff3be82bda3e90c133a9680bfbe7897a3fff78679e1306ee7d76192d7f164ca0ccbfeafd240c56160cdc9c4167827d5ead +DIST thermald-2.5.4.tar.gz 179202 BLAKE2B 945466ee90e61b4c59105f6f0d5b011b9cad9a9613ec5ac1f9e8d2ec1d75bc21e1685e7c8f165f5f4f46736d0b862a149b1e1444500d64aa1429d97db85209ac SHA512 7e73e7860ca6df22862db5fad1d8ab75361deac9cb3631da2950b02f366febd78a93c81afe93af396c9be2a809e8be8c764b0d3183b545e051f3ec7b9d9dd078 EBUILD thermald-2.5.2.ebuild 1289 BLAKE2B 32c00a64951863d30ac38d9c544a94deb48861e7a6beeaf73ec1d520216a9e7cca9f31c5e99b33cb99bc104ae2e48307be3019b6b6da99d51feb599b7368635c SHA512 600d174fb293bfd5dfce9741af20d5d48ec7ebab5ba2f930f2e9b0c6b28225c4f645ff98e564b851e51462ed169259905a367dbbd632fba50cca344b87f211e6 EBUILD thermald-2.5.3.ebuild 1291 BLAKE2B 2db9c83c0c8c05841c53d9b7f5cdf3db16c3a5140fb4f47ba5e982d1cf5eda93503f8e69ee82e3e16ad06973696eb2b5a8aaf11dbafc9856559e4683811fbeb2 SHA512 6a228c84039856adddea52f6d777e62110940c10b380b9b54dfdfd03d65eab9729a5f81830f4a31c23fa8b65961a04bada59326942304ad7958c4a3365ca5fe0 +EBUILD thermald-2.5.4.ebuild 1241 BLAKE2B dad19a14c6bee077b90558df19ef70e16f1ff6183c06f7847f83c1e18d301b758afc81c2cb7896056ae3b7e7da53f171d03c1ea99f1807533649cb981ce7d94c SHA512 a0a9e5b7863806ef3c3143a8e237119af33207add29ef4df70e6c3ac251ab87a64c8b28211a673ab4ec1518b6f71f7fb5d1e8e51437cd12548c4fa4add3bc365 MISC metadata.xml 648 BLAKE2B dc9cd4601c2577a6c7df13c8511586e2fdaee12f587cf31b0abd10dc637dbec8bf0a6e17672a935738f8929d5057c8b83a4bccb551b420c5de52b63f395a39f2 SHA512 9c1d353d16359f135b32850fa9fd52023994fe4148258b05564e6bc01b5a1c93aea0588e137aa24c382ad6587e0791d31176b3dcee25970a11a0b8efa01256c3 diff --git a/sys-power/thermald/thermald-2.5.4.ebuild b/sys-power/thermald/thermald-2.5.4.ebuild new file mode 100644 index 000000000000..2daa0c75f6aa --- /dev/null +++ b/sys-power/thermald/thermald-2.5.4.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2023 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" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=" + dev-libs/dbus-glib:= + 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" + +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 '/tdrundir/s@\$localstatedir/run@\$runstatedir@' \ + configure.ac || 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 +} |