From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C6A061581FB for ; Tue, 27 Aug 2024 17:02:36 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0D02DE2AB0; Tue, 27 Aug 2024 17:02:36 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E318CE2AB0 for ; Tue, 27 Aug 2024 17:02:35 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E61BD340BE0 for ; Tue, 27 Aug 2024 17:02:34 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 550F01F08 for ; Tue, 27 Aug 2024 17:02:33 +0000 (UTC) From: "Michal Vu" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michal Vu" Message-ID: <1724778051.cfc24e46362cf214c8c8c1c4ba10db96e0e498ab.saigon-tech@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: sys-power/system76-power/ X-VCS-Repository: repo/proj/guru X-VCS-Files: sys-power/system76-power/metadata.xml sys-power/system76-power/system76-power-9999.ebuild X-VCS-Directories: sys-power/system76-power/ X-VCS-Committer: saigon-tech X-VCS-Committer-Name: Michal Vu X-VCS-Revision: cfc24e46362cf214c8c8c1c4ba10db96e0e498ab X-VCS-Branch: dev Date: Tue, 27 Aug 2024 17:02:33 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: bd29daf4-7ad2-4ad1-9335-6bc6391cf916 X-Archives-Hash: ddbcc4dcff5f1e5c33f4cd5b6fd8f441 commit: cfc24e46362cf214c8c8c1c4ba10db96e0e498ab Author: Michal Vu tuta io> AuthorDate: Tue Aug 27 17:00:16 2024 +0000 Commit: Michal Vu tuta io> CommitDate: Tue Aug 27 17:00:51 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=cfc24e46 sys-power/system76-power: new package, add 9999 Signed-off-by: Michal Vu tuta.io> sys-power/system76-power/metadata.xml | 15 ++++++++++++ .../system76-power/system76-power-9999.ebuild | 28 ++++++++++++++++++++++ 2 files changed, 43 insertions(+) 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'" +}