sys-power/system76-power/sys-power/system76-power
Gentoo ebuild recipe identityGentoo ebuild declares EAPI
SHA-2564b5f83786ba91a5d0e0b6db8185a46a3159dc085acf95e9c8fe4ca23e3df3833
MaleculeH₂(Cm₂Os)Md(Bk)
Evidence
1# Copyright 2022-2024 Gentoo Authors
2# Distributed under the terms of the GNU General Public License v2
3EAPI=8
4
5CRATES="
⋯7 lines
193:7… t cargo
194
195DESCRIPTION="System76 Power Management Tool"
196HOMEPAGE="https://github.com/pop-os/system76-power"
197
198SRC_URI="
199 https://github.com/pop-os/system76-power/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz
200 ${CARGO_CRATE_URIS}
201"
⋯13 lines
216:4… Replace dynamic git dependency of 'sysfs-class' with a static one
217 sed -i 's|sysfs-class = { git = "https://github.com/pop-os/sysfs-class" }|sysfs-class = "0.1.3"|' Cargo.toml
218 cargo_gen_config
⋯7 lines
226pkg_postinst(){
227 if ! has_version sys-apps/systemd; then
228 ewarn "${PN} is not functional without sys-apps/systemd at this point."
229 fi
230}