public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michal Vu" <saigon-tech@tuta.io>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: sys-power/system76-power/
Date: Thu, 29 Aug 2024 12:07:39 +0000 (UTC)	[thread overview]
Message-ID: <1724933232.c8c2643c7930aa4bf2393783fc88cf8bebb3ae7c.saigon-tech@gentoo> (raw)

commit:     c8c2643c7930aa4bf2393783fc88cf8bebb3ae7c
Author:     Michal Vu <saigon-tech <AT> tuta <DOT> io>
AuthorDate: Thu Aug 29 12:07:12 2024 +0000
Commit:     Michal Vu <saigon-tech <AT> tuta <DOT> io>
CommitDate: Thu Aug 29 12:07:12 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c8c2643c

sys-power/system76-power: adding ebuild for version 1.2.0

Signed-off-by: Michal Vu <saigon-tech <AT> tuta.io>

 sys-power/system76-power/Manifest                  |   1 +
 .../system76-power/system76-power-1.2.0.ebuild     | 234 +++++++++++++++++++++
 2 files changed, 235 insertions(+)

diff --git a/sys-power/system76-power/Manifest b/sys-power/system76-power/Manifest
index c4ccf8604..7793464fa 100644
--- a/sys-power/system76-power/Manifest
+++ b/sys-power/system76-power/Manifest
@@ -135,6 +135,7 @@ DIST strsim-0.11.1.crate 14266 BLAKE2B 252a9ede4241b165525486aa8855dece37af77f5b
 DIST syn-1.0.109.crate 237611 BLAKE2B e827445d00c79a8eeb91eacde472f1987addd6ce9e1df95d7abf6446a77ff4173a8006845f3ae71c1da47193cfb72e0ead9a6d6bad2573be12c17e90735d9ad9 SHA512 12816b9e8cf984024b2fbce9f0ae14cf94d4d2c06f08cc54fb793ce78770bb4cc1288eb7df0ba5e8e937756e1e8e295c53fe07a0c5dde1ea8ddba03b6203b37d
 DIST syn-2.0.60.crate 255808 BLAKE2B d7a8e415dd72267fd92da48ba8b3e6feb728f0639797db1aa74aeaa2a57935b7565eec37cbd32eec826154e2c54075b121737369eb15af36c322c34b3cfd7930 SHA512 20bfa02b03c193672a9922f9a5e196185341e082a262f7c00d7c2d467d9e2d77f4af3994634923cfaeee34aa9eab510415165f052ffd9b1ed0b1b581e272898d
 DIST sysfs-class-0.1.3.crate 8806 BLAKE2B 34f96dd9cd438cbd9a1f1efe7abdadbf7294aef57d7ca6e0b8577d96e25609f4b015f27344e44a051e7fc44cbeb1345cd11a58ef4c719ff9c31d6f8e65c5a59a SHA512 0d65cf8518878222aa11e9d9f31569d42f5f72cfbde283399a09432f1e3021d384fca93b9c7362f72a4af0f10220accbdf0ecbeaa485e5c6eb4aadbafcb83a4b
+DIST system76-power-1.2.0.tar.gz 64982 BLAKE2B 7020d2f577c9d5e7736f04a1296160516426ec576f9579afb64321ea9a6e94fbbbe1fb8593e413d1b43c7225c5931bd69e95bc30e7465fa00b26da08efba4c2f SHA512 285df65cd6e76b275547550e1ebdf1d1eb38202a1b833bd3baacab524b8c90169ae8a5e25c3ede5fa761807bf4f22a33aac89185a311f58d79c95c9a25e1051e
 DIST system76-power-1.2.1.tar.gz 65344 BLAKE2B 5cb396ec23e568568d5db007b464c346091b1742a4660c4baa4f12a5d2d59e76b52b25bbcfecda22b2fef7454d954a8b9f80835b317bb8e05b8350cbed8a35e1 SHA512 fee8e9165735f25d3a9160522e1a0b72f8bf28e48c56bdac611f93c2b317cd0dd0df380dd1900cb8b97fbf9c514fc316884cb3c81be87adeea0a7ceeeb43bc7a
 DIST tempfile-3.10.1.crate 33653 BLAKE2B 819b183e7840f70270883ee8b6a91fa09861c3112eaadc65007199885abe099bd593e1cdc4d9ab48c23490a6d484cad9bf0e80cf4e718c369cc2418b72eaf09c SHA512 bac7515b85b0d01ea914b527f0fadd3a4d8e77c9eabe786977d2625d8a3e91decaec502dd15bab4d49a43597fa7cf7660fff4be1b043112d13b542a72443bf39
 DIST thiserror-1.0.59.crate 21040 BLAKE2B d9ae0b1d810e7631edf072a41267a871c1cd88d71c882c8fb47d65b3dc563ca2addef0ebf9a9cb122fbfdccff5b92815b8f2e0f7c3382963828cb69d21ec8531 SHA512 254b0ad6c4b135234f89db8bd5674fb8c6b633495810140abf93cf06c58e911ad2ebcfdc002e7ce29739e95ea066eeed3fbd7c831e2858822dff620598dd147a

