From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id BE9DF13829C for ; Tue, 7 Jun 2016 06:43:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2C5FB21C01D; Tue, 7 Jun 2016 06:43:45 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B66CD21C01D for ; Tue, 7 Jun 2016 06:43:44 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 083AD340C66 for ; Tue, 7 Jun 2016 06:43:43 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8453E983 for ; Tue, 7 Jun 2016 06:43:40 +0000 (UTC) From: "Lars Wendler" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Lars Wendler" Message-ID: <1465281786.a223a44049d0ca6e20062a2543b4ff63cd7f4320.polynomial-c@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-plugins/gkrellm-cpupower/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-plugins/gkrellm-cpupower/Manifest x11-plugins/gkrellm-cpupower/gkrellm-cpupower-0.1.6-r1.ebuild x11-plugins/gkrellm-cpupower/metadata.xml X-VCS-Directories: x11-plugins/gkrellm-cpupower/ X-VCS-Committer: polynomial-c X-VCS-Committer-Name: Lars Wendler X-VCS-Revision: a223a44049d0ca6e20062a2543b4ff63cd7f4320 X-VCS-Branch: master Date: Tue, 7 Jun 2016 06:43:40 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 7b2b32fe-a88c-4ad4-bd8a-af9caf26a503 X-Archives-Hash: 62d9105a78e5ede4e38cf58b5a514cb4 commit: a223a44049d0ca6e20062a2543b4ff63cd7f4320 Author: Lars Wendler gentoo org> AuthorDate: Tue Jun 7 06:42:21 2016 +0000 Commit: Lars Wendler gentoo 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 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 @@ + + + + + polynomial-c@gentoo.org + Lars Wendler + +