mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-23 05:53:12 -04:00
*/*: update for slotted Rust
guru version of this commit: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01ba4dc61965ef7658a24728841c04c9a1ce4871 Closes: https://bugs.gentoo.org/943170 Closes: https://bugs.gentoo.org/943223 Closes: #260 Signed-off-by: Takuya Wakazono <pastalian46@gmail.com>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# Copyright 2022 Gentoo Authors
|
||||
# Copyright 2022-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
EAPI=8
|
||||
|
||||
@@ -197,21 +197,15 @@ 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)
|
||||
${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
|
||||
@@ -220,14 +214,6 @@ src_prepare() {
|
||||
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'"
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 2022 Gentoo Authors
|
||||
# Copyright 2022-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
EAPI=8
|
||||
|
||||
@@ -197,21 +197,15 @@ 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)
|
||||
${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
|
||||
@@ -220,14 +214,6 @@ src_prepare() {
|
||||
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'"
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 2022 Gentoo Authors
|
||||
# Copyright 2022-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
@@ -15,7 +15,6 @@ KEYWORDS=""
|
||||
|
||||
DEPEND="sys-apps/systemd"
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND="virtual/rust"
|
||||
|
||||
src_unpack(){
|
||||
git-r3_src_unpack
|
||||
|
||||
Reference in New Issue
Block a user