diff --git a/sys-power/system76-power/system76-power-1.2.0.ebuild b/sys-power/system76-power/system76-power-1.2.0.ebuild
new file mode 100644
index 000000000..cb0d4aa78
--- /dev/null
+++ b/sys-power/system76-power/system76-power-1.2.0.ebuild
@@ -0,0 +1,234 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+EAPI=8
+
+CRATES="
+	addr2line@0.21.0
+	adler@1.0.2
+	aho-corasick@1.1.3
+	anstream@0.6.13
+	anstyle@1.0.6
+	anstyle-parse@0.2.3
+	anstyle-query@1.0.2
+	anstyle-wincon@3.0.2
+	anyhow@1.0.82
+	async-broadcast@0.5.1
+	async-channel@2.2.1
+	async-executor@1.11.0
+	async-fs@1.6.0
+	async-io@1.13.0
+	async-io@2.3.2
+	async-lock@2.8.0
+	async-lock@3.3.0
+	async-process@1.8.1
+	async-recursion@1.1.1
+	async-signal@0.2.6
+	async-task@4.7.0
+	async-trait@0.1.80
+	atomic-waker@1.1.2
+	autocfg@1.2.0
+	backtrace@0.3.71
+	bitflags@1.3.2
+	bitflags@2.5.0
+	block-buffer@0.10.4
+	blocking@1.5.1
+	byteorder@1.5.0
+	bytes@1.6.0
+	cc@1.0.95
+	cfg-if@1.0.0
+	clap@4.5.4
+	clap_builder@4.5.2
+	clap_derive@4.5.4
+	clap_lex@0.7.0
+	colorchoice@1.0.0
+	concat-in-place@1.1.0
+	concurrent-queue@2.4.0
+	cpufeatures@0.2.12
+	crossbeam-utils@0.8.19
+	crypto-common@0.1.6
+	darling@0.20.8
+	darling_core@0.20.8
+	darling_macro@0.20.8
+	derivative@2.2.0
+	derive_setters@0.1.6
+	digest@0.10.7
+	enumflags2@0.7.9
+	enumflags2_derive@0.7.9
+	equivalent@1.0.1
+	errno@0.3.8
+	event-listener@2.5.3
+	event-listener@3.1.0
+	event-listener@4.0.3
+	event-listener@5.3.0
+	event-listener-strategy@0.4.0
+	event-listener-strategy@0.5.1
+	fastrand@1.9.0
+	fastrand@2.0.2
+	fern@0.6.2
+	fnv@1.0.7
+	futures-core@0.3.30
+	futures-io@0.3.30
+	futures-lite@1.13.0
+	futures-lite@2.3.0
+	futures-sink@0.3.30
+	futures-task@0.3.30
+	futures-util@0.3.30
+	generic-array@0.14.7
+	getrandom@0.2.14
+	gimli@0.28.1
+	hashbrown@0.14.3
+	heck@0.5.0
+	hermit-abi@0.3.9
+	hex@0.4.3
+	hidapi@1.5.0
+	ident_case@1.0.1
+	indexmap@2.2.6
+	inotify@0.10.2
+	inotify-sys@0.1.5
+	instant@0.1.12
+	intel-pstate@1.0.1
+	io-lifetimes@1.0.11
+	itoa@1.0.11
+	libc@0.2.153
+	linux-raw-sys@0.3.8
+	linux-raw-sys@0.4.13
+	log@0.4.21
+	memchr@2.7.2
+	memoffset@0.7.1
+	memoffset@0.9.1
+	miniz_oxide@0.7.2
+	mio@0.8.11
+	nix@0.26.4
+	numtoa@0.2.4
+	object@0.32.2
+	once_cell@1.19.0
+	ordered-stream@0.2.0
+	parking@2.2.0
+	pin-project-lite@0.2.14
+	pin-utils@0.1.0
+	piper@0.2.1
+	pkg-config@0.3.30
+	polling@2.8.0
+	polling@3.7.0
+	ppv-lite86@0.2.17
+	proc-macro-crate@1.3.1
+	proc-macro2@1.0.81
+	quote@1.0.36
+	rand@0.8.5
+	rand_chacha@0.3.1
+	rand_core@0.6.4
+	regex@1.10.4
+	regex-automata@0.4.6
+	regex-syntax@0.8.3
+	rustc-demangle@0.1.23
+	rustix@0.37.27
+	rustix@0.38.34
+	ryu@1.0.17
+	serde@1.0.199
+	serde_derive@1.0.199
+	serde_json@1.0.116
+	serde_repr@0.1.19
+	sha1@0.10.6
+	signal-hook-registry@1.4.2
+	slab@0.4.9
+	smart-default@0.6.0
+	socket2@0.4.10
+	socket2@0.5.6
+	static_assertions@1.1.0
+	strsim@0.10.0
+	strsim@0.11.1
+	syn@1.0.109
+	syn@2.0.60
+	sysfs-class@0.1.3
+	tempfile@3.10.1
+	thiserror@1.0.59
+	thiserror-impl@1.0.59
+	tokio@1.37.0
+	tokio-macros@2.2.0
+	toml_datetime@0.6.5
+	toml_edit@0.19.15
+	tracing@0.1.40
+	tracing-attributes@0.1.27
+	tracing-core@0.1.32
+	typenum@1.17.0
+	uds_windows@1.1.0
+	unicode-ident@1.0.12
+	utf8parse@0.2.1
+	version_check@0.9.4
+	waker-fn@1.1.1
+	wasi@0.11.0+wasi-snapshot-preview1
+	winapi@0.3.9
+	winapi-i686-pc-windows-gnu@0.4.0
+	winapi-x86_64-pc-windows-gnu@0.4.0
+	windows-sys@0.48.0
+	windows-sys@0.52.0
+	windows-targets@0.48.5
+	windows-targets@0.52.5
+	windows_aarch64_gnullvm@0.48.5
+	windows_aarch64_gnullvm@0.52.5
+	windows_aarch64_msvc@0.48.5
+	windows_aarch64_msvc@0.52.5
+	windows_i686_gnu@0.48.5
+	windows_i686_gnu@0.52.5
+	windows_i686_gnullvm@0.52.5
+	windows_i686_msvc@0.48.5
+	windows_i686_msvc@0.52.5
+	windows_x86_64_gnu@0.48.5
+	windows_x86_64_gnu@0.52.5
+	windows_x86_64_gnullvm@0.48.5
+	windows_x86_64_gnullvm@0.52.5
+	windows_x86_64_msvc@0.48.5
+	windows_x86_64_msvc@0.52.5
+	winnow@0.5.40
+	xdg-home@1.1.0
+	zbus@3.15.2
+	zbus_macros@3.15.2
+	zbus_names@2.6.1
+	zbus_polkit@3.0.1
+	zvariant@3.15.2
+	zvariant_derive@3.15.2
+	zvariant_utils@1.0.1
+"
+
+inherit cargo
+
+DESCRIPTION="System76 Power Management Tool"
+HOMEPAGE="https://github.com/pop-os/system76-power"
+
+SRC_URI="
+	https://github.com/pop-os/system76-power/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz
+	$(cargo_crate_uris)
+"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+
+IUSE="systemd"
+DEPEND="sys-apps/systemd"
+RDEPEND="${DEPEND}"
+BDEPEND="virtual/rust"
+
+src_unpack() {
+	cargo_src_unpack
+}
+
+src_prepare() {
+	default
+	# Replace dynamic git dependency of 'sysfs-class' with a static one
+	sed -i 's|sysfs-class = { git = "https://github.com/pop-os/sysfs-class" }|sysfs-class = "0.1.3"|' Cargo.toml
+	cargo_gen_config
+}
+
+src_configure() {
+	cargo_src_configure
+}
+
+src_compile() {
+	cargo_src_compile
+}
+
+src_install() {
+	default
+	elog "Enable the service: 'systemctl enable --now com.system76.PowerDaemon.service'"
+}


             reply	other threads:[~2024-08-29 12:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-29 12:07 Michal Vu [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-08-29 11:48 [gentoo-commits] repo/proj/guru:dev commit in: sys-power/system76-power/ Michal Vu
2024-08-27 17:02 Michal Vu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1724933232.c8c2643c7930aa4bf2393783fc88cf8bebb3ae7c.saigon-tech@gentoo \
    --to=saigon-tech@tuta.io \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox