Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ppsspp: 1.1.0 -> 1.3 #24272

Merged
merged 1 commit into from
Mar 30, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions pkgs/misc/emulators/ppsspp/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
assert withGamepads -> (SDL != null);

let
version = "1.1.0";
version = "1.3";
fstat = x: fn: "-D" + fn + "=" + (if x then "ON" else "OFF");
in
with stdenv.lib;
Expand All @@ -14,14 +14,16 @@ stdenv.mkDerivation rec{

src = fetchgit {
url = "https://github.com/hrydgard/ppsspp.git";
rev = "8c8e5de89d52b8bcb968227d96cbf049d04d1241";
rev = "refs/tags/v${version}";
fetchSubmodules = true;
sha256 = "1q21qskzni0nvz2yi2m17gjh4i9nrs2l4fm4y2dww9m29xpvzw3x";
sha256 = "0l8vgdlw657r8gv7rz8iqa6zd9zrbzw10pwhcnahzil7w9qrd03g";
};

buildInputs = [ zlib libpng pkgconfig qt4 qmake4Hook ]
buildInputs = [ zlib libpng qt4 ]
++ (if withGamepads then [ SDL ] else [ ]);

nativeBuildInputs = [ pkgconfig qmake4Hook ];

qmakeFlags = [ "PPSSPPQt.pro" ];

preConfigure = "cd Qt";
Expand All @@ -31,7 +33,7 @@ stdenv.mkDerivation rec{
homepage = "http://www.ppsspp.org/";
description = "A PSP emulator, the Qt4 version";
license = licenses.gpl2Plus;
maintainers = [ maintainers.fuuzetsu maintainers.AndersonTorres ];
maintainers = with maintainers; [ fuuzetsu AndersonTorres ];
platforms = platforms.linux ++ platforms.darwin ++ platforms.cygwin;
};
}