diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 17:47:04 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 17:47:04 +0000 |
commit | e05fb7b3e36c052baf0dd607ddeb22c0a2b5cbde (patch) | |
tree | 7a27d70e96502edf2b5576d3ca403f1b8512f55b /gnome-initial-setup/pages/goa/meson.build | |
parent | Initial commit. (diff) | |
download | gnome-initial-setup-59539b8c5e30eec79ac497e77d7d76ba2be8365f.tar.xz gnome-initial-setup-59539b8c5e30eec79ac497e77d7d76ba2be8365f.zip |
Adding upstream version 43.2.upstream/43.2upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'gnome-initial-setup/pages/goa/meson.build')
-rw-r--r-- | gnome-initial-setup/pages/goa/meson.build | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/gnome-initial-setup/pages/goa/meson.build b/gnome-initial-setup/pages/goa/meson.build new file mode 100644 index 0000000..b19fcc3 --- /dev/null +++ b/gnome-initial-setup/pages/goa/meson.build @@ -0,0 +1,38 @@ +sources += gnome.compile_resources( + 'goa-resources', + files('goa.gresource.xml'), + c_name: 'goa' +) + +sources += files( + 'gis-goa-page.c', + 'gis-goa-page.h' +) + +goa_helper_deps = [ + dependency('goa-backend-1.0'), +] + +goa_helper_cflags = [] + +gtk_x11_dep = dependency('gtk+-x11-3.0', required: false) +if gtk_x11_dep.found() + goa_helper_deps += [ gtk_x11_dep ] + goa_helper_cflags += ['-DHAVE_GTK_X11'] +endif + +gtk_wayland_dep = dependency('gtk+-wayland-3.0', required: false) +if gtk_wayland_dep.found() + goa_helper_deps += [ gtk_wayland_dep ] + goa_helper_cflags += ['-DHAVE_GTK_WAYLAND'] +endif + +executable( + 'gnome-initial-setup-goa-helper', + 'gnome-initial-setup-goa-helper.c', + include_directories: config_h_dir, + dependencies: goa_helper_deps, + c_args: goa_helper_cflags, + install: true, + install_dir: libexec_dir, +)
\ No newline at end of file |