2018-06-02 22:17:35 +02:00
#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"
2018-06-03 09:39:02 +02:00
MY_AUTHOR = "GNOME team"
2018-06-02 22:17:35 +02:00
EGIT_REPO_URI = "https://gitlab.gnome.org/GNOME/gnome-battery-bench.git"
EGIT_BRANCH = "master"
2018-06-03 09:39:02 +02:00
KEYWORDS = "~x86 ~amd64"
2018-06-02 22:17:35 +02:00
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. "
}