mirror of
https://github.com/Rafostar/clapper.git
synced 2025-08-29 15:22:11 +02:00
clapper-app: meson: Do not install mimes on Windows
They are unsupported. We use file extensions instead.
This commit is contained in:
@@ -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,
|
||||
)
|
||||
|
Reference in New Issue
Block a user