summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2023-05-25 19:39:35 -0400
committerIonen Wolkens <ionen@gentoo.org>2023-05-25 22:38:57 -0400
commitbb5824d2697d40d928bcf5bc996e53ee28b909f0 (patch)
tree4f032b5a938446497b554cec26997231efdcc187 /app-emulation
parentapp-emulation/ruffle: add 0_p20230525 (diff)
downloadgentoo-bb5824d2697d40d928bcf5bc996e53ee28b909f0.tar.gz
gentoo-bb5824d2697d40d928bcf5bc996e53ee28b909f0.tar.bz2
gentoo-bb5824d2697d40d928bcf5bc996e53ee28b909f0.zip
app-emulation/ruffle: sync live
wrt licenses, the newly used epaint crate has bundled fonts Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'app-emulation')
-rw-r--r--app-emulation/ruffle/ruffle-9999.ebuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/app-emulation/ruffle/ruffle-9999.ebuild b/app-emulation/ruffle/ruffle-9999.ebuild
index afafabcc1607..8fcc837b0a05 100644
--- a/app-emulation/ruffle/ruffle-9999.ebuild
+++ b/app-emulation/ruffle/ruffle-9999.ebuild
@@ -9,7 +9,7 @@ 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 Unicode-DFS-2016 ZLIB curl"
+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"
SLOT="0"
# dlopen: libX* (see winit+x11-dl crates)
@@ -60,6 +60,9 @@ src_unpack() {
src_configure() {
filter-lto # TODO: cleanup after bug #893658
+ # see .cargo/cargo.toml, only needed if RUSTFLAGS is set by the user
+ [[ -v RUSTFLAGS ]] && RUSTFLAGS+=" --cfg=web_sys_unstable_apis"d
+
if use test; then
# tests will be skipped if don't build everything
cargo_src_configure --workspace