blob: aec2e1be637b8701296950f095f920de0d94a2bf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit meson # gnome.org meson xdg
DESCRIPTION="Makes power profiles handling available over D-Bus."
HOMEPAGE="https://gitlab.freedesktop.org/hadess/power-profiles-daemon/"
SRC_URI="https://gitlab.freedesktop.org/hadess/${PN}/-/archive/${PV}/${P}.tar.gz"
LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64"
IUSE="gtk-doc pylint"
RDEPEND="
>=dev-libs/glib-2.0:2
>=dev-libs/libgudev-234
sys-power/upower
>=sys-auth/polkit-0.114
pylint? ( dev-python/pylint )
sys-apps/systemd
"
DEPEND="${RDEPEND}"
BDEPEND="
gtk-doc? ( dev-util/gi-docgen )
"
src_configure() {
local emesonargs=(
$(meson_use gtk-doc gtk_doc)
$(meson_use pylint)
-Dtests=false
)
meson_src_configure
}
|