2016-09-11 22:24:51 +01:00
|
|
|
{ stdenv, fetchurl, cmake, pkgconfig, gtk2, freetype, fontconfig, lcms,
|
2018-10-12 23:56:15 +01:00
|
|
|
flex, libtiff, libjpeg, libpng, libexif, zlib, perlPackages, libX11,
|
|
|
|
pythonPackages, gettext, intltool, babl, gegl,
|
2018-12-31 03:40:47 +00:00
|
|
|
glib, makedepend, xorgproto, libXmu, openexr,
|
2018-02-24 13:12:44 +00:00
|
|
|
libGLU_combined, libXext, libXpm, libXau, libXxf86vm, pixman, libpthreadstubs, fltk } :
|
2009-04-02 16:20:19 +01:00
|
|
|
|
2016-09-25 21:56:40 +01:00
|
|
|
let
|
|
|
|
inherit (pythonPackages) python pygtk;
|
|
|
|
in 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
|
|
|
};
|
|
|
|
|
2016-09-11 22:24:51 +01:00
|
|
|
buildInputs = [ libpng gtk2 freetype fontconfig lcms flex libtiff libjpeg
|
2018-10-12 23:56:15 +01:00
|
|
|
libexif zlib libX11 python pygtk gettext intltool babl
|
2018-12-31 03:40:47 +00:00
|
|
|
gegl glib makedepend xorgproto libXmu openexr libGLU_combined
|
2012-07-02 21:27:18 +01:00
|
|
|
libXext libXpm libXau libXxf86vm pixman libpthreadstubs fltk
|
2018-10-12 23:56:15 +01:00
|
|
|
] ++ (with perlPackages; [ perl XMLParser ]);
|
2009-04-02 16:20:19 +01:00
|
|
|
|
2016-02-26 17:38:15 +00:00
|
|
|
hardeningDisable = [ "format" ];
|
2016-02-09 02:24:58 +00: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
|
|
|
|
2019-01-04 19:33:50 +00:00
|
|
|
NIX_LDFLAGS = "-lm -llcms -ljpeg -lpng -lX11";
|
2012-07-02 21:27:18 +01:00
|
|
|
|
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
|
|
|
};
|
|
|
|
}
|