gui-libs/power-profiles-daemon: add package, version 0.12

Signed-off-by: Pascal Jäger <pascal.jaeger@leimstift.de>
This commit is contained in:
Pascal Jäger
2022-10-06 21:37:32 +02:00
parent d4052f4cc1
commit e75bb4c093
3 changed files with 50 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST power-profiles-daemon-0.12.tar.gz 55705 BLAKE2B 7e78744186d1175d7dc67e3fe84481f68e14ed409639a44bd834ffae820b0828428271360f4f7faa0e2c2323f2ce4d1061e1b260b74aaf5da5cd35881def4a6f SHA512 d6645432751cbf94166307d2d3f982a598c28c0541bda666bc04c2da68ca7d0a129209312a9e6437fe80b786d7040ea34e5e921bc23f0a8d554f72fac1aada5a

View File

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>gnome@gentoo.org</email>
<name>Gentoo GNOME Desktop</name>
</maintainer>
<use>
<flag name="pylint">Run pylint checks</flag>
</use>
</pkgmetadata>

View File

@@ -0,0 +1,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
}