3
0
Fork 0
forked from mirrors/nixpkgs

rpcs3: 0.0.6-8187-790962425 -> 0.0.8-9300-341fdf7eb

This commit is contained in:
Christoph Neidahl 2020-03-20 14:59:31 +01:00
parent ecce3a7bc9
commit f028498f63

View file

@ -1,22 +1,22 @@
{ stdenv, lib, fetchgit, cmake, pkgconfig, git { mkDerivation, lib, fetchgit, cmake, pkgconfig, git
, qt5, openal, glew, vulkan-loader, libpng, ffmpeg, libevdev, python27 , qtbase, qtquickcontrols, openal, glew, vulkan-loader, libpng, ffmpeg, libevdev, python3
, pulseaudioSupport ? true, libpulseaudio , pulseaudioSupport ? true, libpulseaudio
, waylandSupport ? true, wayland , waylandSupport ? true, wayland
, alsaSupport ? true, alsaLib , alsaSupport ? true, alsaLib
}: }:
let let
majorVersion = "0.0.6"; majorVersion = "0.0.8";
gitVersion = "8187-790962425"; # echo $(git rev-list HEAD --count)-$(git rev-parse --short HEAD) gitVersion = "9300-341fdf7eb"; # echo $(git rev-list HEAD --count)-$(git rev-parse --short HEAD)
in in
stdenv.mkDerivation { mkDerivation {
pname = "rpcs3"; pname = "rpcs3";
version = "${majorVersion}-${gitVersion}"; version = "${majorVersion}-${gitVersion}";
src = fetchgit { src = fetchgit {
url = "https://github.com/RPCS3/rpcs3"; url = "https://github.com/RPCS3/rpcs3";
rev = "790962425cfb893529f72b3ef0dd1424fcc42973"; rev = "341fdf7eb14763fd06e2eab9a4b2b8f1adf9fdbd";
sha256 = "154ys29b9xdws3bp4b7rb3kc0h9hd49g2yf3z9268cdq8aclahaa"; sha256 = "1qx97zkkjl6bmv5rhfyjqynbz0v8h40b2wxqnl59g287wj0yk3y1";
}; };
preConfigure = '' preConfigure = ''
@ -36,14 +36,14 @@ stdenv.mkDerivation {
nativeBuildInputs = [ cmake pkgconfig git ]; nativeBuildInputs = [ cmake pkgconfig git ];
buildInputs = [ buildInputs = [
qt5.qtbase qt5.qtquickcontrols openal glew vulkan-loader libpng ffmpeg libevdev python27 qtbase qtquickcontrols openal glew vulkan-loader libpng ffmpeg libevdev python3
] ++ lib.optional pulseaudioSupport libpulseaudio ] ++ lib.optional pulseaudioSupport libpulseaudio
++ lib.optional alsaSupport alsaLib ++ lib.optional alsaSupport alsaLib
++ lib.optional waylandSupport wayland; ++ lib.optional waylandSupport wayland;
enableParallelBuilding = true; enableParallelBuilding = true;
meta = with stdenv.lib; { meta = with lib; {
description = "PS3 emulator/debugger"; description = "PS3 emulator/debugger";
homepage = "https://rpcs3.net/"; homepage = "https://rpcs3.net/";
maintainers = with maintainers; [ abbradar nocent ]; maintainers = with maintainers; [ abbradar nocent ];