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