2012-01-03 10:32:56 +00:00
|
|
|
{ stdenv, fetchurl, cmake, pkgconfig, gtk, freetype, fontconfig, lcms,
|
2009-04-02 16:20:19 +01:00
|
|
|
flex, libtiff, libjpeg, libpng, libexif, zlib, perl, libX11,
|
|
|
|
perlXMLParser, python, pygtk, gettext, intltool, babl, gegl,
|
|
|
|
glib, makedepend, xf86vidmodeproto, xineramaproto, libXmu, openexr,
|
2012-07-02 21:27:18 +01:00
|
|
|
mesa, libXext, libXpm, libXau, libXxf86vm, pixman, libpthreadstubs, fltk } :
|
2009-04-02 16:20:19 +01:00
|
|
|
|
2012-01-03 10:32:56 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2013-12-18 12:57:25 +00:00
|
|
|
name = "cinepaint-1.1";
|
2009-04-02 16:20:19 +01:00
|
|
|
|
2012-01-03 10:32:56 +00:00
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/cinepaint/${name}.tgz";
|
2013-12-18 12:57:25 +00:00
|
|
|
sha256 = "0b5g4bkq62yiz1cnb2vfij0a8fw5w5z202v5dm4dh89k7cj0yq4w";
|
2009-04-02 16:20:19 +01:00
|
|
|
};
|
|
|
|
|
2012-07-02 21:27:18 +01:00
|
|
|
buildInputs = [ libpng gtk freetype fontconfig lcms flex libtiff libjpeg
|
2012-01-03 10:32:56 +00:00
|
|
|
libexif zlib perl libX11 perlXMLParser python pygtk gettext intltool babl
|
|
|
|
gegl glib makedepend xf86vidmodeproto xineramaproto libXmu openexr mesa
|
2012-07-02 21:27:18 +01:00
|
|
|
libXext libXpm libXau libXxf86vm pixman libpthreadstubs fltk
|
2012-01-03 10:32:56 +00:00
|
|
|
];
|
2009-04-02 16:20:19 +01:00
|
|
|
|
2012-07-02 21:27:18 +01:00
|
|
|
patches = [ ./install.patch ];
|
|
|
|
|
2012-12-28 18:20:09 +00:00
|
|
|
nativeBuildInputs = [ cmake pkgconfig ];
|
2009-04-02 16:20:19 +01:00
|
|
|
|
2013-04-02 09:21:31 +01:00
|
|
|
NIX_LDFLAGS = "-llcms -ljpeg -lX11";
|
2012-07-02 21:27:18 +01:00
|
|
|
|
|
|
|
# NIX_CFLAGS_COMPILE = "-I.";
|
2009-04-02 16:20:19 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://www.cinepaint.org/;
|
2014-11-06 00:44:33 +00:00
|
|
|
license = stdenv.lib.licenses.free;
|
2009-04-02 16:20:19 +01:00
|
|
|
description = "Image editor which supports images over 8bpp and ICC profiles";
|
2009-11-29 19:22:28 +00:00
|
|
|
maintainers = with stdenv.lib.maintainers; [viric];
|
2012-01-03 10:32:56 +00:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2009-04-02 16:20:19 +01:00
|
|
|
};
|
|
|
|
}
|