commit: a223a44049d0ca6e20062a2543b4ff63cd7f4320
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 7 06:42:21 2016 +0000
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Tue Jun 7 06:43:06 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a223a440
x11-plugins/gkrellm-cpupower: Initial commit.
Package-Manager: portage-2.2.28
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
x11-plugins/gkrellm-cpupower/Manifest | 1 +
.../gkrellm-cpupower-0.1.6-r1.ebuild | 41 ++++++++++++++++++++++
x11-plugins/gkrellm-cpupower/metadata.xml | 8 +++++
3 files changed, 50 insertions(+)
diff --git a/x11-plugins/gkrellm-cpupower/Manifest
b/x11-plugins/gkrellm-cpupower/Manifest
new file mode 100644
index 0000000..e1ef624
--- /dev/null
+++ b/x11-plugins/gkrellm-cpupower/Manifest
@@ -0,0 +1 @@
+DIST gkrellm2-cpupower-0.1.6.tar.gz 14390 SHA256
85a6c24976f9e0bac69fae0d161a00545078623765d76128cce587d67452305f SHA512
eb55a30614f5e4ae9514516749f34dbf6bd409148e967f2933d49f3d2bb6938535900101ed27dff132edd79b7cfa2f7244bb6f87e09b555e7536c8f74d020b01
WHIRLPOOL
afb764799d1d926afb3cadd0e928a2da06d7c7728dd0cfe73ea0843bec5d4312ea076abaf7dad83ba6487f33680956ecc4eaeb9e806b6f4f5aa407fb469c0f81
diff --git a/x11-plugins/gkrellm-cpupower/gkrellm-cpupower-0.1.6-r1.ebuild
b/x11-plugins/gkrellm-cpupower/gkrellm-cpupower-0.1.6-r1.ebuild
new file mode 100644
index 0000000..fa0ac69
--- /dev/null
+++ b/x11-plugins/gkrellm-cpupower/gkrellm-cpupower-0.1.6-r1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit gkrellm-plugin
+
+MY_P=${P/gkrellm/gkrellm2}
+
+DESCRIPTION="A Gkrellm2 plugin for displaying and manipulating CPU frequency"
+HOMEPAGE="https://github.com/sainsaar/gkrellm2-cpupower/"
+SRC_URI="https://github.com/sainsaar/gkrellm2-cpupower/archive/${PV}.tar.gz ->
${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+S="${WORKDIR}/${MY_P}"
+
+# Collision with /usr/sbin/cpufreqnextgovernor
+RDEPEND="app-admin/sudo
+ sys-power/cpupower
+ !x11-plugins/gkrellm-cpufreq"
+
+PLUGIN_SO="cpupower.so"
+
+src_install() {
+ gkrellm-plugin_src_install
+ dosbin cpufreqnextgovernor
+ emake DESTDIR="${D}" install-sudo
+}
+
+pkg_postinst() {
+ echo
+ einfo "For changing the governor and CPU frequencies as a user, create
the \"trusted\""
+ einfo "group, and add those users to that group who should be allowed
to perform"
+ einfo "these changes."
+ echo
+}
diff --git a/x11-plugins/gkrellm-cpupower/metadata.xml
b/x11-plugins/gkrellm-cpupower/metadata.xml
new file mode 100644
index 0000000..c7be278
--- /dev/null
+++ b/x11-plugins/gkrellm-cpupower/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>[email protected]</email>
+ <name>Lars Wendler</name>
+ </maintainer>
+</pkgmetadata>