From f3a386a0fbbb9bcaa969f534bcf3f0136f073584 Mon Sep 17 00:00:00 2001 From: kuratsune Date: Sat, 2 Jun 2018 22:17:35 +0200 Subject: [PATCH] Added gnome_battery_bench, the GNOME battery benchmarking tool, works fine. --- sys-apps/gnome_battery_bench/Manifest | 1 + .../gnome_battery_bench-9999.ebuild | 52 +++++++++++++++++++ 2 files changed, 53 insertions(+) create mode 100644 sys-apps/gnome_battery_bench/Manifest create mode 100644 sys-apps/gnome_battery_bench/gnome_battery_bench-9999.ebuild diff --git a/sys-apps/gnome_battery_bench/Manifest b/sys-apps/gnome_battery_bench/Manifest new file mode 100644 index 0000000..9d12acf --- /dev/null +++ b/sys-apps/gnome_battery_bench/Manifest @@ -0,0 +1 @@ +EBUILD gnome_battery_bench-9999.ebuild 1141 BLAKE2B b187de5ecf1fe55337cd445069febbcf13e4982fdabc1105998a1e53a8cd7bd975fad6b58798221903b9da72bbe090bd67dac3c8f4eb077ac3032c1441e62a0a SHA512 cd4d39c77729739de4d750f28b62917f1aef2a59ad6f70610505dd56cd583ba3874469184b8fd1748153554bbdcd84037184d4aede90a2be6fb0d681279ebb48 diff --git a/sys-apps/gnome_battery_bench/gnome_battery_bench-9999.ebuild b/sys-apps/gnome_battery_bench/gnome_battery_bench-9999.ebuild new file mode 100644 index 0000000..4d81403 --- /dev/null +++ b/sys-apps/gnome_battery_bench/gnome_battery_bench-9999.ebuild @@ -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." +}