diff options
author | Nikolay Amiantov <ab@fmap.me> | 2016-04-17 02:51:25 +0300 |
---|---|---|
committer | Nikolay Amiantov <ab@fmap.me> | 2016-04-20 18:55:54 +0300 |
commit | 34625f646c6407a354bc8ecaa17e204aa0b0e616 (patch) | |
tree | 329d2bbea08d8b5b93cd5d3ce75a2e191162ad1f | |
parent | 02014ea0aaf59e92dcd69d61445f488b1aa9b683 (diff) | |
download | nixpkgs-34625f646c6407a354bc8ecaa17e204aa0b0e616.tar nixpkgs-34625f646c6407a354bc8ecaa17e204aa0b0e616.tar.gz nixpkgs-34625f646c6407a354bc8ecaa17e204aa0b0e616.tar.bz2 nixpkgs-34625f646c6407a354bc8ecaa17e204aa0b0e616.tar.lz nixpkgs-34625f646c6407a354bc8ecaa17e204aa0b0e616.tar.xz nixpkgs-34625f646c6407a354bc8ecaa17e204aa0b0e616.tar.zst nixpkgs-34625f646c6407a354bc8ecaa17e204aa0b0e616.zip |
ppsspp: move to qmake4Hook
-rw-r--r-- | pkgs/misc/emulators/ppsspp/default.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/misc/emulators/ppsspp/default.nix b/pkgs/misc/emulators/ppsspp/default.nix index 439566de0ca..87ae977c7cc 100644 --- a/pkgs/misc/emulators/ppsspp/default.nix +++ b/pkgs/misc/emulators/ppsspp/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchgit, zlib, libpng, qt4, pkgconfig +{ stdenv, fetchgit, zlib, libpng, qt4, qmake4Hook, pkgconfig , withGamepads ? true, SDL # SDL is used for gamepad functionality }: @@ -19,10 +19,10 @@ stdenv.mkDerivation rec{ sha256 = "71dfa0be045f31969b1d6ab4f1adf6a208f9ef4834d708bc7bf6d9195efb5f80"; }; - buildInputs = [ zlib libpng pkgconfig qt4 ] + buildInputs = [ zlib libpng pkgconfig qt4 qmake4Hook ] ++ (if withGamepads then [ SDL ] else [ ]); - configurePhase = "cd Qt && qmake PPSSPPQt.pro"; + preConfigure = "cd Qt"; installPhase = "mkdir -p $out/bin && cp ppsspp $out/bin"; meta = { |