From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5C6C51584AD for ; Fri, 25 Apr 2025 00:35:53 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 3CD88342F8D for ; Fri, 25 Apr 2025 00:35:53 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 2605111028B; Fri, 25 Apr 2025 00:35:52 +0000 (UTC) Received: from smtp.gentoo.org (dev.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)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 1AA7511028B for ; Fri, 25 Apr 2025 00:35:52 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id BB6A4342F8D for ; Fri, 25 Apr 2025 00:35:51 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4FFDB2511 for ; Fri, 25 Apr 2025 00:35:50 +0000 (UTC) From: "Michael Orlitzky" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michael Orlitzky" Message-ID: <1745541336.f54768e8e66f0f271c7dd575644c84da54277631.mjo@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-emulation/rmg/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-emulation/rmg/Manifest games-emulation/rmg/rmg-0.7.8.ebuild X-VCS-Directories: games-emulation/rmg/ X-VCS-Committer: mjo X-VCS-Committer-Name: Michael Orlitzky X-VCS-Revision: f54768e8e66f0f271c7dd575644c84da54277631 X-VCS-Branch: master Date: Fri, 25 Apr 2025 00:35:50 +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: 53574f97-9aae-49d9-9cea-cee7bce480ce X-Archives-Hash: 7ad849cec92161f53944ca4695b3bc66 commit: f54768e8e66f0f271c7dd575644c84da54277631 Author: orbea riseup net> AuthorDate: Mon Mar 3 16:39:02 2025 +0000 Commit: Michael Orlitzky gentoo org> CommitDate: Fri Apr 25 00:35:36 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f54768e8 games-emulation/rmg: add 0.7.8 The bugfix patch was added in the 0.7.7 release. Closes: https://bugs.gentoo.org/949732 Upstream-PR: https://github.com/gonetz/GLideN64/pull/2908 Upstream-Commit: https://github.com/gonetz/GLideN64/commit/42129aadb16e0fb0e9c265ee134dbc7f9c4022e6 Upstream-Commit: https://github.com/Rosalie241/RMG/commit/23120150f9ddbef13a0690f004c364bb334addfc Signed-off-by: orbea riseup.net> Signed-off-by: Michael Orlitzky gentoo.org> games-emulation/rmg/Manifest | 1 + games-emulation/rmg/rmg-0.7.8.ebuild | 140 +++++++++++++++++++++++++++++++++++ 2 files changed, 141 insertions(+) diff --git a/games-emulation/rmg/Manifest b/games-emulation/rmg/Manifest index daed72cfddcb..2f70e3083573 100644 --- a/games-emulation/rmg/Manifest +++ b/games-emulation/rmg/Manifest @@ -9,6 +9,7 @@ DIST proc-macro2-1.0.78.crate 47158 BLAKE2B c56a24fce3faca9e04db7965cab552d2a976 DIST quote-1.0.35.crate 28136 BLAKE2B 81424245e1e2b94459df68bb3a9a866c6a364102b5e1d010ede9c5f8278f8406d7b651957d091c5914e936b494b0f6e9a6a1dd8b7d35cd7d7100f86dee4ec12e SHA512 f5314fb6af17cf36c228e1970c569c29ec248954a450a5f90ba9e2896d04f74904c9cec5a1f74325f2489295a94491eee4ce8fb461e22cd4b34e53f1f881efd2 DIST rmg-0.6.6.tar.gz 78980131 BLAKE2B 2925e087a1ac35a6ee5ed01a3c17eae5890a2fd72e2921e625f2ee5832763796614a4b7f397290aaea4e6bed2c84af1b9a9d1c002913143227b2a5cfb31985d0 SHA512 57ef882fb08280ec5b999a9c9accca16517517b5798e9283496b47b66c82b5122ec9340df2a2449b554b1aee0314a6c46f7a827759b8ab27b0135b3ea778f783 DIST rmg-0.7.3.tar.gz 71562276 BLAKE2B 5718d9d845c3cf30be5db25d078d0133b50f4486b36ce61582b526731c289ddb873a4a712a52c3c3005d26b66459276cd0ec56acec3042e214b1ee47afca2398 SHA512 63825bce24417404d12bb1f7d1967eed08153c122d57963065a7b8283cb1681801069311a7a467162a756d6f8d993dbed4262cac00d7d565f16ed24146c83982 +DIST rmg-0.7.8.tar.gz 71689736 BLAKE2B cfec255783de19ee261f61d04a2fdd8a748b4e10e8d7b080d77b7551875c42d56cec066bcb58b30c847e0dfa756983fda87ffc995eb3f16698d230815880e779 SHA512 df6321d29674ca38e46869398ab3c42b27095f01dfb12c462f8bc46d5458da41ee7c92f2e79398db0871bd84e0bde279a898ef37c771b7be3c53b8db781ef9cf DIST rusb-0.9.3.crate 43389 BLAKE2B f9359bddad8963fe86f50aecdd2ca95666de49799fa79b656e5f406f0c8262d8478470b44bcd79247a80674f78a7d19f1bb6770ea247c7d28980efe6b369dfef SHA512 fb2125e0a8bbab9b1324b3b5aaa0ccdc3254ffb5adfee1629ae3958d76d50b79a47a02f9ade77e986d9478e66c53bb956b2b08c3fc0efd5c5b488bcb8ecfaa42 DIST serde-1.0.195.crate 76856 BLAKE2B 6a80b59335f222ae48d5e377c30611f30fe6416e6853ca47a39016e21f649cb9dfbe4964ce19e5da977fb9a963228a6a81c1e85af99ae12d7a0a5722901aa2f5 SHA512 0002ecb933d08fbdc8585ee74efb4048d385459f629261f5a4a8401b794f1c02b8296db79f479013a0b2a47ba99bee6c02d60d0fc2454e32f1b038b4071e8727 DIST serde_derive-1.0.195.crate 55687 BLAKE2B 4da7916e36f71dfe82defa6c45b3075395cae54631cdff08a4607e962290020e7214288258fd316439c02536073325f5902e7b00144f97269a207fc453496599 SHA512 8a82ae4e7cfe0c3ac27688cc95d74bf4c2e10c1fe845ab28fb57579b2f47f36d13218c2ae603f93f00114065d47c3e46166dea39b205be673f443c34305dacce diff --git a/games-emulation/rmg/rmg-0.7.8.ebuild b/games-emulation/rmg/rmg-0.7.8.ebuild new file mode 100644 index 000000000000..f861a2941088 --- /dev/null +++ b/games-emulation/rmg/rmg-0.7.8.ebuild @@ -0,0 +1,140 @@ +# Copyright 2024-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CARGO_OPTIONAL=1 + +CRATES=" + cc@1.0.83 + cfg-if@1.0.0 + libc@0.2.152 + libloading@0.7.4 + libusb1-sys@0.6.4 + once_cell@1.19.0 + pkg-config@0.3.29 + proc-macro2@1.0.78 + quote@1.0.35 + rusb@0.9.3 + serde@1.0.195 + serde_derive@1.0.195 + syn@2.0.48 + toml@0.5.11 + unicode-ident@1.0.12 + vcpkg@0.2.15 + winapi-i686-pc-windows-gnu@0.4.0 + winapi-x86_64-pc-windows-gnu@0.4.0 + winapi@0.3.9 +" + +inherit cargo cmake toolchain-funcs xdg + +MY_PN="${PN^^}" +MY_P="${MY_PN}-${PV}" +DESCRIPTION="Rosalie's Mupen GUI" +HOMEPAGE="https://github.com/Rosalie241/RMG" +if [[ "${PV}" == *9999 ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/Rosalie241/${MY_PN}.git" +else + SRC_URI=" + https://github.com//Rosalie241/${MY_PN}/archive/v${PV}/${MY_P}.tar.gz \ + -> ${P}.tar.gz + rust-plugin? ( ${CARGO_CRATE_URIS} ) + " + S="${WORKDIR}/${MY_P}" + KEYWORDS="~amd64" +fi + +LICENSE=" + BSD-2 CC0-1.0 GPL-2 GPL-3 MIT ZLIB public-domain + angrylion-plugin? ( XMAME ) + rust-plugin? ( ISC Unicode-DFS-2016 ) +" +SLOT="0" +IUSE="angrylion-plugin discord dynarec netplay rust-plugin" + +DEPEND=" + dev-libs/hidapi + dev-qt/qtbase:6[gui,opengl,vulkan,widgets] + dev-qt/qtsvg:6 + media-libs/freetype + media-libs/libpng:= + media-libs/libsamplerate + media-libs/libsdl2[haptic,joystick,opengl,sound,vulkan] + media-libs/speexdsp + sys-libs/zlib[minizip(+)] + virtual/opengl + netplay? ( + dev-qt/qtwebsockets:6 + media-libs/sdl2-net + ) + rust-plugin? ( dev-libs/libusb:1 ) +" +RDEPEND="${DEPEND}" +BDEPEND=" + virtual/pkgconfig + dynarec? ( dev-lang/nasm ) + rust-plugin? ( ${RUST_DEPEND} ) +" + +pkg_setup() { + QA_FLAGS_IGNORED="/usr/$(get_libdir)/RMG/Plugin/Input/libmupen64plus_input_gca.so" + use rust-plugin && rust_pkg_setup +} + +src_unpack() { + if [[ "${PV}" == *9999 ]] ; then + git-r3_src_unpack + if use rust-plugin; then + S="${S}"/Source/3rdParty/mupen64plus-input-gca \ + cargo_live_src_unpack + fi + else + if use rust-plugin; then + cargo_src_unpack + else + default + fi + fi +} + +src_prepare() { + cmake_src_prepare + + # Don't install unused 3rdParty code + rm -r "${S}"/Source/3rdParty/fmt || die + + # Don't install XMAME licensed code + if ! use angrylion-plugin; then + rm -r "${S}"/Source/3rdParty/mupen64plus-video-angrylion-plus || die + fi + + # Don't install pre-compiled binaries + rm -r "${S}"/Source/3rdParty/vosk-api || die + + # Enable verbose make(1) output + sed -e 's/CC=/V=1 CC=/' -i "${S}"/Source/3rdParty/CMakeLists.txt || die +} + +src_configure() { + export PKG_CONFIG="$(tc-getPKG_CONFIG)" + export PKG_CONFIG_ALLOW_CROSS=1 + + local mycmakeargs=( + -DAPPIMAGE_UPDATER=OFF + -DDISCORD_RPC=$(usex discord) + -DNETPLAY=$(usex netplay) + -DNO_ASM=$(usex dynarec OFF ON) + -DNO_RUST=$(usex rust-plugin OFF ON) + -DPORTABLE_INSTALL=OFF + -DUPDATER=OFF + -DUSE_ANGRYLION=$(usex angrylion-plugin) + -DUSE_CCACHE=OFF + -DUSE_LIBFMT=OFF # Use std::format + -DUSE_LTO=OFF + -DVRU=OFF # Precompiled binaries + ) + + cmake_src_configure +}