tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
PPSSPP: 0.9.9.1 -> 1.1.0
Changing SDL to version 2.
AndersonTorres
10 years ago
752bbdbf
a73d25d6
+12
-8
2 changed files
expand all
collapse all
unified
split
pkgs
misc
emulators
ppsspp
default.nix
top-level
all-packages.nix
+11
-7
pkgs/misc/emulators/ppsspp/default.nix
···
2
, withGamepads ? true, SDL # SDL is used for gamepad functionality
3
}:
4
0
0
5
let
6
-
version = "0.9.9.1";
7
fstat = x: fn: "-D" + fn + "=" + (if x then "ON" else "OFF");
8
-
in stdenv.mkDerivation {
0
0
9
name = "PPSSPP-${version}";
10
11
src = fetchgit {
12
url = "https://github.com/hrydgard/ppsspp.git";
13
-
sha256 = "0fdbda0b4dfbecacd01850f1767e980281fed4cc34a21df26ab3259242d8c352";
14
-
rev = "bf709790c4fed9cd211f755acaa650ace0f7555a";
15
fetchSubmodules = true;
0
16
};
17
18
buildInputs = [ zlib libpng pkgconfig qt4 ]
···
21
configurePhase = "cd Qt && qmake PPSSPPQt.pro";
22
installPhase = "mkdir -p $out/bin && cp ppsspp $out/bin";
23
24
-
meta = with stdenv.lib; {
25
homepage = "http://www.ppsspp.org/";
26
description = "A PSP emulator, the Qt4 version";
27
license = licenses.gpl2Plus;
28
-
maintainers = [ maintainers.fuuzetsu ];
29
platforms = platforms.linux ++ platforms.darwin ++ platforms.cygwin;
30
};
31
-
}
···
2
, withGamepads ? true, SDL # SDL is used for gamepad functionality
3
}:
4
5
+
assert withGamepads -> (SDL != null);
6
+
7
let
8
+
version = "1.1.0";
9
fstat = x: fn: "-D" + fn + "=" + (if x then "ON" else "OFF");
10
+
in
11
+
with stdenv.lib;
12
+
stdenv.mkDerivation rec{
13
name = "PPSSPP-${version}";
14
15
src = fetchgit {
16
url = "https://github.com/hrydgard/ppsspp.git";
17
+
rev = "8c8e5de89d52b8bcb968227d96cbf049d04d1241";
0
18
fetchSubmodules = true;
19
+
sha256 = "71dfa0be045f31969b1d6ab4f1adf6a208f9ef4834d708bc7bf6d9195efb5f80";
20
};
21
22
buildInputs = [ zlib libpng pkgconfig qt4 ]
···
25
configurePhase = "cd Qt && qmake PPSSPPQt.pro";
26
installPhase = "mkdir -p $out/bin && cp ppsspp $out/bin";
27
28
+
meta = {
29
homepage = "http://www.ppsspp.org/";
30
description = "A PSP emulator, the Qt4 version";
31
license = licenses.gpl2Plus;
32
+
maintainers = [ maintainers.fuuzetsu maintainers.AndersonTorres ];
33
platforms = platforms.linux ++ platforms.darwin ++ platforms.cygwin;
34
};
35
+
}
+1
-1
pkgs/top-level/all-packages.nix
···
14616
14617
polytable = callPackage ../tools/typesetting/tex/polytable { };
14618
14619
-
PPSSPP = callPackage ../misc/emulators/ppsspp { };
14620
14621
uae = callPackage ../misc/emulators/uae { };
14622
···
14616
14617
polytable = callPackage ../tools/typesetting/tex/polytable { };
14618
14619
+
PPSSPP = callPackage ../misc/emulators/ppsspp { SDL = SDL2; };
14620
14621
uae = callPackage ../misc/emulators/uae { };
14622