diff options
author | Takuya Wakazono <pastalian46@gmail.com> | 2024-11-12 00:07:37 +0900 |
---|---|---|
committer | Takuya Wakazono <pastalian46@gmail.com> | 2024-11-12 22:17:16 +0900 |
commit | eb317ddb431f4869c4e728c635afe921e1fcdd68 (patch) | |
tree | 7e4987a4050fe4bd0656f331e8d7972bbd486bda /dev-libs | |
parent | dev-cpp/cpptoml: treeclean, moved to ::gentoo (diff) | |
download | guru-eb317ddb431f4869c4e728c635afe921e1fcdd68.tar.gz guru-eb317ddb431f4869c4e728c635afe921e1fcdd68.tar.bz2 guru-eb317ddb431f4869c4e728c635afe921e1fcdd68.zip |
*/*: 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>
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/dmd_core/dmd_core-0.7.2-r1.ebuild (renamed from dev-libs/dmd_core/dmd_core-0.7.2.ebuild) | 10 | ||||
-rw-r--r-- | dev-libs/libsignal-ffi/libsignal-ffi-0.44.0-r1.ebuild (renamed from dev-libs/libsignal-ffi/libsignal-ffi-0.44.0.ebuild) | 8 | ||||
-rw-r--r-- | dev-libs/libsignal-ffi/libsignal-ffi-0.46.0-r1.ebuild (renamed from dev-libs/libsignal-ffi/libsignal-ffi-0.46.0.ebuild) | 8 | ||||
-rw-r--r-- | dev-libs/libsignal-ffi/libsignal-ffi-0.51.0-r1.ebuild (renamed from dev-libs/libsignal-ffi/libsignal-ffi-0.51.0.ebuild) | 8 | ||||
-rw-r--r-- | dev-libs/tbtools/tbtools-0.3.2-r2.ebuild (renamed from dev-libs/tbtools/tbtools-0.3.2-r1.ebuild) | 6 |
5 files changed, 27 insertions, 13 deletions
diff --git a/dev-libs/dmd_core/dmd_core-0.7.2.ebuild b/dev-libs/dmd_core/dmd_core-0.7.2-r1.ebuild index ff1ebc746..f3088c1f2 100644 --- a/dev-libs/dmd_core/dmd_core-0.7.2.ebuild +++ b/dev-libs/dmd_core/dmd_core-0.7.2-r1.ebuild @@ -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" \ diff --git a/dev-libs/libsignal-ffi/libsignal-ffi-0.44.0.ebuild b/dev-libs/libsignal-ffi/libsignal-ffi-0.44.0-r1.ebuild index adc0251a2..f189a660c 100644 --- a/dev-libs/libsignal-ffi/libsignal-ffi-0.44.0.ebuild +++ b/dev-libs/libsignal-ffi/libsignal-ffi-0.44.0-r1.ebuild @@ -6,8 +6,9 @@ EAPI=8 LLVM_COMPAT=( {18..19} ) +RUST_NEEDS_LLVM=1 -inherit cargo llvm-r1 +inherit llvm-r1 cargo DESCRIPTION="A C ABI library which exposes Signal protocol logic" HOMEPAGE="https://github.com/signalapp/libsignal" @@ -28,6 +29,11 @@ BDEPEND=" $(llvm_gen_dep 'sys-devel/clang:${LLVM_SLOT}') " +pkg_setup() { + llvm-r1_pkg_setup + rust_pkg_setup +} + src_unpack() { default cargo_gen_config diff --git a/dev-libs/libsignal-ffi/libsignal-ffi-0.46.0.ebuild b/dev-libs/libsignal-ffi/libsignal-ffi-0.46.0-r1.ebuild index adc0251a2..f189a660c 100644 --- a/dev-libs/libsignal-ffi/libsignal-ffi-0.46.0.ebuild +++ b/dev-libs/libsignal-ffi/libsignal-ffi-0.46.0-r1.ebuild @@ -6,8 +6,9 @@ EAPI=8 LLVM_COMPAT=( {18..19} ) +RUST_NEEDS_LLVM=1 -inherit cargo llvm-r1 +inherit llvm-r1 cargo DESCRIPTION="A C ABI library which exposes Signal protocol logic" HOMEPAGE="https://github.com/signalapp/libsignal" @@ -28,6 +29,11 @@ BDEPEND=" $(llvm_gen_dep 'sys-devel/clang:${LLVM_SLOT}') " +pkg_setup() { + llvm-r1_pkg_setup + rust_pkg_setup +} + src_unpack() { default cargo_gen_config diff --git a/dev-libs/libsignal-ffi/libsignal-ffi-0.51.0.ebuild b/dev-libs/libsignal-ffi/libsignal-ffi-0.51.0-r1.ebuild index 6f8f1f580..0d01d1599 100644 --- a/dev-libs/libsignal-ffi/libsignal-ffi-0.51.0.ebuild +++ b/dev-libs/libsignal-ffi/libsignal-ffi-0.51.0-r1.ebuild @@ -6,8 +6,9 @@ EAPI=8 LLVM_COMPAT=( {18..19} ) +RUST_NEEDS_LLVM=1 -inherit cargo llvm-r1 +inherit llvm-r1 cargo DESCRIPTION="A C ABI library which exposes Signal protocol logic" HOMEPAGE="https://github.com/signalapp/libsignal" @@ -28,6 +29,11 @@ BDEPEND=" $(llvm_gen_dep 'sys-devel/clang:${LLVM_SLOT}') " +pkg_setup() { + llvm-r1_pkg_setup + rust_pkg_setup +} + src_unpack() { default cargo_gen_config diff --git a/dev-libs/tbtools/tbtools-0.3.2-r1.ebuild b/dev-libs/tbtools/tbtools-0.3.2-r2.ebuild index 3b8d9889e..161497e99 100644 --- a/dev-libs/tbtools/tbtools-0.3.2-r1.ebuild +++ b/dev-libs/tbtools/tbtools-0.3.2-r2.ebuild @@ -132,6 +132,11 @@ declare -A GIT_CRATES=( [cursive_core]='https://github.com/gyscos/cursive;0a95c82c88c8a791d7fd983e7fb9f568b77551a8;cursive-%commit%/cursive-core' ) +# <time@0.3.35 +# https://github.com/time-rs/time/issues/693 +RUST_MAX_VER="1.79.0" +RUST_MIN_VER="1.74.0" + inherit cargo DESCRIPTION="Thunderbolt/USB4 debugging tools" @@ -151,7 +156,6 @@ RDEPEND="virtual/libudev" DEPEND="${RDEPEND}" BDEPEND=" virtual/pkgconfig - >=virtual/rust-1.74.0 " QA_FLAGS_IGNORED="usr/bin/.*" |