diff --git a/src/bin/clapper-app/data/meson.build b/src/bin/clapper-app/data/meson.build index 8a402b32..2d8648f1 100644 --- a/src/bin/clapper-app/data/meson.build +++ b/src/bin/clapper-app/data/meson.build @@ -25,14 +25,12 @@ endif install_subdir('icons', install_dir: join_paths(prefix, datadir) ) -install_subdir('mime', - install_dir: join_paths(prefix, datadir) -) install_subdir('metainfo', install_dir: join_paths(prefix, datadir) ) is_linux = ['linux'].contains(host_machine.system()) +is_windows = ['windows'].contains(host_machine.system()) if is_linux install_subdir('applications', @@ -41,11 +39,17 @@ if is_linux subdir('dbus-1') endif +if not is_windows + install_subdir('mime', + install_dir: join_paths(prefix, datadir) + ) +endif + subdir('glib-2.0/schemas') gnome.post_install( glib_compile_schemas: true, gtk_update_icon_cache: true, update_desktop_database: is_linux, - update_mime_database: true, + update_mime_database: not is_windows, )