From cfc24e46362cf214c8c8c1c4ba10db96e0e498ab Mon Sep 17 00:00:00 2001 From: Michal Vu Date: Tue, 27 Aug 2024 19:00:16 +0200 Subject: sys-power/system76-power: new package, add 9999 Signed-off-by: Michal Vu --- sys-power/system76-power/metadata.xml | 15 ++++++++++++ .../system76-power/system76-power-9999.ebuild | 28 ++++++++++++++++++++++ 2 files changed, 43 insertions(+) create mode 100644 sys-power/system76-power/metadata.xml create mode 100644 sys-power/system76-power/system76-power-9999.ebuild (limited to 'sys-power') diff --git a/sys-power/system76-power/metadata.xml b/sys-power/system76-power/metadata.xml new file mode 100644 index 000000000..e33b70a42 --- /dev/null +++ b/sys-power/system76-power/metadata.xml @@ -0,0 +1,15 @@ + + + + + saigon-tech@tuta.io + Michal Vu + + + pop-os/system76-power + + + Power manager developed by System76 for systemd Linux distributions. This power manager allows for switching + between battery, balanced and performance mode and handles power consumption on dual-GPU laptops. + + diff --git a/sys-power/system76-power/system76-power-9999.ebuild b/sys-power/system76-power/system76-power-9999.ebuild new file mode 100644 index 000000000..60054d3ee --- /dev/null +++ b/sys-power/system76-power/system76-power-9999.ebuild @@ -0,0 +1,28 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cargo git-r3 + +DESCRIPTION="System76 Power Management Tool for systemd" +HOMEPAGE="https://github.com/pop-os/system76-power" +EGIT_REPO_URI="https://github.com/pop-os/system76-power" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="" + +DEPEND="sys-apps/systemd" +RDEPEND="${DEPEND}" +BDEPEND="virtual/rust" + +src_unpack(){ + git-r3_src_unpack + cargo_live_src_unpack +} + +src_install(){ + default + elog "Enable the service: 'systemctl enable --now com.system76.PowerDaemon.service'" +} -- cgit v1.2.3-65-gdbad