Added cpupower-gui v0.6.2, tested working. (Not the same as cpupower, only allows setting gouvernor and frequency)

This commit is contained in:
Kimitsune 2018-06-15 11:55:46 +02:00
parent 23f401ff7e
commit 4c093a90c5
2 changed files with 40 additions and 0 deletions

View File

@ -0,0 +1,2 @@
DIST cpupower-gui-0.6.2.zip 100216 BLAKE2B 7b1e26b7ad7adee69cdea2fb1ed469ba7bd4de0108be94f50bd59dcb18e9425ed1a0dd09337d6d743231d0756400529a39ddee664a5c2e3d1813399e753fe075 SHA512 5e96bd0ea92d10c08910842bb5daccd585b21914c4ca8645cca5512a66695ab6e4a47550bf43d06115bffeaac23aab5b8b7035e54e6473c556e3b6de15540ead
EBUILD cpupower-gui-0.6.2.ebuild 718 BLAKE2B bcd8a29e72d2ea29ad88cfcc57d98cf9c99d5d0a03bde277baaab98345d379bd70160b5586e4ecf89e96c24403ad2f2b30361b1772ef9cacf793e7d844cc46c7 SHA512 0f3472b806094f86cb5b369e60fc235037d012341e86651d56e39bc8250b03ced40b7c8ad6b07ada07ace3fcc60670b97049b40690ccb58d5935ac635680fbf3

View File

@ -0,0 +1,38 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit autotools
DESCRIPTION="Simple GUI for cpupower"
HOMEPAGE="https://github.com/vagnum08/cpupower-gui/"
SRC_URI="https://github.com/vagnum08/cpupower-gui/archive/v${PV}.zip -> ${P}.zip"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86"
IUSE="nls"
RDEPEND=">=x11-libs/gtk+-3.0
sys-apps/dbus
>=dev-lang/python-3
sys-auth/polkit
dev-python/dbus-python
nls? ( sys-devel/gettext )"
DEPEND="${RDEPEND}"
S=${WORKDIR}/${PN}-${PV}
src_prepare() {
default
eautoreconf
}
src_configure() {
econf --disable-silent-rules $(use_enable nls)
}
src_install() {
emake DESTDIR="${D}" install
}