diff options
author | Lluís Batlle i Rossell <viric@vicerveza.homeunix.net> | 2010-06-18 08:16:21 +0000 |
---|---|---|
committer | Lluís Batlle i Rossell <viric@vicerveza.homeunix.net> | 2010-06-18 08:16:21 +0000 |
commit | da9e4402eecc05d6d0db9b2da4cb7153ae7a498d (patch) | |
tree | 9e120ce5beb06cbbf8f57291c02c595cc32ad9c9 /pkgs/applications/graphics/pinta | |
parent | 034005647b1e0e9d377c2fdc02f7022235288b94 (diff) |
Pinta still does not build (xbuild pkgconfig problems), but mono and gtk-sharp-2 build fine.
svn path=/nixpkgs/trunk/; revision=22322
Diffstat (limited to 'pkgs/applications/graphics/pinta')
-rw-r--r-- | pkgs/applications/graphics/pinta/default.nix | 24 |
1 files changed, 18 insertions, 6 deletions
diff --git a/pkgs/applications/graphics/pinta/default.nix b/pkgs/applications/graphics/pinta/default.nix index c9dbf24c9b559..55ba1b6bb3ac0 100644 --- a/pkgs/applications/graphics/pinta/default.nix +++ b/pkgs/applications/graphics/pinta/default.nix @@ -1,17 +1,29 @@ -{stdenv, fetchurl, mono, gtksharp, pkgconfig}: +{stdenv, fetchgit, mono, gtksharp, pkgconfig, automake, autoconf}: stdenv.mkDerivation { - name = "pinta-0.3"; + name = "pinta-20100617"; builder = ./builder.sh; - src = fetchurl { - url = http://download.github.com/jpobst-Pinta-0.3-0-g94f6e82.tar.gz; - sha256 = "0qvpz9602igjmv8ba6vc4kg9jj3yyw0frl7wgz62hdxiizdfhm2f"; + + src = fetchgit { + url = http://github.com/jpobst/Pinta.git; + rev = "c8ce06fc14a42083749b6400ed57d3883820d368"; + sha256 = "9df96b69b08567045e9100e228047d7711db28705bd2badc0afc316e63c15505"; }; makeWrapper = ../../../build-support/make-wrapper/make-wrapper.sh; - buildInputs = [mono gtksharp pkgconfig]; + configurePhase = '' + sh ./autogen.sh --prefix=$out + ''; + + makePhase = '' + HOME=`pwd`/tmphome + mkdir -p $HOME + xbuild Pinta.Core/Pinta.Core.csproj /v:diag + ''; + + buildInputs = [mono gtksharp pkgconfig automake autoconf]; inherit gtksharp; } |