public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Ionen Wolkens" <ionen@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/ruffle/
Date: Fri, 24 Jan 2025 07:43:01 +0000 (UTC)	[thread overview]
Message-ID: <1737704412.44935a99924eb59d019e8512efae6a538cab64bd.ionen@gentoo> (raw)

commit:     44935a99924eb59d019e8512efae6a538cab64bd
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 24 06:04:05 2025 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Fri Jan 24 07:40:12 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44935a99

app-emulation/ruffle: add 0_p20250124

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

 app-emulation/ruffle/Manifest                  |   2 +
 app-emulation/ruffle/ruffle-0_p20250124.ebuild | 104 +++++++++++++++++++++++++
 2 files changed, 106 insertions(+)

diff --git a/app-emulation/ruffle/Manifest b/app-emulation/ruffle/Manifest
index f4bbe3611689..09467cbd5bc9 100644
--- a/app-emulation/ruffle/Manifest
+++ b/app-emulation/ruffle/Manifest
@@ -1,2 +1,4 @@
 DIST ruffle-nightly-2024-11-29-vendor.tar.xz 67239116 BLAKE2B d2eaaf7c7528207a1fabc67cd52bab37442e4c09a740842840f3e44a0d79c826f17b1014e30fcbb07b9e6346c48d4a92439c209b7f54ddc1897cb4166546a295 SHA512 fbf8589d2c9b21b1cb6e93963e8350fad77854e351538ac8155f16bbc16f0ecb1680f7ac7066d14e7fffefa5ead217acc8b8a9319ded891abdeffd5890797776
 DIST ruffle-nightly-2024-11-29.tar.gz 94965476 BLAKE2B 9440808ebc0f2db33df06f45eaf6b089b56b6ce604537c522ba57bb2e7e6ada4f334fa4e483547af9b203c4047566d88d88dbca93c6ab2dd8d1a5ced20bc6cdb SHA512 380da319ee84bddc9f12d472516471a18177f748b4072d1853e3aa9d6311226230cf5e38ac4b30041507f836ff620c04aa69e6e45407571d752baf77ac7ea42a
+DIST ruffle-nightly-2025-01-24-vendor.tar.xz 67182584 BLAKE2B 0927c7d181f86bb152ef1224efdebc88152b2966a24d11e7434a6b3aff472c8ea47164c9f61f3554561de78bb9a7a9c60648c994fc9feeb03903a72ccd3f8620 SHA512 9cbb5edb8bd7ba8d2a6dccbce20dd8026b3f6f7d47131292e7f55cc3fee7154189b9749b2142d32eaa879b18461c698317dd9b36f808482f656acb9f1dd8253f
+DIST ruffle-nightly-2025-01-24.tar.gz 95156736 BLAKE2B 7d66931308ab93c0e5cb95727297fbbf03406840c4b793033d277ebfa0c5f8a28e627439736fed4bdc537b3363b691da8efc4b1b3f653a9aa31b741dc0746f56 SHA512 b958e9b685ae529a33253a536fb67030ff0cc1bd78967bbefc5146eced710650f277c32ad37d1f4cd6ce1c43b9be6ad28f51b46ce14afe0644137065a7ef0215

