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:
parent
3dfe50ffb6
commit
6850418426
41
pkgs/misc/emulators/rpcs3/default.nix
Normal file
41
pkgs/misc/emulators/rpcs3/default.nix
Normal 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" ];
|
||||
};
|
||||
}
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue