2009-05-28 23:57:05 +02:00
|
|
|
{ stdenv, fetchcvs, cmake, pkgconfig, gtk, freetype, fontconfig, lcms, fltk,
|
2009-04-02 17:20:19 +02:00
|
|
|
flex, libtiff, libjpeg, libpng, libexif, zlib, perl, libX11,
|
|
|
|
perlXMLParser, python, pygtk, gettext, intltool, babl, gegl,
|
|
|
|
glib, makedepend, xf86vidmodeproto, xineramaproto, libXmu, openexr,
|
2009-05-28 23:57:05 +02:00
|
|
|
mesa, libXext, libXpm, libXxf86vm, automake, autoconf, libtool } :
|
2009-04-02 17:20:19 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2009-05-28 23:57:05 +02:00
|
|
|
name = "cinepaint-0.25.0";
|
2009-04-02 17:20:19 +02:00
|
|
|
|
2009-05-28 23:57:05 +02:00
|
|
|
# The developer told me this cvs fetch is 0.25.0
|
|
|
|
src = fetchcvs {
|
|
|
|
cvsRoot = ":pserver:anonymous@cinepaint.cvs.sourceforge.net:/cvsroot/cinepaint";
|
|
|
|
module = "cinepaint-project";
|
|
|
|
date = "2004-03-01";
|
2009-06-30 16:29:20 +02:00
|
|
|
sha256 = "b0abefc16b4db4256e9e8dcbc5d2eff93fa3f425b8ad3a4e53345efee9f1a9dd";
|
2009-04-02 17:20:19 +02:00
|
|
|
};
|
|
|
|
|
2009-05-28 23:57:05 +02:00
|
|
|
buildInputs = [ cmake pkgconfig gtk freetype fontconfig lcms fltk flex libtiff
|
2009-04-02 17:20:19 +02:00
|
|
|
libjpeg libpng libexif zlib perl libX11 perlXMLParser python pygtk gettext
|
|
|
|
intltool babl gegl glib makedepend xf86vidmodeproto xineramaproto libXmu
|
2009-05-28 23:57:05 +02:00
|
|
|
openexr mesa libXext libXpm libXxf86vm automake autoconf libtool ];
|
2009-04-02 17:20:19 +02:00
|
|
|
|
2009-05-28 23:57:05 +02:00
|
|
|
dontUseCmakeConfigure = 1;
|
2009-04-02 17:20:19 +02:00
|
|
|
|
2009-05-28 23:57:05 +02:00
|
|
|
NIX_CFLAGS_COMPILE = "-I.";
|
2009-04-02 17:20:19 +02:00
|
|
|
|
2009-05-28 23:57:05 +02:00
|
|
|
configurePhase = ''
|
|
|
|
cd cinepaint
|
|
|
|
chmod 0777 autogen.sh
|
|
|
|
./autogen.sh
|
|
|
|
./configure --prefix=$out
|
|
|
|
'';
|
2009-04-02 17:20:19 +02:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://www.cinepaint.org/;
|
|
|
|
license = "free";
|
|
|
|
description = "Image editor which supports images over 8bpp and ICC profiles";
|
|
|
|
};
|
|
|
|
}
|