mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 20:34:52 +03:00
gimp: add darwin support
This commit is contained in:
parent
f159279da5
commit
8497ef1ed2
@ -1,7 +1,8 @@
|
|||||||
{ stdenv, fetchurl, pkgconfig, intltool, babl, gegl, gtk2, glib, gdk_pixbuf
|
{ stdenv, fetchurl, pkgconfig, intltool, babl, gegl, gtk2, glib, gdk_pixbuf
|
||||||
, pango, cairo, freetype, fontconfig, lcms, libpng, libjpeg, poppler, libtiff
|
, pango, cairo, freetype, fontconfig, lcms, libpng, libjpeg, poppler, libtiff
|
||||||
, webkit, libmng, librsvg, libwmf, zlib, libzip, ghostscript, aalib, jasper
|
, webkit, libmng, librsvg, libwmf, zlib, libzip, ghostscript, aalib, jasper
|
||||||
, python2Packages, libart_lgpl, libexif, gettext, xorg }:
|
, python2Packages, libart_lgpl, libexif, gettext, xorg
|
||||||
|
, AppKit, Cocoa, gtk-mac-integration }:
|
||||||
|
|
||||||
let
|
let
|
||||||
inherit (python2Packages) pygtk wrapPython python;
|
inherit (python2Packages) pygtk wrapPython python;
|
||||||
@ -26,7 +27,8 @@ in stdenv.mkDerivation rec {
|
|||||||
libmng librsvg libwmf zlib libzip ghostscript aalib jasper
|
libmng librsvg libwmf zlib libzip ghostscript aalib jasper
|
||||||
python pygtk libart_lgpl libexif gettext xorg.libXpm
|
python pygtk libart_lgpl libexif gettext xorg.libXpm
|
||||||
wrapPython
|
wrapPython
|
||||||
];
|
]
|
||||||
|
++ stdenv.lib.optionals stdenv.isDarwin [ AppKit Cocoa gtk-mac-integration ];
|
||||||
|
|
||||||
pythonPath = [ pygtk ];
|
pythonPath = [ pygtk ];
|
||||||
|
|
||||||
@ -51,6 +53,6 @@ in stdenv.mkDerivation rec {
|
|||||||
description = "The GNU Image Manipulation Program";
|
description = "The GNU Image Manipulation Program";
|
||||||
homepage = http://www.gimp.org/;
|
homepage = http://www.gimp.org/;
|
||||||
license = stdenv.lib.licenses.gpl3Plus;
|
license = stdenv.lib.licenses.gpl3Plus;
|
||||||
platforms = stdenv.lib.platforms.linux;
|
platforms = stdenv.lib.platforms.unix;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -13352,6 +13352,7 @@ in
|
|||||||
inherit (gnome2) libart_lgpl;
|
inherit (gnome2) libart_lgpl;
|
||||||
webkit = null;
|
webkit = null;
|
||||||
lcms = lcms2;
|
lcms = lcms2;
|
||||||
|
inherit (darwin.apple_sdk.frameworks) AppKit Cocoa;
|
||||||
};
|
};
|
||||||
|
|
||||||
gimp = gimp_2_8;
|
gimp = gimp_2_8;
|
||||||
|
Loading…
Reference in New Issue
Block a user