From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C3C8115808B for ; Sun, 29 Sep 2024 22:48:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 009342BC013; Sun, 29 Sep 2024 22:48:36 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id DE2B42BC013 for ; Sun, 29 Sep 2024 22:48:36 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0A3CA3431E8 for ; Sun, 29 Sep 2024 22:48:36 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5F00E1EF3 for ; Sun, 29 Sep 2024 22:48:34 +0000 (UTC) From: "Ionen Wolkens" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ionen Wolkens" Message-ID: <1727649974.a90eb4fee647a41dec33f3c50e7d6ef531d1ffed.ionen@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/ruffle/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-emulation/ruffle/ruffle-9999.ebuild X-VCS-Directories: app-emulation/ruffle/ X-VCS-Committer: ionen X-VCS-Committer-Name: Ionen Wolkens X-VCS-Revision: a90eb4fee647a41dec33f3c50e7d6ef531d1ffed X-VCS-Branch: master Date: Sun, 29 Sep 2024 22:48:34 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 705c0335-53d6-433f-a7b3-d395caf4b5ff X-Archives-Hash: 9de2518b020b02b97cec46ae70c61fc9 commit: a90eb4fee647a41dec33f3c50e7d6ef531d1ffed Author: Ionen Wolkens gentoo org> AuthorDate: Sun Sep 29 22:15:27 2024 +0000 Commit: Ionen Wolkens gentoo org> CommitDate: Sun Sep 29 22:46:14 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a90eb4fe app-emulation/ruffle: update live Switch to a copyable style live ebuild plus vendored crates for the next release. Also bump rust minimum to 1.81 Signed-off-by: Ionen Wolkens gentoo.org> app-emulation/ruffle/ruffle-9999.ebuild | 43 +++++++++++++++++++++++++++------ 1 file changed, 36 insertions(+), 7 deletions(-) diff --git a/app-emulation/ruffle/ruffle-9999.ebuild b/app-emulation/ruffle/ruffle-9999.ebuild index 457bc5e52efc..fbb6ac59d57f 100644 --- a/app-emulation/ruffle/ruffle-9999.ebuild +++ b/app-emulation/ruffle/ruffle-9999.ebuild @@ -3,16 +3,30 @@ EAPI=8 -inherit cargo desktop git-r3 optfeature xdg +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/" -EGIT_REPO_URI="https://github.com/ruffle-rs/ruffle.git" LICENSE="|| ( Apache-2.0 MIT )" LICENSE+=" - Apache-2.0 BSD-2 BSD Boost-1.0 CC0-1.0 ISC MIT MPL-2.0 openssl - Unicode-DFS-2016 ZLIB + 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" @@ -34,7 +48,7 @@ DEPEND=" BDEPEND=" virtual/jre:* virtual/pkgconfig - >=virtual/rust-1.77 + >=virtual/rust-1.81 " QA_FLAGS_IGNORED="usr/bin/${PN}.*" @@ -44,8 +58,12 @@ PATCHES=( ) src_unpack() { - git-r3_src_unpack - cargo_live_src_unpack + if [[ ${PV} == 9999 ]]; then + git-r3_src_unpack + cargo_live_src_unpack + else + cargo_src_unpack + fi } src_configure() { @@ -84,5 +102,16 @@ src_install() { 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 }