commit: 1c8247c31086c8c97f064cf11aa25513566fc5d3 Author: Andrew Udvare <audvare <AT> gmail <DOT> com> AuthorDate: Thu Oct 3 05:53:21 2024 +0000 Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org> CommitDate: Fri Oct 4 07:58:48 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c8247c3
games-emulation/ryujinx: add 1.1.1403 Signed-off-by: Andrew Udvare <audvare <AT> gmail.com> Closes: https://github.com/gentoo/gentoo/pull/38859 Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org> games-emulation/ryujinx/Manifest | 1 + games-emulation/ryujinx/ryujinx-1.1.1403.ebuild | 315 ++++++++++++++++++++++++ 2 files changed, 316 insertions(+) diff --git a/games-emulation/ryujinx/Manifest b/games-emulation/ryujinx/Manifest index 78cb44cd4c3a..be5c189d0b1e 100644 --- a/games-emulation/ryujinx/Manifest +++ b/games-emulation/ryujinx/Manifest @@ -159,6 +159,7 @@ DIST runtime.win.system.net.sockets.4.3.0.nupkg 182568 BLAKE2B 5a5e6a9e909955b44 DIST runtime.win.system.runtime.extensions.4.3.0.nupkg 125023 BLAKE2B b49fe00fd21a6fda42c642b69546989d9da187d7b1056b0c771a5069e29ddf10ff2ecb6172bc762e2c70847d6f992c7788446650ef4ef868f3e3ed84748b6f05 SHA512 f8ddce885541079b78ad27c1d4d53df5b78c976d6395a52cca6777606f0b8327dae6caa617e269034fb8100ab8964f60117708a25def4191e5c6c7c18e043b25 DIST ryujinx-1.1.1221.tar.gz 4488183 BLAKE2B ba6bea94109e8323e780f511bf20caf513ebdf7c52edadb9b749d11324c572316798b1b39b3199f5754bfe93e25ffd1b5c12849e010d4da9f5229ec62f6b5586 SHA512 ca9aa2ca6e2baf2b67b366defc82a1906139f84af595d1a06d61faeb2028bf0a32b85181a0c6f5d04b46df5cd127fcedc34f7b5e30b089d4cf2fabba6972907f DIST ryujinx-1.1.1388.tar.gz 4698167 BLAKE2B f0502e75e22657c7264a09a7ffd735ff78020a4fd6f28001247eae3d2e68cde8605a101d4612ef5b8589ea621842e6cf6a36c7435365e5ed34234c93140485b4 SHA512 a2f0a973ff58df6055d57dd9903fb535b3a3b482a8fad76dc6d2a9b497695a77ce8bd92d6d93a66db513001794b7ebb2169036d1bac6317f7acba7774a7299a9 +DIST ryujinx-1.1.1403.tar.gz 4703797 BLAKE2B 763aecfb0e72081592535f40c80575470b942b5afd4b6e6372d9ff0442fe7a3ff76af2a79f2bdb3e0c7297ab35d0298472de945e5b597ca955cd02a4420ee208 SHA512 0c59c94533f0c97d706da3e33a46f04280842622525e3270352c1f3ae5dd88d1e0df8acb0d62b45ac031a53a1d15b66cf4fb616cc298cd90f3805c3a0df404f5 DIST ryujinx.atksharp.3.24.24.59-ryujinx.nupkg 195681 BLAKE2B 40f173fa9a550ef13c267cd2faee63ca9434423931613aa62344d5023972a7e2be30bb3df8bf2ab212b4fe59b552026a2f1a12fd92481c0e121b3853ebcb08c7 SHA512 6237bbfcd7f80517c9eb40d8b2ceea7586f34cc7e0aaf8e550ba6c1364d0b4bc3560a497bc7ecfb71d6e4cb08a0aabf97568cd38be6153ad74a8504cb59e9c3b DIST ryujinx.audio.openal.dependencies.1.21.0.1.nupkg 750288 BLAKE2B 5cd26add050945e556cc6fca0f8fb6770b5daeb705d6a5ca2265ab24474c7423f76d219a2712170e9e623a38c74faa418e4cd82227f1c5b7af57e514d77513c7 SHA512 4b6b99d943db72eac80779e2bbae15e9bac11ff1a30365f5363990f49f0c605fff5ce0b57bbb54e33cd73eed6e588e28598cfc0fe5bea7b56c2a3dda2d031194 DIST ryujinx.cairosharp.3.24.24.59-ryujinx.nupkg 91970 BLAKE2B 193a901e86e67280dfc7d7e90cca41ce1abf66b3bdeed873f169922b083b3432301447d3f3df9c0a0a464b2fc9cbb73374e0df77a9413d81e5f2abb3efe65e11 SHA512 441db2af76714be2fa020488537f4ad9cd99c6910e9df70c4876a828e776ffa8cd910d06c9a0f5bdf26827be0a6b2c0217eac3c060f0a46be5557083ed263a75 diff --git a/games-emulation/ryujinx/ryujinx-1.1.1403.ebuild b/games-emulation/ryujinx/ryujinx-1.1.1403.ebuild new file mode 100644 index 000000000000..03fa7279143f --- /dev/null +++ b/games-emulation/ryujinx/ryujinx-1.1.1403.ebuild @@ -0,0 +1,315 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DOTNET_PKG_COMPAT=8.0 +NUGETS=" [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] +runtime.debian.8-x64.runtime.native.system.security.cryptography.openssl@4.3.0 +runtime.fedora.23-x64.runtime.native.system.security.cryptography.openssl@4.3.0 +runtime.fedora.24-x64.runtime.native.system.security.cryptography.openssl@4.3.0 [email protected] [email protected] +runtime.opensuse.13.2-x64.runtime.native.system.security.cryptography.openssl@4.3.0 +runtime.opensuse.42.1-x64.runtime.native.system.security.cryptography.openssl@4.3.0 +runtime.osx.10.10-x64.runtime.native.system.security.cryptography.openssl@4.3.0 +runtime.rhel.7-x64.runtime.native.system.security.cryptography.openssl@4.3.0 +runtime.ubuntu.14.04-x64.runtime.native.system.security.cryptography.openssl@4.3.0 +runtime.ubuntu.16.04-x64.runtime.native.system.security.cryptography.openssl@4.3.0 +runtime.ubuntu.16.10-x64.runtime.native.system.security.cryptography.openssl@4.3.0 [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] +" + +inherit check-reqs desktop dotnet-pkg xdg + +DESCRIPTION="Experimental Nintendo Switch Emulator written in C#" +HOMEPAGE="https://www.ryujinx.org/ + https://github.com/Ryujinx/Ryujinx/" + +if [[ "${PV}" == *9999* ]] ; then + inherit git-r3 + + EGIT_REPO_URI="https://git.suyu.dev/${PN}-backup/${PN^}.git" +else + SRC_URI="https://git.suyu.dev/${PN}-backup/${PN^}/archive/${PV}.tar.gz + -> ${P}.tar.gz" + S="${WORKDIR}/${PN}" + + KEYWORDS="~amd64" +fi + +SRC_URI+=" ${NUGET_URIS} " + +LICENSE="MIT" +SLOT="0" + +RDEPEND=" + app-arch/brotli + dev-libs/expat + dev-libs/icu + dev-libs/libxml2 + dev-libs/openssl + dev-libs/wayland + media-gfx/graphite2 + media-libs/alsa-lib + media-libs/fontconfig + media-libs/freetype + media-libs/harfbuzz + media-libs/libglvnd[X] + media-libs/libpng + media-libs/libpulse + media-libs/libsdl2 + media-video/pipewire + x11-libs/gtk+:3 + x11-libs/libX11 +" + +CHECKREQS_DISK_BUILD="3G" +DOTNET_PKG_PROJECTS=( + "src/${PN^}/${PN^}.csproj" +) +PATCHES=( + "${FILESDIR}/${PN}-1.1.1221-better-defaults.patch" + "${FILESDIR}/${PN}-1.1.1221-disable-updates.patch" +) + +DOCS=( README.md distribution/legal/THIRDPARTY.md ) + +pkg_setup() { + check-reqs_pkg_setup + dotnet-pkg_pkg_setup +} + +src_unpack() { + dotnet-pkg_src_unpack + + if [[ -n "${EGIT_REPO_URI}" ]] ; then + git-r3_src_unpack + fi +} + +src_prepare() { + sed "s|1.0.0-dirty|${PV}|g" -i src/*/*.csproj || die + + # The patch below can be removed once >=dotnet-sdk-8.0.401 is generally available. + sed 's|Include="Microsoft.CodeAnalysis.CSharp" Version="4.9.2"|Include="Microsoft.CodeAnalysis.CSharp" Version="4.8.0"|' \ + -i Directory.Packages.props + + dotnet-pkg_src_prepare +} + +src_test() { + dotnet-pkg-base_test src/Ryujinx.Tests.Memory +} + +src_install() { + # Bug https://bugs.gentoo.org/933075 + # and bug https://github.com/Ryujinx/Ryujinx/issues/5566 + dotnet-pkg-base_append-launchervar "GDK_BACKEND=x11" + + dotnet-pkg-base_install + + # "Ryujinx.sh" launcher script is only copied for "linux-x64" RID, + # let's copy it unconditionally. Bug: https://bugs.gentoo.org/923817 + exeinto "/usr/share/${P}" + doexe "distribution/linux/${PN^}.sh" + dotnet-pkg-base_dolauncher "/usr/share/${P}/${PN^}.sh" + + newicon distribution/misc/Logo.svg "${PN^}.svg" + domenu "distribution/linux/${PN^}.desktop" + + insinto /usr/share/mime/packages + doins "distribution/linux/mime/${PN^}.xml" + + einstalldocs +}
