tiled: update to 0.12.3 and build with qt5

This commit is contained in:
宋文武 2015-06-24 17:12:07 +08:00
parent efb3fa7021
commit 7c0c2dc15b
2 changed files with 11 additions and 6 deletions

View File

@ -1,14 +1,19 @@
{ stdenv, fetchurl, qt }:
{ stdenv, fetchurl, qt5, pkgconfig, python }:
let
version = "0.12.3";
sha256 = "001j4lvb5d9h3m6vgz2na07637x6xg4bdvxi2hg4a0j9rikb4y40";
in
stdenv.mkDerivation rec {
name = "tiled-0.11.0";
name = "tiled-${version}";
src = fetchurl {
url = "https://github.com/bjorn/tiled/archive/v0.11.0.tar.gz";
sha256 = "03a15vbzjfwc8dpifbjvd0gnr208mzmdkgs2nlc8zq6z0a4h4jqd";
url = "https://github.com/bjorn/tiled/archive/v${version}.tar.gz";
inherit sha256;
};
buildInputs = [ qt ];
buildInputs = [ qt5.base qt5.tools pkgconfig python ];
preConfigure = "qmake -r PREFIX=$out";

View File

@ -3043,7 +3043,7 @@ let
thc-hydra = callPackage ../tools/security/thc-hydra { };
tiled = callPackage ../applications/editors/tiled { qt = qt4; };
tiled = callPackage ../applications/editors/tiled { };
tinc = callPackage ../tools/networking/tinc { };