Use same approach as https://gitlab.gnome.org/GNOME/nautilus/blob/master/data/meson.build#L112-138
Initiatives#8 (closed)