1 |
commit: e6a7d2a7ebe140963f12c702fc12c4b3c5895150 |
2 |
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Feb 28 10:14:38 2022 +0000 |
4 |
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Feb 28 11:26:24 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e6a7d2a7 |
7 |
|
8 |
app-emulation/ruffle: sync live |
9 |
|
10 |
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org> |
11 |
|
12 |
app-emulation/ruffle/ruffle-9999.ebuild | 30 ++++++++++-------------------- |
13 |
1 file changed, 10 insertions(+), 20 deletions(-) |
14 |
|
15 |
diff --git a/app-emulation/ruffle/ruffle-9999.ebuild b/app-emulation/ruffle/ruffle-9999.ebuild |
16 |
index 58111094b040..5f575704c2b7 100644 |
17 |
--- a/app-emulation/ruffle/ruffle-9999.ebuild |
18 |
+++ b/app-emulation/ruffle/ruffle-9999.ebuild |
19 |
@@ -1,4 +1,4 @@ |
20 |
-# Copyright 2021 Gentoo Authors |
21 |
+# Copyright 2021-2022 Gentoo Authors |
22 |
# Distributed under the terms of the GNU General Public License v2 |
23 |
|
24 |
EAPI=8 |
25 |
@@ -12,23 +12,17 @@ DESCRIPTION="Flash Player emulator written in Rust" |
26 |
HOMEPAGE="https://ruffle.rs/" |
27 |
EGIT_REPO_URI="https://github.com/ruffle-rs/ruffle.git" |
28 |
|
29 |
-LICENSE="Apache-2.0 BSD BSD-2 CC0-1.0 ISC MIT MPL-2.0 ZLIB curl zlib-acknowledgement" |
30 |
+LICENSE="Apache-2.0 BSD BSD-2 CC0-1.0 ISC MIT MPL-2.0 ZLIB curl" |
31 |
SLOT="0" |
32 |
-IUSE="gui" |
33 |
|
34 |
-DEPEND=" |
35 |
+RDEPEND=" |
36 |
+ dev-libs/glib:2 |
37 |
dev-libs/openssl:= |
38 |
media-libs/alsa-lib |
39 |
sys-libs/zlib:= |
40 |
+ x11-libs/gtk+:3 |
41 |
x11-libs/libxcb:=" |
42 |
-RDEPEND=" |
43 |
- ${DEPEND} |
44 |
- gui? ( |
45 |
- || ( |
46 |
- gnome-extra/zenity |
47 |
- kde-apps/kdialog |
48 |
- ) |
49 |
- )" |
50 |
+DEPEND="${RDEPEND}" |
51 |
BDEPEND=" |
52 |
${PYTHON_DEPS} |
53 |
virtual/pkgconfig |
54 |
@@ -45,7 +39,7 @@ src_unpack() { |
55 |
} |
56 |
|
57 |
src_compile() { |
58 |
- filter-flags '-flto*' # undefined references with tinyfiledialogs and more |
59 |
+ filter-flags '-flto*' # undefined references with ring crate and more |
60 |
|
61 |
cargo_src_compile --bins # note: configure --bins would skip tests |
62 |
} |
63 |
@@ -53,13 +47,9 @@ src_compile() { |
64 |
src_install() { |
65 |
dodoc README.md |
66 |
|
67 |
- # does not have a real GUI yet, flag is used to ensure there is a |
68 |
- # way for messages and file picker to be displayed with .desktop |
69 |
- if use gui; then |
70 |
- newicon web/packages/extension/assets/images/icon180.png ${PN}.png |
71 |
- make_desktop_entry ${PN} ${PN^} ${PN} "AudioVideo;Player;Emulator;" \ |
72 |
- "MimeType=application/x-shockwave-flash;application/vnd.adobe.flash.movie;" |
73 |
- fi |
74 |
+ newicon web/packages/extension/assets/images/icon180.png ${PN}.png |
75 |
+ make_desktop_entry ${PN} ${PN^} ${PN} "AudioVideo;Player;Emulator;" \ |
76 |
+ "MimeType=application/x-shockwave-flash;application/vnd.adobe.flash.movie;" |
77 |
|
78 |
cd target/$(usex debug{,} release) || die |