fix(bbsteamie): use yuzu instead of ryujinx
All checks were successful
Discord / discord commits (push) Has been skipped
All checks were successful
Discord / discord commits (push) Has been skipped
This commit is contained in:
parent
de44eef38d
commit
423553b292
4 changed files with 5 additions and 1163 deletions
|
@ -96,7 +96,11 @@ in {
|
||||||
pkgs.firefox
|
pkgs.firefox
|
||||||
pkgs.kdePackages.discover
|
pkgs.kdePackages.discover
|
||||||
pkgs.wl-clipboard
|
pkgs.wl-clipboard
|
||||||
self.packages.${pkgs.system}.ryujinx
|
|
||||||
|
# FIXME:Ryujinx ACNH crashes on OpenGL AND Vulkan
|
||||||
|
# https://github.com/Ryujinx/Ryujinx/issues/6993
|
||||||
|
# https://github.com/Ryujinx/Ryujinx/issues/6708
|
||||||
|
self.packages.${pkgs.system}.yuzu
|
||||||
];
|
];
|
||||||
|
|
||||||
programs = {
|
programs = {
|
||||||
|
|
|
@ -25,8 +25,6 @@
|
||||||
|
|
||||||
repl = pkgs.callPackage ./repl {};
|
repl = pkgs.callPackage ./repl {};
|
||||||
|
|
||||||
ryujinx = pkgs.callPackage ./ryujinx {};
|
|
||||||
|
|
||||||
trash-d = pkgs.callPackage ./trash-d {
|
trash-d = pkgs.callPackage ./trash-d {
|
||||||
inherit (inputs) trash-d-src;
|
inherit (inputs) trash-d-src;
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,126 +0,0 @@
|
||||||
{
|
|
||||||
lib,
|
|
||||||
buildDotnetModule,
|
|
||||||
dotnetCorePackages,
|
|
||||||
fetchFromGitHub,
|
|
||||||
libX11,
|
|
||||||
libgdiplus,
|
|
||||||
ffmpeg,
|
|
||||||
openal,
|
|
||||||
libsoundio,
|
|
||||||
sndio,
|
|
||||||
pulseaudio,
|
|
||||||
vulkan-loader,
|
|
||||||
libICE,
|
|
||||||
libSM,
|
|
||||||
libXi,
|
|
||||||
libXcursor,
|
|
||||||
libXext,
|
|
||||||
libXrandr,
|
|
||||||
fontconfig,
|
|
||||||
glew,
|
|
||||||
libGL,
|
|
||||||
SDL2,
|
|
||||||
SDL2_mixer,
|
|
||||||
}:
|
|
||||||
buildDotnetModule rec {
|
|
||||||
pname = "ryujinx";
|
|
||||||
version = "1.1.1325"; # Based off of the official github actions builds: https://github.com/Ryujinx/Ryujinx/actions/workflows/release.yml
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
|
||||||
owner = "Ryujinx";
|
|
||||||
repo = "Ryujinx";
|
|
||||||
rev = "c41fddd25e8ddd3cf0b3cefeaf6595d2e4ede0fa";
|
|
||||||
hash = "sha256-BH+pWxEJkR263Wn69cA2NnTaF1JXje/Xj4jiolgWdyM=";
|
|
||||||
};
|
|
||||||
|
|
||||||
dotnet-sdk = dotnetCorePackages.sdk_8_0;
|
|
||||||
dotnet-runtime = dotnetCorePackages.runtime_8_0;
|
|
||||||
|
|
||||||
nugetDeps = ./deps.nix;
|
|
||||||
|
|
||||||
runtimeDeps = [
|
|
||||||
libX11
|
|
||||||
libgdiplus
|
|
||||||
SDL2_mixer
|
|
||||||
openal
|
|
||||||
libsoundio
|
|
||||||
sndio
|
|
||||||
pulseaudio
|
|
||||||
vulkan-loader
|
|
||||||
ffmpeg
|
|
||||||
|
|
||||||
# Avalonia UI
|
|
||||||
libICE
|
|
||||||
libSM
|
|
||||||
libXi
|
|
||||||
libXcursor
|
|
||||||
libXext
|
|
||||||
libXrandr
|
|
||||||
fontconfig
|
|
||||||
glew
|
|
||||||
|
|
||||||
# Headless executable
|
|
||||||
libGL
|
|
||||||
SDL2
|
|
||||||
];
|
|
||||||
|
|
||||||
projectFile = "Ryujinx.sln";
|
|
||||||
testProjectFile = "src/Ryujinx.Tests/Ryujinx.Tests.csproj";
|
|
||||||
doCheck = true;
|
|
||||||
|
|
||||||
dotnetFlags = [
|
|
||||||
"/p:ExtraDefineConstants=DISABLE_UPDATER%2CFORCE_EXTERNAL_BASE_DIR"
|
|
||||||
];
|
|
||||||
|
|
||||||
executables = [
|
|
||||||
"Ryujinx.Headless.SDL2"
|
|
||||||
"Ryujinx"
|
|
||||||
];
|
|
||||||
|
|
||||||
makeWrapperArgs = [
|
|
||||||
# Without this Ryujinx fails to start on wayland. See https://github.com/Ryujinx/Ryujinx/issues/2714
|
|
||||||
"--set SDL_VIDEODRIVER x11"
|
|
||||||
];
|
|
||||||
|
|
||||||
preInstall = ''
|
|
||||||
# workaround for https://github.com/Ryujinx/Ryujinx/issues/2349
|
|
||||||
mkdir -p $out/lib/sndio-6
|
|
||||||
ln -s ${sndio}/lib/libsndio.so $out/lib/sndio-6/libsndio.so.6
|
|
||||||
'';
|
|
||||||
|
|
||||||
preFixup = ''
|
|
||||||
mkdir -p $out/share/{applications,icons/hicolor/scalable/apps,mime/packages}
|
|
||||||
pushd ${src}/distribution/linux
|
|
||||||
|
|
||||||
install -D ./Ryujinx.desktop $out/share/applications/Ryujinx.desktop
|
|
||||||
install -D ./Ryujinx.sh $out/bin/Ryujinx.sh
|
|
||||||
install -D ./mime/Ryujinx.xml $out/share/mime/packages/Ryujinx.xml
|
|
||||||
install -D ../misc/Logo.svg $out/share/icons/hicolor/scalable/apps/Ryujinx.svg
|
|
||||||
|
|
||||||
substituteInPlace $out/share/applications/Ryujinx.desktop \
|
|
||||||
--replace "Ryujinx.sh %f" "$out/bin/Ryujinx.sh %f"
|
|
||||||
|
|
||||||
ln -s $out/bin/Ryujinx $out/bin/ryujinx
|
|
||||||
|
|
||||||
popd
|
|
||||||
'';
|
|
||||||
|
|
||||||
passthru.updateScript = ./updater.sh;
|
|
||||||
|
|
||||||
meta = with lib; {
|
|
||||||
homepage = "https://ryujinx.org/";
|
|
||||||
changelog = "https://github.com/Ryujinx/Ryujinx/wiki/Changelog";
|
|
||||||
description = "Experimental Nintendo Switch Emulator written in C#";
|
|
||||||
longDescription = ''
|
|
||||||
Ryujinx is an open-source Nintendo Switch emulator, created by gdkchan,
|
|
||||||
written in C#. This emulator aims at providing excellent accuracy and
|
|
||||||
performance, a user-friendly interface and consistent builds. It was
|
|
||||||
written from scratch and development on the project began in September
|
|
||||||
2017.
|
|
||||||
'';
|
|
||||||
license = licenses.mit;
|
|
||||||
platforms = ["x86_64-linux" "aarch64-linux"];
|
|
||||||
mainProgram = "Ryujinx";
|
|
||||||
};
|
|
||||||
}
|
|
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue