From bb764374019bfd991cb7659d150bf131df7791d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20=22sp1rit=22=E2=80=8B?= Date: Sat, 2 Nov 2024 20:32:34 +0100 Subject: [PATCH] meson: set install_tag for schema files To limit the amount of files installed by meson install, users can specify specific classes of files they actually want to install. Most to be installed files are automatically tagged by meson correctly based on what function produced them, but it can't for some (esp. those installed using install_data/subdir). As gschema files *should typically* be available at runtime, give them the "runtime" tag. See https://mesonbuild.com/Installing.html#installation-tags --- gtk/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/meson.build b/gtk/meson.build index 5d2f2859fe..c7f2d4be31 100644 --- a/gtk/meson.build +++ b/gtk/meson.build @@ -1090,7 +1090,7 @@ gtk_settings_schemas = [ 'org.gtk.gtk4.Settings.EmojiChooser.gschema.xml', 'org.gtk.gtk4.Settings.Debug.gschema.xml', ] -install_data(gtk_settings_schemas, install_dir: gtk_schemasdir) +install_data(gtk_settings_schemas, install_dir: gtk_schemasdir, install_tag: 'runtime') gnome.compile_schemas(depend_files: files(gtk_settings_schemas), build_by_default: true) gtk_schema_build_dir = meson.current_build_dir()