mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
ryujinx: 1.0.6893 -> 1.0.6954
This commit is contained in:
parent
176b8cce23
commit
7b75e40000
2 changed files with 20 additions and 10 deletions
|
@ -1,7 +1,7 @@
|
|||
{ lib, stdenv, fetchFromGitHub, fetchurl, makeWrapper, makeDesktopItem, linkFarmFromDrvs
|
||||
, dotnet-sdk_5, dotnetPackages, dotnetCorePackages, cacert
|
||||
, libX11, libgdiplus, ffmpeg
|
||||
, SDL2_mixer, openal, libsoundio, sndio
|
||||
, SDL2_mixer, openal, libsoundio, sndio, pulseaudio
|
||||
, gtk3, gobject-introspection, gdk-pixbuf, wrapGAppsHook
|
||||
}:
|
||||
|
||||
|
@ -15,16 +15,17 @@ let
|
|||
openal
|
||||
libsoundio
|
||||
sndio
|
||||
pulseaudio
|
||||
];
|
||||
in stdenv.mkDerivation rec {
|
||||
pname = "ryujinx";
|
||||
version = "1.0.6893"; # Versioning is based off of the official appveyor builds: https://ci.appveyor.com/project/gdkchan/ryujinx
|
||||
version = "1.0.6954"; # Versioning is based off of the official appveyor builds: https://ci.appveyor.com/project/gdkchan/ryujinx
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Ryujinx";
|
||||
repo = "Ryujinx";
|
||||
rev = "fb65f392d1c4b0e01f22b6ddebcc8317ba9769c3";
|
||||
sha256 = "0ncrcbwyirz21j81vc6yvcjc2fn8nc5ilrfczclq6f8cpy09c3y8";
|
||||
rev = "31cbd09a75a9d5f4814c3907a060e0961eb2bb15";
|
||||
sha256 = "00qql0wmlzs722s0igip3v0yjlqhc31jcr7nghwibcqrmx031azk";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ dotnet-sdk_5 dotnetPackages.Nuget cacert makeWrapper wrapGAppsHook gobject-introspection gdk-pixbuf ];
|
||||
|
@ -79,9 +80,13 @@ in stdenv.mkDerivation rec {
|
|||
--output $out/lib/ryujinx
|
||||
shopt -s extglob
|
||||
|
||||
# TODO: fix this hack 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
|
||||
|
||||
makeWrapper $out/lib/ryujinx/Ryujinx $out/bin/Ryujinx \
|
||||
--set DOTNET_ROOT "${dotnetCorePackages.net_5_0}" \
|
||||
--suffix LD_LIBRARY_PATH : "${lib.makeLibraryPath runtimeDeps}" \
|
||||
--suffix LD_LIBRARY_PATH : "${builtins.concatStringsSep ":" [ (lib.makeLibraryPath runtimeDeps) "$out/lib/sndio-6" ]}" \
|
||||
''${gappsWrapperArgs[@]}
|
||||
|
||||
for i in 16 32 48 64 96 128 256 512 1024; do
|
||||
|
|
15
pkgs/misc/emulators/ryujinx/deps.nix
generated
15
pkgs/misc/emulators/ryujinx/deps.nix
generated
|
@ -9,6 +9,11 @@
|
|||
version = "3.22.25.128";
|
||||
sha256 = "1rjdxd4fq5z3n51qx8vrcaf4i277ccc62jxk88xzbsxapdmjjdf9";
|
||||
})
|
||||
(fetchNuGet {
|
||||
name = "CommandLineParser";
|
||||
version = "2.8.0";
|
||||
sha256 = "1m32xyilv2b7k55jy8ddg08c20glbcj2yi545kxs9hj2ahanhrbb";
|
||||
})
|
||||
(fetchNuGet {
|
||||
name = "Concentus";
|
||||
version = "1.1.7";
|
||||
|
@ -259,11 +264,6 @@
|
|||
version = "3.22.25.128";
|
||||
sha256 = "0dkl9j0yd65s5ds9xj5z6yb7yca7wlycqz25m8dng20d13sqr1zp";
|
||||
})
|
||||
(fetchNuGet {
|
||||
name = "ppy.SDL2-CS";
|
||||
version = "1.0.225-alpha";
|
||||
sha256 = "1x8hvk9kikwi7wrvwxdxk3pkbs491iss2mvqgiw844zld5izihqc";
|
||||
})
|
||||
(fetchNuGet {
|
||||
name = "runtime.any.System.Collections";
|
||||
version = "4.3.0";
|
||||
|
@ -514,6 +514,11 @@
|
|||
version = "4.4.0-build7";
|
||||
sha256 = "0g1l3lgs0ffxp64ka81v6q1cgsdirl1qlf73255v29r3v337074m";
|
||||
})
|
||||
(fetchNuGet {
|
||||
name = "Ryujinx.SDL2-CS";
|
||||
version = "2.0.15-build11";
|
||||
sha256 = "0s4h69l2b508l5wxp4v4ip8k83k78p3963xxv8bfamin9517przi";
|
||||
})
|
||||
(fetchNuGet {
|
||||
name = "SharpZipLib";
|
||||
version = "1.3.0";
|
||||
|
|
Loading…
Reference in a new issue