gegl: fix darwin build
This commit is contained in:
parent
410fa4b427
commit
5ba0165034
@ -1,5 +1,6 @@
|
||||
{ stdenv, fetchurl, pkgconfig, glib, babl, libpng, cairo, libjpeg
|
||||
, librsvg, pango, gtk, bzip2, intltool }:
|
||||
, librsvg, pango, gtk, bzip2, intltool
|
||||
, OpenGL ? null }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "gegl-0.2.0";
|
||||
@ -21,7 +22,8 @@ stdenv.mkDerivation rec {
|
||||
|
||||
NIX_LDFLAGS = if stdenv.isDarwin then "-lintl" else null;
|
||||
|
||||
buildInputs = [ babl libpng cairo libjpeg librsvg pango gtk bzip2 intltool ];
|
||||
buildInputs = [ babl libpng cairo libjpeg librsvg pango gtk bzip2 intltool ]
|
||||
++ stdenv.lib.optional stdenv.isDarwin OpenGL;
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
|
||||
|
@ -7298,7 +7298,9 @@ in
|
||||
|
||||
gephi = callPackage ../applications/science/misc/gephi { };
|
||||
|
||||
gegl = callPackage ../development/libraries/gegl { };
|
||||
gegl = callPackage ../development/libraries/gegl {
|
||||
inherit (darwin.apple_sdk.frameworks) OpenGL;
|
||||
};
|
||||
|
||||
gegl_0_3 = callPackage ../development/libraries/gegl/3.0.nix { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user