commit:     87596ab06e92be6d68ec8740f0cd42ef31b8d0c8
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 20 05:58:53 2024 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Wed Mar 20 07:01:04 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87596ab0

app-emulation/ruffle: sync live

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 app-emulation/ruffle/ruffle-9999.ebuild | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/app-emulation/ruffle/ruffle-9999.ebuild 
b/app-emulation/ruffle/ruffle-9999.ebuild
index 4d1c24f9a31c..135f04109053 100644
--- a/app-emulation/ruffle/ruffle-9999.ebuild
+++ b/app-emulation/ruffle/ruffle-9999.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit cargo desktop git-r3 xdg
+inherit cargo desktop git-r3 optfeature xdg
 
 DESCRIPTION="Flash Player emulator written in Rust"
 HOMEPAGE="https://ruffle.rs/";
@@ -20,11 +20,10 @@ RESTRICT="!test? ( test )"
 
 # dlopen: libX* (see winit+x11-dl crates)
 RDEPEND="
-       dev-libs/glib:2
        dev-libs/openssl:=
        media-libs/alsa-lib
        sys-libs/zlib:=
-       x11-libs/gtk+:3
+       virtual/libudev:=
        x11-libs/libX11
        x11-libs/libXcursor
        x11-libs/libXrandr
@@ -88,3 +87,9 @@ src_install() {
        newbin exporter ${PN}_exporter
        dobin ${PN}_scanner
 }
+
+pkg_postinst() {
+       xdg_pkg_postinst
+
+       optfeature "the in-application file picker" sys-apps/xdg-desktop-portal
+}

Reply via email to