mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 03:10:15 -04:00
sys-power/system76-power: new package, add 9999
Signed-off-by: Michal Vu <saigon-tech@tuta.io>
This commit is contained in:
15
sys-power/system76-power/metadata.xml
Normal file
15
sys-power/system76-power/metadata.xml
Normal 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>
|
||||
28
sys-power/system76-power/system76-power-9999.ebuild
Normal file
28
sys-power/system76-power/system76-power-9999.ebuild
Normal 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'"
|
||||
}
|
||||
Reference in New Issue
Block a user