diff --git a/app-emulation/ruffle/ruffle-0_p20250124.ebuild b/app-emulation/ruffle/ruffle-0_p20250124.ebuild
new file mode 100644
index 000000000000..1889e442e4e9
--- /dev/null
+++ b/app-emulation/ruffle/ruffle-0_p20250124.ebuild
@@ -0,0 +1,104 @@
+# Copyright 2021-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+RUST_MIN_VER=1.82.0
+inherit cargo desktop optfeature xdg
+
+MY_PV=nightly-${PV:3:4}-${PV:7:2}-${PV:9:2}
+MY_P=${PN}-${MY_PV}
+
+DESCRIPTION="Flash Player emulator written in Rust"
+HOMEPAGE="https://ruffle.rs/"
+SRC_URI="
+	https://github.com/ruffle-rs/ruffle/archive/refs/tags/${MY_PV}.tar.gz
+		-> ${MY_P}.tar.gz
+	https://dev.gentoo.org/~ionen/distfiles/${MY_P}-vendor.tar.xz
+"
+S=${WORKDIR}/${MY_P}
+
+LICENSE="|| ( Apache-2.0 MIT )"
+LICENSE+="
+	Apache-2.0 BSD BSD-2 Boost-1.0 CC0-1.0 ISC MIT MPL-2.0 OFL-1.1
+	UbuntuFontLicense-1.0 Unicode-3.0 ZLIB openssl
+" # crates
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+# dlopen: libX* (see winit+x11-dl crates -- TODO: need to recheck
+# if still correct and for the potential to be optional on wayland)
+RDEPEND="
+	media-libs/alsa-lib
+	virtual/libudev:=
+	x11-libs/libX11
+	x11-libs/libXcursor
+	x11-libs/libXrandr
+	x11-libs/libXrender
+"
+DEPEND="
+	${RDEPEND}
+	x11-base/xorg-proto
+"
+BDEPEND="
+	virtual/jre:*
+	virtual/pkgconfig
+"
+
+QA_FLAGS_IGNORED="usr/bin/${PN}.*"
+
+PATCHES=(
+	"${FILESDIR}"/${PN}-0_p20231216-skip-render-tests.patch
+)
+
+src_configure() {
+	local workspaces=(
+		ruffle_{desktop,scanner}
+		exporter
+		$(usev test tests)
+	)
+
+	cargo_src_configure "${workspaces[@]/#/--package=}"
+}
+
+src_test() {
+	local skip=(
+		# may need more investigation, strangely "pass" (xfail) when
+		# RUSTFLAGS is unset, skip for now (bug #915726)
+		--skip from_avmplus/as3/Types/Int/wraparound
+	)
+
+	cargo_src_test -- "${skip[@]}"
+}
+
+src_install() {
+	dodoc README.md
+
+	newicon web/packages/extension/assets/images/icon180.png ${PN}.png
+	make_desktop_entry ${PN} ${PN^} ${PN} "AudioVideo;Player;Emulator;" \
+		"MimeType=application/x-shockwave-flash;application/vnd.adobe.flash.movie;"
+
+	cd "$(cargo_target_dir)" || die
+	newbin ${PN}_desktop ${PN}
+	newbin exporter ${PN}_exporter
+	dobin ${PN}_scanner
+}
+
+pkg_postinst() {
+	xdg_pkg_postinst
+
+	if [[ ! ${REPLACING_VERSIONS} ]]; then
+		elog "${PN} is experimental software that is still under heavy development"
+		elog "and only receiving nightly releases. Plans in Gentoo is to update"
+		elog "roughly every months if no known major regressions (feel free to"
+		elog "report if you feel a newer nightly is needed ahead of time)."
+		elog
+		elog "There is currently no plans to support wasm builds / browser"
+		elog "extensions, this provides the desktop viewer and other tools."
+	fi
+
+	optfeature "h264 video decoding" media-libs/openh264
+	optfeature "the in-application file picker" sys-apps/xdg-desktop-portal
+}


             reply	other threads:[~2025-01-24  7:43 UTC|newest]

