1 |
commit: 6080ba56a1f0175341ff8333a6e198e6b6232171 |
2 |
Author: Yixun Lan <dlan <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Feb 11 07:00:17 2021 +0000 |
4 |
Commit: Yixun Lan <dlan <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Feb 11 07:02:01 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6080ba56 |
7 |
|
8 |
sys-power/thermald: version bump, 2.4.2 |
9 |
|
10 |
Package-Manager: Portage-3.0.13, Repoman-3.0.2 |
11 |
Signed-off-by: Yixun Lan <dlan <AT> gentoo.org> |
12 |
|
13 |
sys-power/thermald/Manifest | 1 + |
14 |
sys-power/thermald/thermald-2.4.2.ebuild | 57 ++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 58 insertions(+) |
16 |
|
17 |
diff --git a/sys-power/thermald/Manifest b/sys-power/thermald/Manifest |
18 |
index f5a8f624523..6e2a5a4b958 100644 |
19 |
--- a/sys-power/thermald/Manifest |
20 |
+++ b/sys-power/thermald/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST thermald-2.3.tar.gz 452790 BLAKE2B caef87d670b14bfa0dbe6ca4873ebea4b0a9960a9bad48ddb10abb348e25cafdbdf5dad831a1c3ad38e71ab61d7f123df99046dec1e5ce2c32be506bc4b1312f SHA512 0d722c35e3638bb917994b8a123e1226b737b120f0946cfc604eb3bb4bd501121b1f196833f8cb3aceee73a8bb3566ef1d176d81143b84423f89d20966e91ed8 |
23 |
DIST thermald-2.4.1.tar.gz 455735 BLAKE2B ee4d6bc590bc50639c0b19adbba7e243358174a837b2ff155dea060b1cd09171d4fb77b18b785dc9f64a633f680358cb1d7b36e3bd438e5267e0a0a27e18497e SHA512 2dab7d57e028037208034ab4be95dc138ce028d4a47a0151c69816e1502065d801d52990641544b5d246144e654c15c663fa78af6cea094cf9a107f2fb29c1ef |
24 |
+DIST thermald-2.4.2.tar.gz 455797 BLAKE2B 5be01fa67defe738d2e9109388ab440ee93fea63e2fb56c2f5294095b14077330f1af4cba454e0f39bde69726f358513bec123f1eb7815afac469fb2385b6c9a SHA512 96d5cb9bf4f04b6ec5763d499416c246077b2d6dbc623de3fbb2b1fb8dc8b702d417852119240496f28f0a69c52be1b2a47e5d9ee7e952a123c621bda4d809ef |
25 |
|
26 |
diff --git a/sys-power/thermald/thermald-2.4.2.ebuild b/sys-power/thermald/thermald-2.4.2.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..2683a9652ea |
29 |
--- /dev/null |
30 |
+++ b/sys-power/thermald/thermald-2.4.2.ebuild |
31 |
@@ -0,0 +1,57 @@ |
32 |
+# Copyright 1999-2021 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+ |
37 |
+inherit autotools out-of-source systemd |
38 |
+ |
39 |
+DESCRIPTION="Thermal daemon for Intel architectures" |
40 |
+HOMEPAGE="https://01.org/linux-thermal-daemon https://github.com/intel/thermal_daemon" |
41 |
+SRC_URI="https://github.com/intel/thermal_daemon/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
42 |
+ |
43 |
+LICENSE="GPL-2+" |
44 |
+SLOT="0" |
45 |
+KEYWORDS="~amd64 ~x86" |
46 |
+IUSE="" |
47 |
+ |
48 |
+RDEPEND=" |
49 |
+ dev-libs/dbus-glib:= |
50 |
+ dev-libs/glib:= |
51 |
+ dev-libs/libxml2:= |
52 |
+ dev-libs/libevdev |
53 |
+ sys-power/upower |
54 |
+ sys-apps/dbus:=" |
55 |
+DEPEND="${RDEPEND} |
56 |
+ dev-util/gtk-doc |
57 |
+ dev-util/glib-utils" |
58 |
+ |
59 |
+S=${WORKDIR}/thermal_daemon-${PV} |
60 |
+DOCS=( thermal_daemon_usage.txt README.txt ) |
61 |
+ |
62 |
+src_prepare() { |
63 |
+ sed -i -e "/group=/s/power/wheel/g" \ |
64 |
+ data/org.freedesktop.thermald.conf || die |
65 |
+ |
66 |
+ default |
67 |
+ eautoreconf |
68 |
+} |
69 |
+ |
70 |
+my_src_configure() { |
71 |
+ ECONF_SOURCE="${S}" econf \ |
72 |
+ --disable-werror \ |
73 |
+ --with-systemdsystemunitdir="$(systemd_get_systemunitdir)" |
74 |
+} |
75 |
+ |
76 |
+my_src_install_all() { |
77 |
+ einstalldocs |
78 |
+ |
79 |
+ rm -rf "${ED}"/etc/init || die |
80 |
+ doinitd "${FILESDIR}"/thermald |
81 |
+} |
82 |
+ |
83 |
+pkg_postinst() { |
84 |
+ if ! has_version sys-power/dptfxtract; then |
85 |
+ elog "dptfxtract can be used to generate a more specific" |
86 |
+ elog "thermald configuration for your system" |
87 |
+ fi |
88 |
+} |