1 |
commit: 120f954e4cfe7b64cc162e399f60955d0a37e631 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jul 7 07:59:17 2017 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jul 7 07:59:32 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=120f954e |
7 |
|
8 |
x11-plugins/gkrellm-cpupower: Bump to version 0.2 (bug #622736). |
9 |
|
10 |
Package-Manager: Portage-2.3.6, Repoman-2.3.2 |
11 |
|
12 |
x11-plugins/gkrellm-cpupower/Manifest | 1 + |
13 |
.../gkrellm-cpupower/gkrellm-cpupower-0.2.ebuild | 39 ++++++++++++++++++++++ |
14 |
2 files changed, 40 insertions(+) |
15 |
|
16 |
diff --git a/x11-plugins/gkrellm-cpupower/Manifest b/x11-plugins/gkrellm-cpupower/Manifest |
17 |
index e1ef624e617..846b7cdba2d 100644 |
18 |
--- a/x11-plugins/gkrellm-cpupower/Manifest |
19 |
+++ b/x11-plugins/gkrellm-cpupower/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST gkrellm2-cpupower-0.1.6.tar.gz 14390 SHA256 85a6c24976f9e0bac69fae0d161a00545078623765d76128cce587d67452305f SHA512 eb55a30614f5e4ae9514516749f34dbf6bd409148e967f2933d49f3d2bb6938535900101ed27dff132edd79b7cfa2f7244bb6f87e09b555e7536c8f74d020b01 WHIRLPOOL afb764799d1d926afb3cadd0e928a2da06d7c7728dd0cfe73ea0843bec5d4312ea076abaf7dad83ba6487f33680956ecc4eaeb9e806b6f4f5aa407fb469c0f81 |
22 |
+DIST gkrellm2-cpupower-0.2.tar.gz 14274 SHA256 d6c632c079c5782564431f78dfc21d81f74ee46d19c43c0ae38be5a279305a0d SHA512 80cf86548c8329af41462cb5cdd0de67cfab05d8d9a7c3315fcc662e0b5e511ffc1f46d2eb3ccf13b9f1607c35860921658eb74970c241a4c56b74e32e4f779e WHIRLPOOL f9af36768b491e1e3ab0cded1e9bae64a93f39d1be7770ec65b0351a0b95988e54f51add849a6ea222a574863926d7d46ff2a3aee8f82f8f0cc12240c44e79b9 |
23 |
|
24 |
diff --git a/x11-plugins/gkrellm-cpupower/gkrellm-cpupower-0.2.ebuild b/x11-plugins/gkrellm-cpupower/gkrellm-cpupower-0.2.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..8aa8fda8a8a |
27 |
--- /dev/null |
28 |
+++ b/x11-plugins/gkrellm-cpupower/gkrellm-cpupower-0.2.ebuild |
29 |
@@ -0,0 +1,39 @@ |
30 |
+# Copyright 1999-2017 Gentoo Foundation |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=6 |
34 |
+ |
35 |
+inherit gkrellm-plugin |
36 |
+ |
37 |
+MY_P="${P/gkrellm/gkrellm2}" |
38 |
+ |
39 |
+DESCRIPTION="A Gkrellm2 plugin for displaying and manipulating CPU frequency" |
40 |
+HOMEPAGE="https://github.com/sainsaar/gkrellm2-cpupower/" |
41 |
+SRC_URI="https://github.com/sainsaar/gkrellm2-cpupower/archive/${PV}.tar.gz -> ${MY_P}.tar.gz" |
42 |
+ |
43 |
+LICENSE="GPL-2" |
44 |
+SLOT="0" |
45 |
+KEYWORDS="~amd64 ~x86" |
46 |
+IUSE="" |
47 |
+ |
48 |
+S="${WORKDIR}/${MY_P}" |
49 |
+ |
50 |
+RDEPEND=" |
51 |
+ app-admin/sudo |
52 |
+ sys-power/cpupower |
53 |
+" |
54 |
+ |
55 |
+PLUGIN_SO="cpupower.so" |
56 |
+ |
57 |
+src_install() { |
58 |
+ gkrellm-plugin_src_install |
59 |
+ emake DESTDIR="${D}" install-sudo |
60 |
+} |
61 |
+ |
62 |
+pkg_postinst() { |
63 |
+ echo |
64 |
+ einfo "For changing the governor and CPU frequencies as a user, create the \"trusted\"" |
65 |
+ einfo "group, and add those users to that group who should be allowed to perform" |
66 |
+ einfo "these changes." |
67 |
+ echo |
68 |
+} |