From 16ea9eebec61442474c6feb6b9a279633d8fb7cf Mon Sep 17 00:00:00 2001 From: Mike Gilbert Date: Wed, 7 Sep 2016 21:25:54 -0400 Subject: sys-power/cpupower: add cpupower-frequency-set.service Bug: https://bugs.gentoo.org/531360 --- profiles/package.mask | 2 +- sys-power/cpupower/cpupower-4.5.0-r1.ebuild | 61 ++++++++++++++++++++++ sys-power/cpupower/cpupower-4.5.0.ebuild | 56 -------------------- sys-power/cpupower/cpupower-4.7.0-r1.ebuild | 61 ++++++++++++++++++++++ sys-power/cpupower/cpupower-4.7.0.ebuild | 56 -------------------- .../cpupower/files/cpupower-frequency-set.service | 9 ++++ .../files/cpupower-frequency-set.service.conf | 2 + 7 files changed, 134 insertions(+), 113 deletions(-) create mode 100644 sys-power/cpupower/cpupower-4.5.0-r1.ebuild delete mode 100644 sys-power/cpupower/cpupower-4.5.0.ebuild create mode 100644 sys-power/cpupower/cpupower-4.7.0-r1.ebuild delete mode 100644 sys-power/cpupower/cpupower-4.7.0.ebuild create mode 100644 sys-power/cpupower/files/cpupower-frequency-set.service create mode 100644 sys-power/cpupower/files/cpupower-frequency-set.service.conf diff --git a/profiles/package.mask b/profiles/package.mask index 0abb2fae8f7e..dd77ae2f4f47 100644 --- a/profiles/package.mask +++ b/profiles/package.mask @@ -597,7 +597,7 @@ dev-libs/skyutils # Mike Gilbert (07 Aug 2016) # Fails to switch cpufreq governor. # https://bugs.gentoo.org/590780 -=sys-power/cpupower-4.7.0 +~sys-power/cpupower-4.7.0 # Pacho Ramos (7 Aug 2016) # Upstream dead, depends on old gstreamer, old webkit, many unresolved bug diff --git a/sys-power/cpupower/cpupower-4.5.0-r1.ebuild b/sys-power/cpupower/cpupower-4.5.0-r1.ebuild new file mode 100644 index 000000000000..54365d0183af --- /dev/null +++ b/sys-power/cpupower/cpupower-4.5.0-r1.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +# eutils: strip-linguas +inherit eutils systemd toolchain-funcs + +DESCRIPTION="Shows and sets processor power related values" +HOMEPAGE="https://www.kernel.org/" +SRC_URI="https://dev.gentoo.org/~floppym/dist/${P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="cpufreq_bench debug nls" + +# File collision w/ headers of the deprecated cpufrequtils +RDEPEND="sys-apps/pciutils + !