1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 21:21:06 +00:00

rpcs3: init at 2018-02-23

This commit is contained in:
Nikolay Amiantov 2018-02-23 20:38:29 +03:00
parent 3dfe50ffb6
commit 6850418426
2 changed files with 43 additions and 0 deletions

View file

@ -0,0 +1,41 @@
{ stdenv, lib, fetchgit, cmake, pkgconfig
, qtbase, openal, glew, llvm_4, vulkan-loader, libpng, ffmpeg, libevdev
, pulseaudioSupport ? true, libpulseaudio
, waylandSupport ? true, wayland
, alsaSupport ? true, alsaLib
}:
stdenv.mkDerivation rec {
name = "rpcs3-${version}";
version = "2018-02-23";
src = fetchgit {
url = "https://github.com/RPCS3/rpcs3";
rev = "41bd07274f15b8f1be2475d73c3c75ada913dabb";
sha256 = "1v28m64ahakzj4jzjkmdd7y8q75pn9wjs03vprbnl0z6wqavqn0x";
};
cmakeFlags = [
"-DUSE_SYSTEM_LIBPNG=ON"
"-DUSE_SYSTEM_FFMPEG=ON"
"-DUSE_NATIVE_INSTRUCTIONS=OFF"
];
nativeBuildInputs = [ cmake pkgconfig ];
buildInputs = [
qtbase openal glew llvm_4 vulkan-loader libpng ffmpeg libevdev
] ++ lib.optional pulseaudioSupport libpulseaudio
++ lib.optional alsaSupport alsaLib
++ lib.optional waylandSupport wayland;
enableParallelBuilding = true;
meta = with stdenv.lib; {
description = "PS3 emulator/debugger";
homepage = "https://rpcs3.net/";
maintainers = with maintainers; [ abbradar ];
license = licenses.gpl2;
platforms = [ "x86_64-linux" ];
};
}

View file

@ -17197,6 +17197,8 @@ with pkgs;
rofi-menugen = callPackage ../applications/misc/rofi-menugen { };
rpcs3 = libsForQt5.callPackage ../misc/emulators/rpcs3 { };
rstudio = libsForQt5.callPackage ../applications/editors/rstudio { };
rsync = callPackage ../applications/networking/sync/rsync {