Our build files were relying 'sysroot' to find gexiv2.h but this is not possible with Apple Clang om which sysroot points to macOS SDK. So, exotic environments like Homebrew were failing. Let's fix this.
37 lines
786 B
Meson
37 lines
786 B
Meson
|
|
gimpdbusservice_gen = gnome.gdbus_codegen(
|
|
'gimpdbusservice-generated',
|
|
'dbus-service.xml',
|
|
interface_prefix: 'org.gimp.GIMP.',
|
|
namespace: 'GimpDBusService',
|
|
)
|
|
|
|
libappgui_sources = [
|
|
'gimpapp.c',
|
|
'gimpdbusservice.c',
|
|
'gimpuiconfigurer.c',
|
|
'gui-message.c',
|
|
'gui-unique.c',
|
|
'gui-vtable.c',
|
|
'gui.c',
|
|
'icon-themes.c',
|
|
'modifiers.c',
|
|
'session.c',
|
|
'splash.c',
|
|
'themes.c',
|
|
gimpdbusservice_gen,
|
|
]
|
|
|
|
# Workaround for generated header included in other directories.
|
|
configInclude = include_directories('.')
|
|
|
|
|
|
libappgui = static_library('appgui',
|
|
libappgui_sources,
|
|
include_directories: [ rootInclude, rootAppInclude, ],
|
|
c_args: '-DG_LOG_DOMAIN="Gimp-GUI"',
|
|
dependencies: [
|
|
cairo, gegl, gdk_pixbuf, gexiv2, gio_specific, gtk3
|
|
],
|
|
install: false,
|
|
)
|