From: "Ionen Wolkens" <ionen@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/ruffle/
Date: Sun, 29 Sep 2024 22:48:34 +0000 (UTC) [thread overview]
Message-ID: <1727649974.e7f68ce62871c4c6bc18f9f0d29e16cc75fc425f.ionen@gentoo> (raw)
commit: e7f68ce62871c4c6bc18f9f0d29e16cc75fc425f
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 29 22:34:35 2024 +0000
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Sun Sep 29 22:46:14 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7f68ce6
app-emulation/ruffle: add 0_p20240929
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
app-emulation/ruffle/Manifest | 2 +
app-emulation/ruffle/ruffle-0_p20240929.ebuild | 117 +++++++++++++++++++++++++
2 files changed, 119 insertions(+)
diff --git a/app-emulation/ruffle/Manifest b/app-emulation/ruffle/Manifest
index 237b7e4ff61d..90905a132864 100644
--- a/app-emulation/ruffle/Manifest
+++ b/app-emulation/ruffle/Manifest
@@ -403,6 +403,8 @@ DIST rfd-42dcc7d61fc5e278b4ed76bb9720ba4d89266f01.gh.tar.gz 65500 BLAKE2B 2cc5bc
DIST ring-0.17.8.crate 4188554 BLAKE2B f531b15cc5cf88f2ef00b1708473a7e98a42dbbd026027ef2c42f2d8bdba0eb1665621fc98db618252f6a131bd54b1493987a0285bf2b9a22eba4c9409ee1cab SHA512 e4966409a4078ee43bfc9cc659d08ad28419effe2a729c8c275361a7fe0620a3c727009bcfb1d0bab265af2bc107b50c19d868a4e80da7a8bb55f97e8b214358
DIST roxmltree-0.20.0.crate 54594 BLAKE2B 9605ca407af248c71e0d2bc24d213aa6ff08a14eb548b85de16de7e172a617cdf12c2e4c686f6dd1c80455448a313f6e7d760885f189ae726934efbe06fb5603 SHA512 f8a934d3809e417c43bca53478cef0a7a18d908620175c84cfa2cdb8c85775b52cc641fb7eb12c80c483e0c17eb500dd3358ace858aceaa810d3ddbdef902d91
DIST ruffle-nightly-2024-09-02.tar.gz 93417248 BLAKE2B 6ff7e15bfed5cae43b92d709db4da8af3f212f2dd040f3d9c24268e1c11e154887e44a762101501029c5f59039a432eaf5062ef2011581b0660b94571cb65080 SHA512 ec5dfe5092f8c14d3b6fc8fff53bd7f445bfe2b9f05162f3f1189b1864f35e2e86caa6ca7869d1f75be4a4d89c207d8a75ec53d3eaa027faa7686b527b8f8c94
+DIST ruffle-nightly-2024-09-29-vendor.tar.xz 68100452 BLAKE2B 31644cd0015e54ac784be531587c2d44412dcf68dbefd391df44268b31925262bf6ea676ab0a5cbf15d81494109db328b4519742bff61558608a3baf795ff8bc SHA512 1ee34f2fdecb5cc2bf5fdf7d728185a74ca72caf2295096842e557a321e54bc9ae4812c46f18ef42c2033703e26ef4edb124fc0a2a7ad8a9dfb2671473082a31
+DIST ruffle-nightly-2024-09-29.tar.gz 93467899 BLAKE2B 9a9c10686e161ce913892279378bca6c4aea67397bad6fb500e18d5362ee9c6303fcb20238dd8e1fbdb3cbeaa2eaa623eb3b5f2b8c7c9f2ca061c1edb5cc239b SHA512 1a835c5fcb7e6420cea5680af6d14e0bf8d889823b5f2617373aeec88511a31300441c869b53e01e32900e8cb1b2a9e69d52434dc4586354d266a8b6a99af2bb
DIST rust-flash-lso-f9e3de59a86df1c954fecba6b4b752df61cad73a.gh.tar.gz 686089 BLAKE2B 7cc3dffbb9e57b39611649bfd034bb23dee8a6bd113bd871017966e81c4ddab876c89bf7f129e90b7e7dbd58190e71e72a602fa5d43dffb4f55b3ff2d53a7e88 SHA512 8f60c3c68f40d1138c0342819515ce29f8d2d9171b1aa19ce26b2233be97e336bf2743f55bf72f0284e2635b1fa42f7de9a940b11e50a06970224ddc9d730705
DIST rustc-demangle-0.1.24.crate 29047 BLAKE2B 8248b014eedb26cdc0b748544ba91b9aae9c992a6f93b4d3ac256b78f691d572f8885a3575492ea556698a241d2759743968293079ca02bb6a5f318b0ed66dd4 SHA512 eb897c35300b87766e6105917a907fca1c5b1f7691fc03c6c1aaf38075ac883a73d1eb54a245d13ba59c7b0f0333d6543e23fc1b1c542fbbd5c750a84660b9e8
DIST rustc-hash-1.1.0.crate 9331 BLAKE2B 16ac56622897f47a06b661fb59a196b08d48e782ab87549c8bd5c6fe92f374c9bfd44dcb36588512bd9b6125c2fd79a12d648aaa308fd9694bcca3a7c1b49ac9 SHA512 84e673ea9b046f7b989d47f2c4505557fbd5de991e6fc9f56a03605d40e0b4ba5427cd566954890153cc033ccbec6c984306634571935bfe0d4cdfbe56f39544
diff --git a/app-emulation/ruffle/ruffle-0_p20240929.ebuild b/app-emulation/ruffle/ruffle-0_p20240929.ebuild
new file mode 100644
index 000000000000..fbb6ac59d57f
--- /dev/null
+++ b/app-emulation/ruffle/ruffle-0_p20240929.ebuild
@@ -0,0 +1,117 @@
+# Copyright 2021-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cargo desktop optfeature xdg
+
+if [[ ${PV} == 9999 ]]; then
+ EGIT_REPO_URI="https://code.videolan.org/videolan/libplacebo.git"
+ inherit git-r3
+else
+ MY_PV=nightly-${PV:3:4}-${PV:7:2}-${PV:9:2}
+ MY_P=${PN}-${MY_PV}
+ 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}
+ KEYWORDS="~amd64"
+fi
+
+DESCRIPTION="Flash Player emulator written in Rust"
+HOMEPAGE="https://ruffle.rs/"
+
+LICENSE="|| ( Apache-2.0 MIT )"
+LICENSE+="
+ Apache-2.0 BSD-2 BSD Boost-1.0 CC0-1.0 ISC UbuntuFontLicense-1.0 MIT
+ MPL-2.0 OFL-1.1 openssl Unicode-3.0 Unicode-DFS-2016 ZLIB
+" # crates
+SLOT="0"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+# dlopen: libX* (see winit+x11-dl crates)
+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
+ >=virtual/rust-1.81
+"
+
+QA_FLAGS_IGNORED="usr/bin/${PN}.*"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-0_p20231216-skip-render-tests.patch
+)
+
+src_unpack() {
+ if [[ ${PV} == 9999 ]]; then
+ git-r3_src_unpack
+ cargo_live_src_unpack
+ else
+ cargo_src_unpack
+ fi
+}
+
+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
+}
next reply other threads:[~2024-09-29 22:48 UTC|newest]
Thread overview: 131+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-29 22:48 Ionen Wolkens [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-02-13 17:51 [gentoo-commits] repo/gentoo:master commit in: app-emulation/ruffle/ Sam James
2025-01-24 7:43 Ionen Wolkens
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-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=1727649974.e7f68ce62871c4c6bc18f9f0d29e16cc75fc425f.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