summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin <colin@uninsane.org>2023-03-26 23:29:01 +0000
committerColin <colin@uninsane.org>2023-03-26 23:29:01 +0000
commit27863d5d592994ddf13b3f0e6ea7f11c5e928f50 (patch)
tree4661f34bdf9e0a941cb174fea5e7002947455774
parentc2d417d6a79f03c095e5730efd60015eb3109a82 (diff)
downloadgssdp-27863d5d592994ddf13b3f0e6ea7f11c5e928f50.tar.gz
specify gi-docgen as a native dependencyHEADmaster
this allows for cross-compilation. successfully in use by NixOS/nixpkgs here: - <https://github.com/NixOS/nixpkgs/pull/221308> other gnome projects already specifying gi-docgen as native dependency: - [gtk](https://gitlab.gnome.org/GNOME/gtk/-/blob/8cf3a95d8cd5c79d941b6430f00647caa9b52eb0/docs/reference/meson.build#L4) - [libadwaita](https://gitlab.gnome.org/GNOME/libadwaita/-/blob/fc27700ea2463c9670cd2fb264697d52cba68b89/doc/meson.build#L27) - [libhandy](https://gitlab.gnome.org/GNOME/libhandy/-/blob/691fa96e17172a7c1605c59005ea8021cdf3d056/doc/meson.build#L18)
-rw-r--r--meson.build1
1 files changed, 1 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index ac24c17..abb8e51 100644
--- a/meson.build
+++ b/meson.build
@@ -94,6 +94,7 @@ endif
gidocgen_dep = dependency('gi-docgen', version: '>= 2021.1',
fallback: ['gi-docgen', 'dummy_dep'],
+ native: true,
required: get_option('gtk_doc') and get_option('introspection')
)