Thread overview: 133+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-24  7:43 Ionen Wolkens [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-04-16 12:22 [gentoo-commits] repo/gentoo:master commit in: app-emulation/ruffle/ Ionen Wolkens
2025-04-16 12:22 Ionen Wolkens
2025-02-13 17:51 Sam James
2024-12-31 23:51 Ionen Wolkens
2024-12-18 12:14 Sam James
2024-11-29  3:21 Ionen Wolkens
2024-11-17 16:07 Michał Górny
2024-11-14 12:41 Ionen Wolkens
2024-11-14 12:31 Ionen Wolkens
2024-10-27 15:55 Ionen Wolkens
2024-10-19  1:28 Ionen Wolkens
2024-10-18  7:01 Arthur Zamarin
2024-09-29 22:48 Ionen Wolkens
2024-09-29 22:48 Ionen Wolkens
2024-09-29 22:48 Ionen Wolkens
2024-09-25 10:27 Jakov Smolić
2024-09-03 12:31 Ionen Wolkens
2024-09-03 12:31 Ionen Wolkens
2024-09-03 12:31 Ionen Wolkens
2024-08-12 12:48 Arthur Zamarin
2024-07-22  7:01 Ionen Wolkens
2024-07-22  7:01 Ionen Wolkens
2024-07-22  7:01 Ionen Wolkens
2024-07-12 17:15 Sam James
2024-06-22  9:34 Ionen Wolkens
2024-06-22  9:34 Ionen Wolkens
2024-06-17  9:39 James Le Cuirot
2024-06-10 19:21 Arthur Zamarin
2024-05-21 18:29 Ionen Wolkens
2024-05-21 18:29 Ionen Wolkens
2024-05-12 20:25 Ionen Wolkens
2024-04-28 19:35 Sam James
2024-04-22  7:26 Ionen Wolkens
2024-04-22  7:26 Ionen Wolkens
2024-03-27 16:45 Ionen Wolkens
2024-03-26 19:25 Ionen Wolkens
2024-03-21 20:55 Arthur Zamarin
2024-03-20  7:17 Ionen Wolkens
2024-03-20  7:17 Ionen Wolkens
2024-02-17 12:11 Jakov Smolić
2024-02-17 10:46 Ionen Wolkens
2024-01-17 14:45 Ionen Wolkens
2023-12-16 13:26 Ionen Wolkens
2023-10-15  3:01 Ionen Wolkens
2023-09-19 11:36 Ionen Wolkens
2023-09-18 11:57 Ionen Wolkens
2023-09-13 19:09 Sam James
2023-09-12 16:15 Ionen Wolkens
2023-08-24  3:40 Ionen Wolkens
2023-08-06  4:32 Ionen Wolkens
2023-07-28  1:09 Ionen Wolkens
2023-07-25  0:10 Ionen Wolkens
2023-07-25  0:10 Ionen Wolkens
2023-07-12  1:14 Sam James
2023-06-24  6:49 Ionen Wolkens
2023-06-24  4:14 Ionen Wolkens
2023-06-24  4:14 Ionen Wolkens
2023-06-20  3:11 Ionen Wolkens
2023-06-20  3:11 Ionen Wolkens
2023-06-20  3:11 Ionen Wolkens
2023-05-27  0:31 Ionen Wolkens
2023-05-26  2:39 Ionen Wolkens
2023-05-26  2:39 Ionen Wolkens
2023-05-11 17:01 Ionen Wolkens
2023-04-26  8:37 Ionen Wolkens
2023-04-26  8:37 Ionen Wolkens
2023-03-28  7:41 Ionen Wolkens
2023-03-09 20:13 Ionen Wolkens
2023-02-09 22:41 Ionen Wolkens
2023-02-09 22:41 Ionen Wolkens
2023-02-09 22:41 Ionen Wolkens
2023-01-30 19:11 Ionen Wolkens
2023-01-28 15:56 Ionen Wolkens
2023-01-27  1:31 Ionen Wolkens
2022-12-29 20:29 Ionen Wolkens
2022-12-29 20:29 Ionen Wolkens
2022-12-19  7:23 Ionen Wolkens
2022-12-12  7:16 Ionen Wolkens
2022-12-12  7:16 Ionen Wolkens
2022-11-12 11:33 Ionen Wolkens
2022-10-20 13:34 Ionen Wolkens
2022-10-15  5:23 Ionen Wolkens
2022-10-15  5:23 Ionen Wolkens
2022-10-13  5:14 Ionen Wolkens
2022-10-13  5:14 Ionen Wolkens
2022-09-22  9:22 Ionen Wolkens
2022-09-14  4:05 Ionen Wolkens
2022-09-14  4:05 Ionen Wolkens
2022-09-01  6:47 Ionen Wolkens
2022-09-01  6:47 Ionen Wolkens
2022-08-16  9:29 Ionen Wolkens
2022-08-07 13:59 Ionen Wolkens
2022-07-31 23:26 Ionen Wolkens
2022-07-31 23:26 Ionen Wolkens
2022-07-31 23:26 Ionen Wolkens
2022-07-21  5:38 Ionen Wolkens
2022-07-16  2:57 Ionen Wolkens
2022-07-16  2:57 Ionen Wolkens
2022-07-11 22:57 Ionen Wolkens
2022-07-01  2:19 Ionen Wolkens
2022-07-01  2:19 Ionen Wolkens
2022-06-28  7:46 Ionen Wolkens
2022-06-18  9:31 Ionen Wolkens
2022-06-16 13:16 Ionen Wolkens
2022-06-12 15:12 Ionen Wolkens
2022-06-12 15:12 Ionen Wolkens
2022-06-01  8:17 Ionen Wolkens
2022-05-28 19:26 Ionen Wolkens
2022-05-16  6:45 Ionen Wolkens
2022-05-13 14:51 Ionen Wolkens
2022-05-13 14:51 Ionen Wolkens
2022-04-29 11:23 Ionen Wolkens
2022-04-29 11:23 Ionen Wolkens
2022-04-14  6:28 Ionen Wolkens
2022-04-14  6:28 Ionen Wolkens
2022-03-30  7:16 Ionen Wolkens
2022-03-30  7:16 Ionen Wolkens
2022-03-15 20:03 Ionen Wolkens
2022-03-02 10:07 Ionen Wolkens
2022-02-28 11:28 Ionen Wolkens
2022-02-28 11:28 Ionen Wolkens
2022-02-16  6:58 Ionen Wolkens
2022-02-11 23:16 Ionen Wolkens
2022-02-06 19:47 Ionen Wolkens
2022-01-27 12:44 Ionen Wolkens
2022-01-13  8:06 Ionen Wolkens
2022-01-09 21:20 Ionen Wolkens
2021-12-27  0:57 Ionen Wolkens
2021-12-27  0:57 Ionen Wolkens
2021-12-15  9:54 Ionen Wolkens
2021-12-14 20:20 Ionen Wolkens
2021-12-14 20:20 Ionen Wolkens

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1737704412.44935a99924eb59d019e8512efae6a538cab64bd.ionen@gentoo \
    --to=ionen@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox