[gtk/gtk-3-24-meson: 65/99] meson: Install key themes



commit b9728cc28d198152a38f9bb234689d1ae3de1903
Author: Christoph Reiter <creiter src gnome org>
Date:   Fri Mar 29 09:27:40 2019 +0100

    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',


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]