commit: e75bb4c093f84e7015c262ad1b784ba9380e67ba Author: Pascal Jäger <pascal.jaeger <AT> leimstift <DOT> de> AuthorDate: Thu Oct 6 19:37:32 2022 +0000 Commit: Pascal Jäger <pascal.jaeger <AT> leimstift <DOT> de> CommitDate: Thu Oct 6 19:37:32 2022 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e75bb4c0
gui-libs/power-profiles-daemon: add package, version 0.12 Signed-off-by: Pascal Jäger <pascal.jaeger <AT> leimstift.de> gui-libs/power-profiles-daemon/Manifest | 1 + gui-libs/power-profiles-daemon/metadata.xml | 11 +++++++ .../power-profiles-daemon-0.12.ebuild | 38 ++++++++++++++++++++++ 3 files changed, 50 insertions(+) diff --git a/gui-libs/power-profiles-daemon/Manifest b/gui-libs/power-profiles-daemon/Manifest new file mode 100644 index 000000000..e09b4dca4 --- /dev/null +++ b/gui-libs/power-profiles-daemon/Manifest @@ -0,0 +1 @@ +DIST power-profiles-daemon-0.12.tar.gz 55705 BLAKE2B 7e78744186d1175d7dc67e3fe84481f68e14ed409639a44bd834ffae820b0828428271360f4f7faa0e2c2323f2ce4d1061e1b260b74aaf5da5cd35881def4a6f SHA512 d6645432751cbf94166307d2d3f982a598c28c0541bda666bc04c2da68ca7d0a129209312a9e6437fe80b786d7040ea34e5e921bc23f0a8d554f72fac1aada5a diff --git a/gui-libs/power-profiles-daemon/metadata.xml b/gui-libs/power-profiles-daemon/metadata.xml new file mode 100644 index 000000000..794e26eac --- /dev/null +++ b/gui-libs/power-profiles-daemon/metadata.xml @@ -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>[email protected]</email> + <name>Gentoo GNOME Desktop</name> +</maintainer> +<use> + <flag name="pylint">Run pylint checks</flag> +</use> +</pkgmetadata> diff --git a/gui-libs/power-profiles-daemon/power-profiles-daemon-0.12.ebuild b/gui-libs/power-profiles-daemon/power-profiles-daemon-0.12.ebuild new file mode 100644 index 000000000..aec2e1be6 --- /dev/null +++ b/gui-libs/power-profiles-daemon/power-profiles-daemon-0.12.ebuild @@ -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 +}
