From 9709d7eb6161d4b29df9417fc35f7bfdd98dca85 Mon Sep 17 00:00:00 2001 From: Christoph Reiter Date: Fri, 29 Mar 2019 09:27:40 +0100 Subject: [PATCH] meson: Install key themes --- gtk/meson.build | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/gtk/meson.build b/gtk/meson.build index 0ce6c11de9..bc9ea4b865 100644 --- a/gtk/meson.build +++ b/gtk/meson.build @@ -980,14 +980,19 @@ libgtk_dep = declare_dependency(sources: gtk_dep_sources, link_args: common_ldflags) if quartz_enabled - # HACK: install_data() doesn't allow installing under a different name (#1487) - # FIXME: or maybe just rename it to gtk-keys.css in the src tree? - configure_file(input: 'gtk-keys.css.mac', - output: 'gtk-keys.css', - copy: true, - install_dir: join_paths(get_option('datadir'), 'themes/Mac/gtk-4.0')) + install_data(['gtk-keys.css.mac'], + install_dir: join_paths(get_option('datadir'), 'themes/Mac/gtk-3.0'), + rename: ['gtk-keys.css']) endif +install_data(['gtk-keys.css.default'], + install_dir: join_paths(get_option('datadir'), 'themes/Default/gtk-3.0'), + rename: ['gtk-keys.css']) + +install_data(['gtk-keys.css.emacs'], + install_dir: join_paths(get_option('datadir'), 'themes/Emacs/gtk-3.0'), + rename: ['gtk-keys.css']) + ####### Utils ###### gtk_query_settings = executable( 'gtk-query-settings',