tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
pcsx2: unstable-2020-11-13 -> unstable-2021-10-28
Martino Fontana
4 years ago
7aa9d284
56eb515f
+4
-29
1 changed file
expand all
collapse all
unified
split
pkgs
misc
emulators
pcsx2
default.nix
+4
-29
pkgs/misc/emulators/pcsx2/default.nix
···
2
2
, cmake
3
3
, fetchFromGitHub
4
4
, fmt
5
5
-
, gcc-unwrapped
6
5
, gettext
7
6
, glib
8
7
, gtk3
···
13
12
, libpulseaudio
14
13
, libsamplerate
15
14
, libxml2
16
16
-
, makeWrapper
17
15
, perl
18
16
, pkg-config
19
17
, portaudio
···
28
26
29
27
stdenv.mkDerivation {
30
28
pname = "pcsx2";
31
31
-
version = "unstable-2020-11-13";
29
29
+
version = "unstable-2021-10-28";
32
30
33
31
src = fetchFromGitHub {
34
32
owner = "PCSX2";
35
33
repo = "pcsx2";
36
34
fetchSubmodules = true;
37
37
-
rev = "319287dbe552c8405720b25dfdf5fa518deeee0b";
38
38
-
sha256 = "1kswc8vw9hbv2nigp8cxrgf2s0ik7p4i203cbqci8zjmnkaqpsai";
35
35
+
rev = "52eab493591137d830b45337e04c75ff525a31f9";
36
36
+
sha256 = "RhAo5Fob8G16jzb9MOAS43vwTkFzf5XupymN0dzeGJU=";
39
37
};
40
38
41
39
cmakeFlags = [
42
42
-
"-DCMAKE_INSTALL_PREFIX=${placeholder "out"}"
43
40
"-DDISABLE_ADVANCE_SIMD=TRUE"
44
41
"-DDISABLE_PCSX2_WRAPPER=TRUE"
45
45
-
"-DDOC_DIR=${placeholder "out"}/share/doc/pcsx2"
46
46
-
"-DGAMEINDEX_DIR=${placeholder "out"}/share/pcsx2"
47
47
-
"-DGLSL_SHADER_DIR=${placeholder "out"}/share/pcsx2"
48
48
-
"-DGTK3_API=TRUE"
49
42
"-DPACKAGE_MODE=TRUE"
50
50
-
"-DPLUGIN_DIR=${placeholder "out"}/lib/pcsx2"
51
51
-
"-DREBUILD_SHADER=TRUE"
52
52
-
"-DUSE_LTO=TRUE"
53
53
-
"-DwxWidgets_CONFIG_EXECUTABLE=${wxGTK}/bin/wx-config"
54
54
-
"-DwxWidgets_INCLUDE_DIRS=${wxGTK}/include"
55
55
-
"-DwxWidgets_LIBRARIES=${wxGTK}/lib"
56
43
"-DXDG_STD=TRUE"
57
44
];
58
45
59
59
-
postPatch = ''
60
60
-
substituteInPlace cmake/BuildParameters.cmake \
61
61
-
--replace /usr/bin/gcc-ar ${gcc-unwrapped}/bin/gcc-ar \
62
62
-
--replace /usr/bin/gcc-nm ${gcc-unwrapped}/bin/gcc-nm \
63
63
-
--replace /usr/bin/gcc-ranlib ${gcc-unwrapped}/bin/gcc-ranlib
64
64
-
'';
65
65
-
66
66
-
postFixup = ''
67
67
-
wrapProgram $out/bin/PCSX2 \
68
68
-
--set __GL_THREADED_OPTIMIZATIONS 1
69
69
-
'';
70
70
-
71
71
-
nativeBuildInputs = [ cmake makeWrapper perl pkg-config wrapGAppsHook ];
46
46
+
nativeBuildInputs = [ cmake perl pkg-config wrapGAppsHook ];
72
47
73
48
buildInputs = [
74
49
alsa-lib