summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2016-06-07 08:42:21 +0200
committerLars Wendler <polynomial-c@gentoo.org>2016-06-07 08:43:06 +0200
commita223a44049d0ca6e20062a2543b4ff63cd7f4320 (patch)
tree1fb2bf27d1dc3951550ead1ee47da6ab8735d7bd /x11-plugins
parentdev-libs/libksba: Stable for PPC64 (bug #582720). (diff)
downloadgentoo-a223a44049d0ca6e20062a2543b4ff63cd7f4320.tar.gz
gentoo-a223a44049d0ca6e20062a2543b4ff63cd7f4320.tar.bz2
gentoo-a223a44049d0ca6e20062a2543b4ff63cd7f4320.zip
x11-plugins/gkrellm-cpupower: Initial commit.
Package-Manager: portage-2.2.28 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'x11-plugins')
-rw-r--r--x11-plugins/gkrellm-cpupower/Manifest1
-rw-r--r--x11-plugins/gkrellm-cpupower/gkrellm-cpupower-0.1.6-r1.ebuild41
-rw-r--r--x11-plugins/gkrellm-cpupower/metadata.xml8
3 files changed, 50 insertions, 0 deletions
diff --git a/x11-plugins/gkrellm-cpupower/Manifest b/x11-plugins/gkrellm-cpupower/Manifest
new file mode 100644
index 000000000000..e1ef624e617c
--- /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 000000000000..fa0ac69ca07d
--- /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 000000000000..c7be278b6458
--- /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>polynomial-c@gentoo.org</email>
+ <name>Lars Wendler</name>
+ </maintainer>
+</pkgmetadata>