* [gentoo-commits] repo/gentoo:master commit in: games-emulation/rmg/
@ 2024-07-22 5:49 Joonas Niilola
0 siblings, 0 replies; 9+ messages in thread
From: Joonas Niilola @ 2024-07-22 5:49 UTC (permalink / raw
To: gentoo-commits
commit: a382d6347695a5b89d50e29bc233e0a7bc62abcc
Author: Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 22 05:45:46 2024 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Mon Jul 22 05:45:46 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a382d634
games-emulation/rmg: add QA_FLAGS_IGNORED to ignore rust-related note
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
games-emulation/rmg/rmg-0.6.5.ebuild | 4 ++++
games-emulation/rmg/rmg-9999.ebuild | 4 ++++
2 files changed, 8 insertions(+)
diff --git a/games-emulation/rmg/rmg-0.6.5.ebuild b/games-emulation/rmg/rmg-0.6.5.ebuild
index 9e9dc985b7af..d29ae3c72c8d 100644
--- a/games-emulation/rmg/rmg-0.6.5.ebuild
+++ b/games-emulation/rmg/rmg-0.6.5.ebuild
@@ -78,6 +78,10 @@ PATCHES=(
"${FILESDIR}"/${PN}-0.5.6-parallel-rdp-standalone-musl.patch
)
+pkg_setup() {
+ QA_FLAGS_IGNORED="/usr/$(get_libdir)/RMG/Plugin/Input/libmupen64plus_input_gca.so"
+}
+
src_unpack() {
if [[ "${PV}" == *9999 ]] ; then
git-r3_src_unpack
diff --git a/games-emulation/rmg/rmg-9999.ebuild b/games-emulation/rmg/rmg-9999.ebuild
index 9e9dc985b7af..d29ae3c72c8d 100644
--- a/games-emulation/rmg/rmg-9999.ebuild
+++ b/games-emulation/rmg/rmg-9999.ebuild
@@ -78,6 +78,10 @@ PATCHES=(
"${FILESDIR}"/${PN}-0.5.6-parallel-rdp-standalone-musl.patch
)
+pkg_setup() {
+ QA_FLAGS_IGNORED="/usr/$(get_libdir)/RMG/Plugin/Input/libmupen64plus_input_gca.so"
+}
+
src_unpack() {
if [[ "${PV}" == *9999 ]] ; then
git-r3_src_unpack
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-emulation/rmg/
@ 2024-07-22 5:49 Joonas Niilola
0 siblings, 0 replies; 9+ messages in thread
From: Joonas Niilola @ 2024-07-22 5:49 UTC (permalink / raw
To: gentoo-commits
commit: 75d53fa6d90f0d72d812ae312454479e5b9df5cc
Author: Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 22 05:47:19 2024 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Mon Jul 22 05:47:19 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75d53fa6
games-emulation/rmg: remove subslot binders from packages without them
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
games-emulation/rmg/rmg-0.6.5.ebuild | 4 ++--
games-emulation/rmg/rmg-9999.ebuild | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/games-emulation/rmg/rmg-0.6.5.ebuild b/games-emulation/rmg/rmg-0.6.5.ebuild
index d29ae3c72c8d..d6de051e2f28 100644
--- a/games-emulation/rmg/rmg-0.6.5.ebuild
+++ b/games-emulation/rmg/rmg-0.6.5.ebuild
@@ -55,10 +55,10 @@ SLOT="0"
IUSE="angrylion-plugin discord dynarec rust-plugin"
DEPEND="
- dev-libs/hidapi:=
+ dev-libs/hidapi
dev-qt/qtbase:6[gui,opengl,vulkan,widgets]
dev-qt/qtsvg:6
- media-libs/freetype:=
+ media-libs/freetype
media-libs/libpng:=
media-libs/libsamplerate
media-libs/libsdl2[haptic,joystick,opengl,sound,vulkan]
diff --git a/games-emulation/rmg/rmg-9999.ebuild b/games-emulation/rmg/rmg-9999.ebuild
index d29ae3c72c8d..d6de051e2f28 100644
--- a/games-emulation/rmg/rmg-9999.ebuild
+++ b/games-emulation/rmg/rmg-9999.ebuild
@@ -55,10 +55,10 @@ SLOT="0"
IUSE="angrylion-plugin discord dynarec rust-plugin"
DEPEND="
- dev-libs/hidapi:=
+ dev-libs/hidapi
dev-qt/qtbase:6[gui,opengl,vulkan,widgets]
dev-qt/qtsvg:6
- media-libs/freetype:=
+ media-libs/freetype
media-libs/libpng:=
media-libs/libsamplerate
media-libs/libsdl2[haptic,joystick,opengl,sound,vulkan]
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-emulation/rmg/
@ 2024-10-09 17:31 Eli Schwartz
0 siblings, 0 replies; 9+ messages in thread
From: Eli Schwartz @ 2024-10-09 17:31 UTC (permalink / raw
To: gentoo-commits
commit: 604490a9358fee174fe175b3b810264631f942a4
Author: orbea <orbea <AT> riseup <DOT> net>
AuthorDate: Tue Oct 1 15:48:20 2024 +0000
Commit: Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
CommitDate: Wed Oct 9 17:26:44 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=604490a9
games-emulation/rmg: add 0.6.6
Signed-off-by: orbea <orbea <AT> riseup.net>
Closes: https://github.com/gentoo/gentoo/pull/38837
Signed-off-by: Eli Schwartz <eschwartz <AT> gentoo.org>
games-emulation/rmg/Manifest | 1 +
games-emulation/rmg/rmg-0.6.6.ebuild | 144 +++++++++++++++++++++++++++++++++++
2 files changed, 145 insertions(+)
diff --git a/games-emulation/rmg/Manifest b/games-emulation/rmg/Manifest
index 67ce5bc6d7bb..bb5340a1f287 100644
--- a/games-emulation/rmg/Manifest
+++ b/games-emulation/rmg/Manifest
@@ -8,6 +8,7 @@ DIST pkg-config-0.3.29.crate 20563 BLAKE2B ed0559b0073890911fb47742743b2586123bf
DIST proc-macro2-1.0.78.crate 47158 BLAKE2B c56a24fce3faca9e04db7965cab552d2a976c3764df0a84179b5a89d1230ab355c777a82b4c982e3945414f1f0478473a88821dd176c32d6de394d73a26adb9a SHA512 11956fe03a2e77a925cdff2c3c8bc8804dffab4fa1de963a128fa23f4189976fd2e2102bd346b92c33524beae320b71dadaa5213695a3ec638404196e14fa769
DIST quote-1.0.35.crate 28136 BLAKE2B 81424245e1e2b94459df68bb3a9a866c6a364102b5e1d010ede9c5f8278f8406d7b651957d091c5914e936b494b0f6e9a6a1dd8b7d35cd7d7100f86dee4ec12e SHA512 f5314fb6af17cf36c228e1970c569c29ec248954a450a5f90ba9e2896d04f74904c9cec5a1f74325f2489295a94491eee4ce8fb461e22cd4b34e53f1f881efd2
DIST rmg-0.6.5.tar.gz 78957406 BLAKE2B c6b6e86b13761ceedaf140f0019b627676e9787e108b637fe048b133bdaab77300c96707c4f0619cf7b91ff3b95e8f04cf7404b13c2c11cbb0f8b36b9edd8d1e SHA512 f73e52d61f61bdab3b302936eb6a93bca565b8eaa5108a4ab042df3d9758a5bb92402a6e9c6e587da498bfadbe385cbf9601b25315a5bbdc69c264c21a285699
+DIST rmg-0.6.6.tar.gz 78980131 BLAKE2B 2925e087a1ac35a6ee5ed01a3c17eae5890a2fd72e2921e625f2ee5832763796614a4b7f397290aaea4e6bed2c84af1b9a9d1c002913143227b2a5cfb31985d0 SHA512 57ef882fb08280ec5b999a9c9accca16517517b5798e9283496b47b66c82b5122ec9340df2a2449b554b1aee0314a6c46f7a827759b8ab27b0135b3ea778f783
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.6.6.ebuild b/games-emulation/rmg/rmg-0.6.6.ebuild
new file mode 100644
index 000000000000..6ca37bec7198
--- /dev/null
+++ b/games-emulation/rmg/rmg-0.6.6.ebuild
@@ -0,0 +1,144 @@
+# Copyright 2024 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 flag-o-matic 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 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
+ rust-plugin? ( dev-libs/libusb:1 )
+"
+RDEPEND="${DEPEND}"
+BDEPEND="
+ virtual/pkgconfig
+ dynarec? ( dev-lang/nasm )
+ rust-plugin? ( virtual/rust )
+"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-0.5.6-parallel-rdp-standalone-musl.patch
+)
+
+pkg_setup() {
+ QA_FLAGS_IGNORED="/usr/$(get_libdir)/RMG/Plugin/Input/libmupen64plus_input_gca.so"
+}
+
+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() {
+ # -Werror=strict-aliasing
+ # https://github.com/gonetz/GLideN64/issues/2877
+ #
+ # Disable strict-aliasing until its handled upstream.
+ append-flags -fno-strict-aliasing
+ filter-lto
+
+ export PKG_CONFIG_ALLOW_CROSS=1
+
+ local mycmakeargs=(
+ -DAPPIMAGE_UPDATER=OFF
+ -DDISCORD_RPC=$(usex discord)
+ -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
+}
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-emulation/rmg/
@ 2024-10-09 17:31 Eli Schwartz
0 siblings, 0 replies; 9+ messages in thread
From: Eli Schwartz @ 2024-10-09 17:31 UTC (permalink / raw
To: gentoo-commits
commit: ee8bbed8ed79b6eaf0887c1eb52610d3c19be996
Author: orbea <orbea <AT> riseup <DOT> net>
AuthorDate: Mon Oct 7 14:50:12 2024 +0000
Commit: Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
CommitDate: Wed Oct 9 17:26:38 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee8bbed8
games-emulation/rmg: mark as LTO-unsafe, strict-aliasing unsafe
Signed-off-by: orbea <orbea <AT> riseup.net>
Signed-off-by: Eli Schwartz <eschwartz <AT> gentoo.org>
games-emulation/rmg/rmg-0.6.5.ebuild | 9 ++++++++-
games-emulation/rmg/rmg-9999.ebuild | 9 ++++++++-
2 files changed, 16 insertions(+), 2 deletions(-)
diff --git a/games-emulation/rmg/rmg-0.6.5.ebuild b/games-emulation/rmg/rmg-0.6.5.ebuild
index d6de051e2f28..6ca37bec7198 100644
--- a/games-emulation/rmg/rmg-0.6.5.ebuild
+++ b/games-emulation/rmg/rmg-0.6.5.ebuild
@@ -27,7 +27,7 @@ CRATES="
winapi@0.3.9
"
-inherit cargo cmake xdg
+inherit cargo cmake flag-o-matic xdg
MY_PN="${PN^^}"
MY_P="${MY_PN}-${PV}"
@@ -117,6 +117,13 @@ src_prepare() {
}
src_configure() {
+ # -Werror=strict-aliasing
+ # https://github.com/gonetz/GLideN64/issues/2877
+ #
+ # Disable strict-aliasing until its handled upstream.
+ append-flags -fno-strict-aliasing
+ filter-lto
+
export PKG_CONFIG_ALLOW_CROSS=1
local mycmakeargs=(
diff --git a/games-emulation/rmg/rmg-9999.ebuild b/games-emulation/rmg/rmg-9999.ebuild
index d6de051e2f28..6ca37bec7198 100644
--- a/games-emulation/rmg/rmg-9999.ebuild
+++ b/games-emulation/rmg/rmg-9999.ebuild
@@ -27,7 +27,7 @@ CRATES="
winapi@0.3.9
"
-inherit cargo cmake xdg
+inherit cargo cmake flag-o-matic xdg
MY_PN="${PN^^}"
MY_P="${MY_PN}-${PV}"
@@ -117,6 +117,13 @@ src_prepare() {
}
src_configure() {
+ # -Werror=strict-aliasing
+ # https://github.com/gonetz/GLideN64/issues/2877
+ #
+ # Disable strict-aliasing until its handled upstream.
+ append-flags -fno-strict-aliasing
+ filter-lto
+
export PKG_CONFIG_ALLOW_CROSS=1
local mycmakeargs=(
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-emulation/rmg/
@ 2024-11-26 5:57 Eli Schwartz
0 siblings, 0 replies; 9+ messages in thread
From: Eli Schwartz @ 2024-11-26 5:57 UTC (permalink / raw
To: gentoo-commits
commit: ff7f59e7bb9c69b898a83a31ab03851b44bba58b
Author: orbea <orbea <AT> riseup <DOT> net>
AuthorDate: Sat Nov 9 19:35:25 2024 +0000
Commit: Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
CommitDate: Tue Nov 26 05:03:31 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff7f59e7
games-emulation/rmg: only call rust_pkg_setup when using rust
Fixes: 01ba4dc61965ef7658a24728841c04c9a1ce4871
Signed-off-by: orbea <orbea <AT> riseup.net>
Signed-off-by: Eli Schwartz <eschwartz <AT> gentoo.org>
games-emulation/rmg/rmg-0.6.5-r1.ebuild | 2 +-
games-emulation/rmg/rmg-9999.ebuild | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/games-emulation/rmg/rmg-0.6.5-r1.ebuild b/games-emulation/rmg/rmg-0.6.5-r1.ebuild
index 48350becfcc2..eed49326ebd4 100644
--- a/games-emulation/rmg/rmg-0.6.5-r1.ebuild
+++ b/games-emulation/rmg/rmg-0.6.5-r1.ebuild
@@ -80,7 +80,7 @@ PATCHES=(
pkg_setup() {
QA_FLAGS_IGNORED="/usr/$(get_libdir)/RMG/Plugin/Input/libmupen64plus_input_gca.so"
- rust_pkg_setup
+ use rust-plugin && rust_pkg_setup
}
src_unpack() {
diff --git a/games-emulation/rmg/rmg-9999.ebuild b/games-emulation/rmg/rmg-9999.ebuild
index 48350becfcc2..eed49326ebd4 100644
--- a/games-emulation/rmg/rmg-9999.ebuild
+++ b/games-emulation/rmg/rmg-9999.ebuild
@@ -80,7 +80,7 @@ PATCHES=(
pkg_setup() {
QA_FLAGS_IGNORED="/usr/$(get_libdir)/RMG/Plugin/Input/libmupen64plus_input_gca.so"
- rust_pkg_setup
+ use rust-plugin && rust_pkg_setup
}
src_unpack() {
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-emulation/rmg/
@ 2025-02-12 2:17 Michael Orlitzky
0 siblings, 0 replies; 9+ messages in thread
From: Michael Orlitzky @ 2025-02-12 2:17 UTC (permalink / raw
To: gentoo-commits
commit: 2176ef7f525af21761901c7785d58eaff48dd970
Author: orbea <orbea <AT> riseup <DOT> net>
AuthorDate: Mon Dec 23 16:22:35 2024 +0000
Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Wed Feb 12 02:04:59 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2176ef7f
games-emulation/rmg: add netplay USE flag
Signed-off-by: orbea <orbea <AT> riseup.net>
Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>
games-emulation/rmg/metadata.xml | 3 ++-
games-emulation/rmg/rmg-9999.ebuild | 9 +++++++--
2 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/games-emulation/rmg/metadata.xml b/games-emulation/rmg/metadata.xml
index bbbd1acac716..e951cf4242ef 100644
--- a/games-emulation/rmg/metadata.xml
+++ b/games-emulation/rmg/metadata.xml
@@ -10,9 +10,10 @@
<name>Proxy Maintainers</name>
</maintainer>
<use>
+ <flag name="angrylion-plugin">Enable the mupen64plus-video-angrylion-plus XMAME licensed plugin</flag>
<flag name="discord">Enable Discord RPC support</flag>
<flag name="dynarec">Enable the new dynarec for the mupen64plus-core plugin</flag>
- <flag name="angrylion-plugin">Enable the mupen64plus-video-angrylion-plus XMAME licensed plugin</flag>
+ <flag name="netplay">Enable Netplay</flag>
<flag name="rust-plugin">Enable the mupen64plus-input-gca rust plugin</flag>
</use>
<longdescription>
diff --git a/games-emulation/rmg/rmg-9999.ebuild b/games-emulation/rmg/rmg-9999.ebuild
index 090054fff76d..83eaf85c4da2 100644
--- a/games-emulation/rmg/rmg-9999.ebuild
+++ b/games-emulation/rmg/rmg-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2024 Gentoo Authors
+# Copyright 2024-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -52,7 +52,7 @@ LICENSE="
rust-plugin? ( ISC Unicode-DFS-2016 )
"
SLOT="0"
-IUSE="angrylion-plugin discord dynarec rust-plugin"
+IUSE="angrylion-plugin discord dynarec netplay rust-plugin"
DEPEND="
dev-libs/hidapi
@@ -65,6 +65,10 @@ DEPEND="
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}"
@@ -124,6 +128,7 @@ src_configure() {
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
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-emulation/rmg/
@ 2025-02-12 2:17 Michael Orlitzky
0 siblings, 0 replies; 9+ messages in thread
From: Michael Orlitzky @ 2025-02-12 2:17 UTC (permalink / raw
To: gentoo-commits
commit: a8e6761847c8da965b0c293d5eb49fac8e541668
Author: orbea <orbea <AT> riseup <DOT> net>
AuthorDate: Tue Feb 11 23:05:26 2025 +0000
Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Wed Feb 12 02:05:02 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8e67618
games-emulation/rmg: remove upstreamed live patch
Upstream-Commit: https://github.com/Rosalie241/RMG/commit/0962c6969f2827aa4dab37c877b9a1b297fe0738
Signed-off-by: orbea <orbea <AT> riseup.net>
Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>
games-emulation/rmg/rmg-9999.ebuild | 4 ----
1 file changed, 4 deletions(-)
diff --git a/games-emulation/rmg/rmg-9999.ebuild b/games-emulation/rmg/rmg-9999.ebuild
index 83eaf85c4da2..f861a2941088 100644
--- a/games-emulation/rmg/rmg-9999.ebuild
+++ b/games-emulation/rmg/rmg-9999.ebuild
@@ -78,10 +78,6 @@ BDEPEND="
rust-plugin? ( ${RUST_DEPEND} )
"
-PATCHES=(
- "${FILESDIR}"/${PN}-0.5.6-parallel-rdp-standalone-musl.patch
-)
-
pkg_setup() {
QA_FLAGS_IGNORED="/usr/$(get_libdir)/RMG/Plugin/Input/libmupen64plus_input_gca.so"
use rust-plugin && rust_pkg_setup
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-emulation/rmg/
@ 2025-02-12 2:17 Michael Orlitzky
0 siblings, 0 replies; 9+ messages in thread
From: Michael Orlitzky @ 2025-02-12 2:17 UTC (permalink / raw
To: gentoo-commits
commit: 3472d74a3961840dfa2ff7abc0b9578d399187a2
Author: orbea <orbea <AT> riseup <DOT> net>
AuthorDate: Tue Dec 17 16:02:20 2024 +0000
Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Wed Feb 12 02:05:04 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3472d74a
games-emulation/rmg: drop 0.6.5-r1, 0.6.6-r1
Signed-off-by: orbea <orbea <AT> riseup.net>
Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>
games-emulation/rmg/Manifest | 1 -
games-emulation/rmg/rmg-0.6.5-r1.ebuild | 146 -------------------------------
games-emulation/rmg/rmg-0.6.6-r1.ebuild | 150 --------------------------------
3 files changed, 297 deletions(-)
diff --git a/games-emulation/rmg/Manifest b/games-emulation/rmg/Manifest
index 65c0fe13a885..daed72cfddcb 100644
--- a/games-emulation/rmg/Manifest
+++ b/games-emulation/rmg/Manifest
@@ -7,7 +7,6 @@ DIST once_cell-1.19.0.crate 33046 BLAKE2B c14b374eaf4ac0f60acc2e02f7bba270a0e8e0
DIST pkg-config-0.3.29.crate 20563 BLAKE2B ed0559b0073890911fb47742743b2586123bf9e9b594aa0d5b2c419c6768cd37e25b546c21077ea6cc02823a679b302aeaaca6c7fcaf9aeec615dd08f53a1f6f SHA512 bac7dafc0e10bef40e427c1fc0271d1a26acb2f5b1cf7cc7a128f4d4f1f3110529e45057b71cea7b0f6ddff26945fe08962285ddeb22b54639e44a2e43af698f
DIST proc-macro2-1.0.78.crate 47158 BLAKE2B c56a24fce3faca9e04db7965cab552d2a976c3764df0a84179b5a89d1230ab355c777a82b4c982e3945414f1f0478473a88821dd176c32d6de394d73a26adb9a SHA512 11956fe03a2e77a925cdff2c3c8bc8804dffab4fa1de963a128fa23f4189976fd2e2102bd346b92c33524beae320b71dadaa5213695a3ec638404196e14fa769
DIST quote-1.0.35.crate 28136 BLAKE2B 81424245e1e2b94459df68bb3a9a866c6a364102b5e1d010ede9c5f8278f8406d7b651957d091c5914e936b494b0f6e9a6a1dd8b7d35cd7d7100f86dee4ec12e SHA512 f5314fb6af17cf36c228e1970c569c29ec248954a450a5f90ba9e2896d04f74904c9cec5a1f74325f2489295a94491eee4ce8fb461e22cd4b34e53f1f881efd2
-DIST rmg-0.6.5.tar.gz 78957406 BLAKE2B c6b6e86b13761ceedaf140f0019b627676e9787e108b637fe048b133bdaab77300c96707c4f0619cf7b91ff3b95e8f04cf7404b13c2c11cbb0f8b36b9edd8d1e SHA512 f73e52d61f61bdab3b302936eb6a93bca565b8eaa5108a4ab042df3d9758a5bb92402a6e9c6e587da498bfadbe385cbf9601b25315a5bbdc69c264c21a285699
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 rusb-0.9.3.crate 43389 BLAKE2B f9359bddad8963fe86f50aecdd2ca95666de49799fa79b656e5f406f0c8262d8478470b44bcd79247a80674f78a7d19f1bb6770ea247c7d28980efe6b369dfef SHA512 fb2125e0a8bbab9b1324b3b5aaa0ccdc3254ffb5adfee1629ae3958d76d50b79a47a02f9ade77e986d9478e66c53bb956b2b08c3fc0efd5c5b488bcb8ecfaa42
diff --git a/games-emulation/rmg/rmg-0.6.5-r1.ebuild b/games-emulation/rmg/rmg-0.6.5-r1.ebuild
deleted file mode 100644
index aade8a991244..000000000000
--- a/games-emulation/rmg/rmg-0.6.5-r1.ebuild
+++ /dev/null
@@ -1,146 +0,0 @@
-# Copyright 2024 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 flag-o-matic 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 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
- rust-plugin? ( dev-libs/libusb:1 )
-"
-RDEPEND="${DEPEND}"
-BDEPEND="
- sys-apps/which
- virtual/pkgconfig
- dynarec? ( dev-lang/nasm )
- rust-plugin? ( ${RUST_DEPEND} )
-"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-0.5.6-parallel-rdp-standalone-musl.patch
-)
-
-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() {
- # -Werror=strict-aliasing
- # https://github.com/gonetz/GLideN64/issues/2877
- #
- # Disable strict-aliasing until its handled upstream.
- append-flags -fno-strict-aliasing
- filter-lto
-
- export PKG_CONFIG_ALLOW_CROSS=1
-
- local mycmakeargs=(
- -DAPPIMAGE_UPDATER=OFF
- -DDISCORD_RPC=$(usex discord)
- -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
-}
diff --git a/games-emulation/rmg/rmg-0.6.6-r1.ebuild b/games-emulation/rmg/rmg-0.6.6-r1.ebuild
deleted file mode 100644
index fa4ced9b12cc..000000000000
--- a/games-emulation/rmg/rmg-0.6.6-r1.ebuild
+++ /dev/null
@@ -1,150 +0,0 @@
-# Copyright 2024 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 flag-o-matic 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 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
- rust-plugin? ( dev-libs/libusb:1 )
-"
-RDEPEND="${DEPEND}"
-BDEPEND="
- virtual/pkgconfig
- dynarec? ( dev-lang/nasm )
- rust-plugin? ( ${RUST_DEPEND} )
-"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-0.5.6-parallel-rdp-standalone-musl.patch
- # Use pkg-config(1) for SDL2 and don't depend on which(1)
- "${FILESDIR}"/${P}-mupen64plus-core-sdl-pkgconfig.patch
- # https://bugs.gentoo.org/941889
- "${FILESDIR}"/${P}-mupen64plus-input-raphnetraw-pkgconfig.patch
-)
-
-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() {
- # -Werror=strict-aliasing
- # https://github.com/gonetz/GLideN64/issues/2877
- #
- # Disable strict-aliasing until its handled upstream.
- append-flags -fno-strict-aliasing
- filter-lto
-
- export PKG_CONFIG="$(tc-getPKG_CONFIG)"
- export PKG_CONFIG_ALLOW_CROSS=1
-
- local mycmakeargs=(
- -DAPPIMAGE_UPDATER=OFF
- -DDISCORD_RPC=$(usex discord)
- -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
-}
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-emulation/rmg/
@ 2025-02-12 2:17 Michael Orlitzky
0 siblings, 0 replies; 9+ messages in thread
From: Michael Orlitzky @ 2025-02-12 2:17 UTC (permalink / raw
To: gentoo-commits
commit: a81f4929e593effda9b1ca11e78a9f94b2e32b87
Author: orbea <orbea <AT> riseup <DOT> net>
AuthorDate: Tue Dec 17 16:02:07 2024 +0000
Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Wed Feb 12 02:05:03 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a81f4929
games-emulation/rmg: add 0.7.3
Signed-off-by: orbea <orbea <AT> riseup.net>
Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>
games-emulation/rmg/Manifest | 1 +
games-emulation/rmg/rmg-0.7.3.ebuild | 140 +++++++++++++++++++++++++++++++++++
2 files changed, 141 insertions(+)
diff --git a/games-emulation/rmg/Manifest b/games-emulation/rmg/Manifest
index bb5340a1f287..65c0fe13a885 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.5.tar.gz 78957406 BLAKE2B c6b6e86b13761ceedaf140f0019b627676e9787e108b637fe048b133bdaab77300c96707c4f0619cf7b91ff3b95e8f04cf7404b13c2c11cbb0f8b36b9edd8d1e SHA512 f73e52d61f61bdab3b302936eb6a93bca565b8eaa5108a4ab042df3d9758a5bb92402a6e9c6e587da498bfadbe385cbf9601b25315a5bbdc69c264c21a285699
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 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.3.ebuild b/games-emulation/rmg/rmg-0.7.3.ebuild
new file mode 100644
index 000000000000..f861a2941088
--- /dev/null
+++ b/games-emulation/rmg/rmg-0.7.3.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
+}
^ permalink raw reply related [flat|nested] 9+ messages in thread
end of thread, other threads:[~2025-02-12 2:18 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-09 17:31 [gentoo-commits] repo/gentoo:master commit in: games-emulation/rmg/ Eli Schwartz
-- strict thread matches above, loose matches on Subject: below --
2025-02-12 2:17 Michael Orlitzky
2025-02-12 2:17 Michael Orlitzky
2025-02-12 2:17 Michael Orlitzky
2025-02-12 2:17 Michael Orlitzky
2024-11-26 5:57 Eli Schwartz
2024-10-09 17:31 Eli Schwartz
2024-07-22 5:49 Joonas Niilola
2024-07-22 5:49 Joonas Niilola
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox