From 7d1fc8f13082082c2539f20beadcf37089543b8e Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 20 Jun 2023 07:15:41 +0100 Subject: gentoo auto-resync : 20:06:2023 - 07:15:40 --- app-emulation/ruffle/ruffle-9999.ebuild | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) (limited to 'app-emulation/ruffle/ruffle-9999.ebuild') diff --git a/app-emulation/ruffle/ruffle-9999.ebuild b/app-emulation/ruffle/ruffle-9999.ebuild index 3c6962772b54..e0410394da4a 100644 --- a/app-emulation/ruffle/ruffle-9999.ebuild +++ b/app-emulation/ruffle/ruffle-9999.ebuild @@ -9,7 +9,12 @@ DESCRIPTION="Flash Player emulator written in Rust" HOMEPAGE="https://ruffle.rs/" EGIT_REPO_URI="https://github.com/ruffle-rs/ruffle.git" -LICENSE="Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD BSD-2 Boost-1.0 CC0-1.0 ISC MIT MPL-2.0 OFL-1.1 UbuntuFontLicense-1.0 Unicode-DFS-2016 ZLIB curl" +LICENSE="|| ( MIT Apache-2.0 )" +LICENSE+=" + Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD Boost-1.0 + CC0-1.0 ISC UbuntuFontLicense-1.0 MIT MPL-2.0 OFL-1.1 + Unicode-DFS-2016 ZLIB" # crates +LICENSE+=" curl" # non-automated extra SLOT="0" # dlopen: libX* (see winit+x11-dl crates) @@ -63,12 +68,12 @@ src_configure() { # see .cargo/cargo.toml, only needed if RUSTFLAGS is set by the user [[ -v RUSTFLAGS ]] && RUSTFLAGS+=" --cfg=web_sys_unstable_apis" - if use test; then - # tests will be skipped if don't build everything - cargo_src_configure --workspace - else - cargo_src_configure --package={ruffle_{desktop,scanner},exporter} - fi + local workspaces=( + ruffle_{desktop,scanner} + exporter + $(usev test tests) + ) + cargo_src_configure ${workspaces[*]/#/--package=} } src_test() { -- cgit v1.2.3