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