1 |
commit: 3c16d8488d2c286aac2c158527353c6ca5add326 |
2 |
Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jan 3 22:34:32 2018 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jan 4 09:15:31 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c16d848 |
7 |
|
8 |
x11-plugins/gkrellm-cpupower: Eclass update |
9 |
|
10 |
Package-Manager: Portage-2.3.19, Repoman-2.3.6 |
11 |
|
12 |
.../gkrellm-cpupower/gkrellm-cpupower-0.2-r1.ebuild | 17 ++++++++--------- |
13 |
1 file changed, 8 insertions(+), 9 deletions(-) |
14 |
|
15 |
diff --git a/x11-plugins/gkrellm-cpupower/gkrellm-cpupower-0.2-r1.ebuild b/x11-plugins/gkrellm-cpupower/gkrellm-cpupower-0.2-r1.ebuild |
16 |
index f8679d71309..dcf420b9572 100644 |
17 |
--- a/x11-plugins/gkrellm-cpupower/gkrellm-cpupower-0.2-r1.ebuild |
18 |
+++ b/x11-plugins/gkrellm-cpupower/gkrellm-cpupower-0.2-r1.ebuild |
19 |
@@ -1,4 +1,4 @@ |
20 |
-# Copyright 1999-2017 Gentoo Foundation |
21 |
+# Copyright 1999-2018 Gentoo Foundation |
22 |
# Distributed under the terms of the GNU General Public License v2 |
23 |
|
24 |
EAPI=6 |
25 |
@@ -16,25 +16,24 @@ SLOT="0" |
26 |
KEYWORDS="~amd64 ~x86" |
27 |
IUSE="" |
28 |
|
29 |
-S="${WORKDIR}/${MY_P}" |
30 |
- |
31 |
+DEPEND="app-admin/gkrellm:2[X]" |
32 |
RDEPEND=" |
33 |
- app-admin/gkrellm[X] |
34 |
+ ${DEPEND} |
35 |
app-admin/sudo |
36 |
- sys-power/cpupower |
37 |
-" |
38 |
+ sys-power/cpupower" |
39 |
|
40 |
-PLUGIN_SO="cpupower.so" |
41 |
+S=${WORKDIR}/${MY_P} |
42 |
|
43 |
src_install() { |
44 |
+ local PLUGIN_SO=( cpupower$(get_modname) ) |
45 |
gkrellm-plugin_src_install |
46 |
emake DESTDIR="${D}" install-sudo |
47 |
} |
48 |
|
49 |
pkg_postinst() { |
50 |
- echo |
51 |
+ einfo |
52 |
einfo "For changing the governor and CPU frequencies as a user, create the \"trusted\"" |
53 |
einfo "group, and add those users to that group who should be allowed to perform" |
54 |
einfo "these changes." |
55 |
- echo |
56 |
+ einfo |
57 |
} |