meson.build - depend on Cairo

parent cfb1d559
Pipeline #11591 failed with stage
in 1 minute 14 seconds
......@@ -57,6 +57,7 @@ gdk_pixbuf_loaderdir = join_paths(gdk_pixbuf_libdir, 'gdk-pixbuf-@0@/@1@/loaders
# Dependencies
glib_req_version = '>= 2.38.0'
gio_dep = dependency('gio-2.0', version: glib_req_version)
cairo_req = '>= 1.14.0'
# Configurations
gdk_pixbuf_conf = configuration_data()
......@@ -181,6 +182,7 @@ endif
gobject_dep = dependency('gobject-2.0', version: glib_req_version)
gmodule_dep = dependency('gmodule-no-export-2.0')
gio_dep = dependency('gio-2.0')
cairo_dep = dependency('cairo', version: cairo_req)
# On non-Windows/macOS systems we always required shared-mime-info and GIO
if host_system != 'windows' and host_system != 'darwin'
......@@ -204,7 +206,7 @@ if medialib_dep.found()
endif
endif
gdk_pixbuf_deps = [ mathlib_dep, gobject_dep, gmodule_dep, gio_dep, shared_mime_dep, medialib_dep ]
gdk_pixbuf_deps = [ mathlib_dep, gobject_dep, gmodule_dep, gio_dep, cairo_dep, shared_mime_dep, medialib_dep ]
# Check if we can build shared modules
build_modules = gmodule_dep.get_pkgconfig_variable('gmodule_supported') == 'true'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment