From: "Ionen Wolkens" <ionen@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/ruffle/
Date: Thu, 14 Nov 2024 12:41:50 +0000 (UTC) [thread overview]
Message-ID: <1731588080.ba11bae7d482c056ae2e5cf365e9a6f320b269ed.ionen@gentoo> (raw)
commit: ba11bae7d482c056ae2e5cf365e9a6f320b269ed
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 14 12:32:31 2024 +0000
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Thu Nov 14 12:41:20 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba11bae7
app-emulation/ruffle: drop 9999
Re previous commit, on 2nd thought... let's go ahead and drop it.
9999 been broken often, needed hacks before, and it just increase
the workload to keep it in sync. Also doesn't add that much when
nightly release is updated somewhat regularly every months.
If someone needs a newer nightly ahead of the monthly-release time,
please file a bug then can do it early and everyone can benefit.
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
app-emulation/ruffle/ruffle-0_p20241027-r1.ebuild | 35 ++-----
app-emulation/ruffle/ruffle-9999.ebuild | 118 ----------------------
2 files changed, 10 insertions(+), 143 deletions(-)
diff --git a/app-emulation/ruffle/ruffle-0_p20241027-r1.ebuild b/app-emulation/ruffle/ruffle-0_p20241027-r1.ebuild
index fca1eafc517a..f01425116f94 100644
--- a/app-emulation/ruffle/ruffle-0_p20241027-r1.ebuild
+++ b/app-emulation/ruffle/ruffle-0_p20241027-r1.ebuild
@@ -3,27 +3,20 @@
EAPI=8
-RUST_MIN_VER="1.81.0"
-
+RUST_MIN_VER=1.81.0
inherit cargo desktop optfeature xdg
-if [[ ${PV} == 9999 ]]; then
- EGIT_REPO_URI="https://github.com/ruffle-rs/ruffle.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
+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+="
@@ -31,6 +24,7 @@ LICENSE+="
MPL-2.0 OFL-1.1 openssl Unicode-3.0 Unicode-DFS-2016 ZLIB
" # crates
SLOT="0"
+KEYWORDS="~amd64"
IUSE="test"
RESTRICT="!test? ( test )"
@@ -58,15 +52,6 @@ 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}
diff --git a/app-emulation/ruffle/ruffle-9999.ebuild b/app-emulation/ruffle/ruffle-9999.ebuild
deleted file mode 100644
index d31d183926d7..000000000000
--- a/app-emulation/ruffle/ruffle-9999.ebuild
+++ /dev/null
@@ -1,118 +0,0 @@
-# Copyright 2021-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-RUST_MIN_VERSION="1.81.0"
-
-inherit cargo desktop optfeature xdg
-
-if [[ ${PV} == 9999 ]]; then
- EGIT_REPO_URI="https://github.com/ruffle-rs/ruffle.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
-"
-
-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-11-14 12:41 UTC|newest]
Thread overview: 126+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-14 12:41 Ionen Wolkens [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-11-17 16:07 [gentoo-commits] repo/gentoo:master commit in: app-emulation/ruffle/ Michał Górny
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=1731588080.ba11bae7d482c056ae2e5cf365e9a6f320b269ed.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