--- gegl/meson.build 2024-11-03 10:39:32.000000000 -0600 +++ gegl/meson.build 2024-11-06 07:44:10.000000000 -0600 @@ -89,7 +89,7 @@ subdir: api_name ) -gegl_ldflags = os_osx ? ['-framework', 'OpenCL'] : [] +gegl_ldflags = [] opencl_dep = declare_dependency( sources : [opencl_headers], --- gegl/opencl/gegl-cl-init.c 2026-03-24 18:55:24.000000000 +0800 +++ gegl/opencl/gegl-cl-init.c 2026-05-23 13:42:15.000000000 +0800 @@ -539,7 +539,7 @@ return TRUE; } -#ifndef __APPLE__ +#if !defined(__APPLE__) || MAC_OS_X_VERSION_MAX_ALLOWED < 1060 || defined(__POWERPC__) static gboolean gegl_cl_gl_init_load_functions (GError **error) { @@ -732,7 +732,7 @@ if (!gegl_cl_init_get_gl_sharing_props (gl_contex_props, error)) return FALSE; -#ifdef __APPLE__ +#if defined(__APPLE__) && MAC_OS_X_VERSION_MAX_ALLOWED >= 1060 && !defined(__POWERPC__) /* Create context */ ctx = gegl_clCreateContext (gl_contex_props, 0, 0, NULL, 0, &err);