1 |
commit: dc5ca412a970c42377db558da8f290ddc4f837ad |
2 |
Author: Yixun Lan <dlan <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Aug 1 10:25:34 2022 +0000 |
4 |
Commit: Yixun Lan <dlan <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Aug 1 10:27:00 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc5ca412 |
7 |
|
8 |
sys-power/thermald: version bump, 2.5 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/862741 |
11 |
Signed-off-by: Yixun Lan <dlan <AT> gentoo.org> |
12 |
|
13 |
app-editors/notepadqq/notepadqq-2.0.0_beta.ebuild | 2 +- |
14 |
sys-power/thermald/Manifest | 1 + |
15 |
sys-power/thermald/thermald-2.5.ebuild | 54 +++++++++++++++++++++++ |
16 |
3 files changed, 56 insertions(+), 1 deletion(-) |
17 |
|
18 |
diff --git a/app-editors/notepadqq/notepadqq-2.0.0_beta.ebuild b/app-editors/notepadqq/notepadqq-2.0.0_beta.ebuild |
19 |
index dd179921327f..9064438c69ad 100644 |
20 |
--- a/app-editors/notepadqq/notepadqq-2.0.0_beta.ebuild |
21 |
+++ b/app-editors/notepadqq/notepadqq-2.0.0_beta.ebuild |
22 |
@@ -12,7 +12,7 @@ if [[ "${PV}" == 9999 ]] ; then |
23 |
EGIT_REPO_URI="https://github.com/notepadqq/notepadqq.git" |
24 |
else |
25 |
SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV/_/-}.tar.gz -> ${P}.tar.gz" |
26 |
- KEYWORDS="~amd64 ~x86" |
27 |
+ KEYWORDS="~amd64 ~riscv ~x86" |
28 |
S="${WORKDIR}/${P/_/-}" |
29 |
fi |
30 |
|
31 |
|
32 |
diff --git a/sys-power/thermald/Manifest b/sys-power/thermald/Manifest |
33 |
index 4554fd41ecd1..36c8c80c7323 100644 |
34 |
--- a/sys-power/thermald/Manifest |
35 |
+++ b/sys-power/thermald/Manifest |
36 |
@@ -1,2 +1,3 @@ |
37 |
DIST thermald-2.4.8.tar.gz 457365 BLAKE2B a200eba847785ad4a99e229c10574ad99b0874ef14e8b14d5190e12090ae5f4577461743ac1993a1bdb28de85100b509c8affc7ba3426a61b9cba95ea14d2686 SHA512 6e81eb25c274f1ef6e8dcb975cfab23dab9e6d29dcd38d10085d47bbf7161f3d3b0f5159d8935ff8d2c0eba99c88fac2feb9e8cef906b6afacba08a57026300d |
38 |
DIST thermald-2.4.9.tar.gz 144780 BLAKE2B 92eb36c19608c454336d8cf709a1650d5853ca3884c0a99d2371ee5e5d749e1b9cc10eab9a9382e2c43dd7d424d58263de9333aa223902714f8794545a0034bd SHA512 801508cf1d6215fdb40730418d2302469ad88fe4456d6f3f99e8695286b86b5b9ee6c90184cff4ff843e0811451cf96afe15478002cba0b25cda4fe8bdb17de5 |
39 |
+DIST thermald-2.5.tar.gz 160338 BLAKE2B df7004cdd9f0a36479f7d8c129338ac9b2fd3b4deca188ef3568336c448f563460ca74203384694f37a29fd7ba71b52d356f861d28313e52b443a81557ea406e SHA512 0112d1648c6eed127c83eecb69ac5dcd56614dc485a9d54cd14d6506ad1c48c80880b1d3498258d65a0435220ef3ad3f7ddaa1f5a6f9595c9b56e14d71629390 |
40 |
|
41 |
diff --git a/sys-power/thermald/thermald-2.5.ebuild b/sys-power/thermald/thermald-2.5.ebuild |
42 |
new file mode 100644 |
43 |
index 000000000000..97ae4f71f839 |
44 |
--- /dev/null |
45 |
+++ b/sys-power/thermald/thermald-2.5.ebuild |
46 |
@@ -0,0 +1,54 @@ |
47 |
+# Copyright 1999-2022 Gentoo Authors |
48 |
+# Distributed under the terms of the GNU General Public License v2 |
49 |
+ |
50 |
+EAPI=8 |
51 |
+ |
52 |
+inherit autotools out-of-source systemd |
53 |
+ |
54 |
+DESCRIPTION="Thermal daemon for Intel architectures" |
55 |
+HOMEPAGE="https://github.com/intel/thermal_daemon" |
56 |
+SRC_URI="https://github.com/intel/thermal_daemon/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
57 |
+ |
58 |
+LICENSE="GPL-2+" |
59 |
+SLOT="0" |
60 |
+KEYWORDS="amd64 x86" |
61 |
+IUSE="" |
62 |
+ |
63 |
+RDEPEND=" |
64 |
+ dev-libs/dbus-glib:= |
65 |
+ dev-libs/glib:= |
66 |
+ dev-libs/libxml2:= |
67 |
+ dev-libs/libevdev |
68 |
+ sys-power/upower |
69 |
+ sys-apps/dbus:=" |
70 |
+DEPEND="${RDEPEND} |
71 |
+ dev-util/gtk-doc |
72 |
+ dev-util/glib-utils" |
73 |
+ |
74 |
+S=${WORKDIR}/thermal_daemon-${PV} |
75 |
+DOCS=( thermal_daemon_usage.txt README.txt ) |
76 |
+ |
77 |
+src_prepare() { |
78 |
+ sed -i -e "/group=/s/power/wheel/g" \ |
79 |
+ data/org.freedesktop.thermald.conf || die |
80 |
+ |
81 |
+ sed -i -e '/tdrundir/s@\$localstatedir/run@\$runstatedir@' \ |
82 |
+ configure.ac || die |
83 |
+ |
84 |
+ default |
85 |
+ eautoreconf |
86 |
+} |
87 |
+ |
88 |
+my_src_configure() { |
89 |
+ ECONF_SOURCE="${S}" econf \ |
90 |
+ --disable-werror \ |
91 |
+ --runstatedir="${EPREFIX}"/run \ |
92 |
+ --with-systemdsystemunitdir="$(systemd_get_systemunitdir)" |
93 |
+} |
94 |
+ |
95 |
+my_src_install_all() { |
96 |
+ einstalldocs |
97 |
+ |
98 |
+ rm -rf "${ED}"/etc/init || die |
99 |
+ doinitd "${FILESDIR}"/thermald |
100 |
+} |