mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-20 20:43:09 -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:
@@ -323,6 +323,7 @@ CRATES="
|
||||
zxcvbn@2.2.2
|
||||
"
|
||||
PYTHON_COMPAT=( python3_{9..13} )
|
||||
RUST_MIN_VER="1.75.0"
|
||||
inherit cargo gnome2-utils meson python-single-r1 xdg
|
||||
|
||||
DESCRIPTION="Keep your data safe"
|
||||
@@ -357,7 +358,6 @@ RDEPEND="
|
||||
x11-libs/pango
|
||||
"
|
||||
BDEPEND="
|
||||
>=virtual/rust-1.75.0
|
||||
dev-util/itstool
|
||||
sys-devel/gettext
|
||||
"
|
||||
@@ -365,6 +365,11 @@ BDEPEND="
|
||||
# Rust
|
||||
QA_FLAGS_IGNORED="usr/bin/${PN} usr/bin/${PN}-monitor"
|
||||
|
||||
pkg_setup() {
|
||||
python-single-r1_pkg_setup
|
||||
rust_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
mv -T "${WORKDIR}/${PN}-v${PV}"* "${S}" || die
|
||||
sed -i -e "/subdir('src')/d" "${S}/meson.build" || die
|
||||
Reference in New Issue
Block a user