sys-power/system76-power: new package, add 9999

Signed-off-by: Michal Vu <saigon-tech@tuta.io>
This commit is contained in:
Michal Vu
2024-08-27 19:00:16 +02:00
parent 91a2a816e1
commit cfc24e4636
2 changed files with 43 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>saigon-tech@tuta.io</email>
<name>Michal Vu</name>
</maintainer>
<upstream>
<remote-id type="github">pop-os/system76-power</remote-id>
</upstream>
<longdescription lang="en">
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.
</longdescription>
</pkgmetadata>

View File

@@ -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'"
}