Added gnome_battery_bench, the GNOME battery benchmarking tool, works fine.

This commit is contained in:
kuratsune 2018-06-02 22:17:35 +02:00
parent 4e153a3fd9
commit f3a386a0fb
2 changed files with 53 additions and 0 deletions

View File

@ -0,0 +1 @@
EBUILD gnome_battery_bench-9999.ebuild 1141 BLAKE2B b187de5ecf1fe55337cd445069febbcf13e4982fdabc1105998a1e53a8cd7bd975fad6b58798221903b9da72bbe090bd67dac3c8f4eb077ac3032c1441e62a0a SHA512 cd4d39c77729739de4d750f28b62917f1aef2a59ad6f70610505dd56cd583ba3874469184b8fd1748153554bbdcd84037184d4aede90a2be6fb0d681279ebb48

View File

@ -0,0 +1,52 @@
#By Kuratsune
EAPI=6
inherit autotools git-r3 linux-info xdg-utils
DESCRIPTION="GNOME battery benchmark tool."
HOMEPAGE="https://gitlab.gnome.org/GNOME/gnome-battery-bench"
MY_AUTHOR="GNOEM team"
EGIT_REPO_URI="https://gitlab.gnome.org/GNOME/gnome-battery-bench.git"
EGIT_BRANCH="master"
KEYWORDS=""
LICENSE="GPL-2"
SLOT="0"
CONFIG_CHECK="
~INPUT_UINPUT
"
DEPEND=">=dev-libs/glib-2.0
virtual/libudev
x11-libs/libXtst
>=x11-libs/gtk+-3.0
dev-libs/json-glib
x11-libs/libXi
sys-auth/polkit
app-text/asciidoc
app-text/xmlto"
RDEPEND=">=dev-libs/glib-2.0
virtual/libudev
x11-libs/libXtst
>=x11-libs/gtk+-3.0
dev-libs/json-glib
x11-libs/libXi
sys-auth/polkit"
src_prepare() {
default
eautoreconf
}
pkg_post_install() {
xdg_desktop_database_update
xdg_mimeinfo_database_update
einfo "uinput (user space input drivers) should be built-in your kernel, or the kernel module (uinput) should be loaded, or ${PN} will crash on startup. \"# modprobe uinput\" as root should do the trick."
}