1 |
commit: ebf230c240132186ad273e2303e939f5e700e395 |
2 |
Author: Yixun Lan <dlan <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun May 10 15:22:17 2020 +0000 |
4 |
Commit: Yixun Lan <dlan <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun May 10 15:27:07 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ebf230c2 |
7 |
|
8 |
sys-power/thermald: version bump, 2.1 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/720366 |
11 |
Package-Manager: Portage-2.3.89, Repoman-2.3.20 |
12 |
Signed-off-by: Yixun Lan <dlan <AT> gentoo.org> |
13 |
|
14 |
sys-power/thermald/Manifest | 1 + |
15 |
sys-power/thermald/thermald-2.1.ebuild | 46 ++++++++++++++++++++++++++++++++++ |
16 |
2 files changed, 47 insertions(+) |
17 |
|
18 |
diff --git a/sys-power/thermald/Manifest b/sys-power/thermald/Manifest |
19 |
index a3860a3312c..aadd0c23ba3 100644 |
20 |
--- a/sys-power/thermald/Manifest |
21 |
+++ b/sys-power/thermald/Manifest |
22 |
@@ -1,2 +1,3 @@ |
23 |
DIST thermald-1.9.1.tar.gz 429116 BLAKE2B 7b6105b25e89e68f82368e154b4ca2a826192d596c7427ebea3c6aa726c28b5409cf7e0f022132e2ee47423cc732a6d37b2eb05236c579e2c725820516f6993f SHA512 7c16871316fb264abad9d0182cf8b6b5c1b4c747093672e74b7db2b6aa4f322fafdf6a94bfc8a11f427f7be2ee5e5691dc6a25bb5357ce45e7afe868f89b89e1 |
24 |
DIST thermald-1.9.tar.gz 427380 BLAKE2B 1954531838c0fc3677ab8f91476d5670a6b5d067d580c7c570b37e5d8d8ac408cacb218531bc8363cfd56eee9331291959ff11851550c6c782a43b19bacca01a SHA512 71fa6e9fc2f55623ed0acdb65f9699d5ea2c89c4092546a73d53ac3ea3ca0a5c60f3360c8bef0af9daeeecfe9a20411d9e4d25bc1d89349cfe83ebb03ba387a8 |
25 |
+DIST thermald-2.1.tar.gz 435310 BLAKE2B 7a5b67c2f8cb56276427188a91cc0d0c5cc7975ea847abe6eddc41b5dba77f908bc1ab97234568c65b2bcbb3bfff7881412cef2f8aa422139c64d5fb089a6511 SHA512 407d743d2799f84cd178e17ef694f0825f03db4ce80a47df95826bc26a9f142b80295905707fcba41bd5268d411a03478cd9d432545f9e2f1394d7d61539e169 |
26 |
|
27 |
diff --git a/sys-power/thermald/thermald-2.1.ebuild b/sys-power/thermald/thermald-2.1.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..b551961e47b |
30 |
--- /dev/null |
31 |
+++ b/sys-power/thermald/thermald-2.1.ebuild |
32 |
@@ -0,0 +1,46 @@ |
33 |
+# Copyright 1999-2020 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=7 |
37 |
+ |
38 |
+inherit autotools flag-o-matic out-of-source systemd |
39 |
+ |
40 |
+DESCRIPTION="Thermal daemon for Intel architectures" |
41 |
+HOMEPAGE="https://01.org/linux-thermal-daemon" |
42 |
+SRC_URI="https://github.com/01org/thermal_daemon/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
43 |
+ |
44 |
+LICENSE="GPL-2+" |
45 |
+SLOT="0" |
46 |
+KEYWORDS="~amd64 ~x86" |
47 |
+IUSE="" |
48 |
+ |
49 |
+RDEPEND=" |
50 |
+ dev-libs/dbus-glib:= |
51 |
+ dev-libs/glib:= |
52 |
+ dev-libs/libxml2:= |
53 |
+ sys-apps/dbus:=" |
54 |
+DEPEND="${RDEPEND} |
55 |
+ dev-util/glib-utils" |
56 |
+ |
57 |
+S=${WORKDIR}/thermal_daemon-${PV} |
58 |
+DOCS=( thermal_daemon_usage.txt README.txt ) |
59 |
+ |
60 |
+src_prepare() { |
61 |
+ default |
62 |
+ eautoreconf |
63 |
+} |
64 |
+ |
65 |
+my_src_configure() { |
66 |
+ # bug 618948 |
67 |
+ append-cxxflags -std=c++14 |
68 |
+ |
69 |
+ ECONF_SOURCE="${S}" econf \ |
70 |
+ --with-systemdsystemunitdir="$(systemd_get_systemunitdir)" |
71 |
+} |
72 |
+ |
73 |
+my_src_install_all() { |
74 |
+ einstalldocs |
75 |
+ |
76 |
+ rm -rf "${ED}"/etc/init || die |
77 |
+ doinitd "${FILESDIR}"/thermald |
78 |
+} |