commit: 4a9728077951bd4078a3e32eb1cdd8b81935410c Author: Maciej Barć <xgqt <AT> gentoo <DOT> org> AuthorDate: Mon Feb 5 08:37:12 2024 +0000 Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org> CommitDate: Mon Feb 5 11:28:31 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a972807
games-emulation/ryujinx: fix launcher install on musl Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org> games-emulation/ryujinx/ryujinx-1.1.1104.ebuild | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/games-emulation/ryujinx/ryujinx-1.1.1104.ebuild b/games-emulation/ryujinx/ryujinx-1.1.1104.ebuild index 99d0241df2f0..448995f99981 100644 --- a/games-emulation/ryujinx/ryujinx-1.1.1104.ebuild +++ b/games-emulation/ryujinx/ryujinx-1.1.1104.ebuild @@ -336,8 +336,9 @@ RDEPEND=" " CHECKREQS_DISK_BUILD="3G" -DOTNET_PKG_PROJECTS=( "src/${PN^}/${PN^}.csproj" ) - +DOTNET_PKG_PROJECTS=( + "src/${PN^}/${PN^}.csproj" +) PATCHES=( "${FILESDIR}/${PN}-1.1.1093-better-defaults.patch" "${FILESDIR}/${PN}-1.1.1093-disable-updates.patch" @@ -371,7 +372,10 @@ src_test() { src_install() { dotnet-pkg-base_install - fperms +x "/usr/share/${P}/${PN^}.sh" + # "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"