summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2023-02-09 17:12:46 -0500
committerIonen Wolkens <ionen@gentoo.org>2023-02-09 17:41:16 -0500
commitb6432bb97be1fbfa888f5a9a3ddd6be80e6f97b0 (patch)
treeec0b77d541c6a933c0a33f682e29612bd6971380 /app-emulation/ruffle
parentapp-emulation/ruffle: add 0_p20230209 (diff)
downloadgentoo-b6432bb97be1fbfa888f5a9a3ddd6be80e6f97b0.tar.gz
gentoo-b6432bb97be1fbfa888f5a9a3ddd6be80e6f97b0.tar.bz2
gentoo-b6432bb97be1fbfa888f5a9a3ddd6be80e6f97b0.zip
app-emulation/ruffle: sync live (fwiw)
cargo vendor is currently broken, may just drop the live ebuild if this continues as would rather not have to implement hacks in live, aka getting: Found duplicate version of package `dasp_sample v0.11.0` vendored from two sources: source 1: registry `crates-io` source 2: https://github.com/RustAudio/dasp?rev=<snip> Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'app-emulation/ruffle')
-rw-r--r--app-emulation/ruffle/ruffle-9999.ebuild14
1 files changed, 11 insertions, 3 deletions
diff --git a/app-emulation/ruffle/ruffle-9999.ebuild b/app-emulation/ruffle/ruffle-9999.ebuild
index 2e43a88f8190..5abbe4507eac 100644
--- a/app-emulation/ruffle/ruffle-9999.ebuild
+++ b/app-emulation/ruffle/ruffle-9999.ebuild
@@ -1,9 +1,9 @@
-# Copyright 2021-2022 Gentoo Authors
+# Copyright 2021-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-inherit cargo desktop flag-o-matic git-r3 xdg
+inherit cargo desktop flag-o-matic git-r3 virtualx xdg
DESCRIPTION="Flash Player emulator written in Rust"
HOMEPAGE="https://ruffle.rs/"
@@ -31,7 +31,11 @@ DEPEND="
BDEPEND="
virtual/jre:*
virtual/pkgconfig
- >=virtual/rust-1.64"
+ >=virtual/rust-1.64
+ test? (
+ media-libs/mesa[llvm]
+ x11-base/xorg-server[-minimal]
+ )"
QA_FLAGS_IGNORED="usr/bin/${PN}.*"
@@ -46,6 +50,10 @@ src_compile() {
cargo_src_compile --bins # note: configure --bins would skip tests
}
+src_test() {
+ virtx cargo_src_test
+}
+
src_install() {
dodoc README.md