mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 21:33:03 +03:00
gegl: fix darwin build
../gegl/opencl/cl_gl.h:37:10: fatal error: 'OpenGL/CGLDevice.h' file not found #include <OpenGL/CGLDevice.h>
This commit is contained in:
parent
f3a8147404
commit
80a5dd7f02
@ -28,6 +28,7 @@
|
||||
, libwebp
|
||||
, luajit
|
||||
, openexr
|
||||
, OpenCL
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@ -86,7 +87,7 @@ stdenv.mkDerivation rec {
|
||||
gexiv2
|
||||
luajit
|
||||
openexr
|
||||
];
|
||||
] ++ stdenv.lib.optional stdenv.isDarwin OpenCL;
|
||||
|
||||
# for gegl-4.0.pc
|
||||
propagatedBuildInputs = [
|
||||
@ -115,7 +116,8 @@ stdenv.mkDerivation rec {
|
||||
patchShebangs tests/ff-load-save/tests_ff_load_save.sh tests/opencl/opencl_test.sh tests/buffer/buffer-tests-run.sh tools/xml_insert.sh
|
||||
'';
|
||||
|
||||
doCheck = true;
|
||||
# tests fail to connect to the com.apple.fonts daemon in sandboxed mode
|
||||
doCheck = !stdenv.isDarwin;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Graph-based image processing framework";
|
||||
|
@ -11063,7 +11063,9 @@ in
|
||||
inherit (darwin.apple_sdk.frameworks) OpenGL;
|
||||
};
|
||||
|
||||
gegl_0_4 = callPackage ../development/libraries/gegl/4.0.nix { };
|
||||
gegl_0_4 = callPackage ../development/libraries/gegl/4.0.nix {
|
||||
inherit (darwin.apple_sdk.frameworks) OpenCL;
|
||||
};
|
||||
|
||||
geoclue2 = callPackage ../development/libraries/geoclue {};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user