*/*: 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:
Takuya Wakazono
2024-11-12 00:07:37 +09:00
parent 74ff5c5014
commit eb317ddb43
61 changed files with 770 additions and 935 deletions

View File

@@ -55,16 +55,8 @@ KEYWORDS="~amd64"
RESTRICT="test"
# There are inconsistencies in the minimum required version between
# the homepage of the package and the README of its primary consumer,
# developed by the same person. Since the primary consumer directly
# pulls up the library as a Git submodule (patched out to use a
# standalone library in Gentoo) and does not require Rust by itself,
# we presume that that is more accurate.
BDEPEND=">=virtual/rust-1.50.0"
src_install() {
dolib.a target/$(usex debug debug release)/lib${PN}.a
dolib.a "$(cargo_target_dir)"/lib${PN}.a
insinto /usr/$(get_libdir)/pkgconfig
doins "${FILESDIR}"/dmd_core.pc
sed -e "s/%VERSION%/${PV}/g" \