diff --git a/src/bin/clapper-app/data/glib-2.0/schemas/meson.build b/src/bin/clapper-app/data/glib-2.0/schemas/meson.build new file mode 100644 index 00000000..aec657f8 --- /dev/null +++ b/src/bin/clapper-app/data/glib-2.0/schemas/meson.build @@ -0,0 +1,8 @@ +gnome.compile_schemas( + build_by_default: true, + depend_files: ['com.github.rafostar.Clapper.gschema.xml'] +) + +install_data('com.github.rafostar.Clapper.gschema.xml', + install_dir: join_paths(prefix, datadir, 'glib-2.0', 'schemas') +) diff --git a/src/bin/clapper-app/data/meson.build b/src/bin/clapper-app/data/meson.build index 969d7cf0..b035a6a4 100644 --- a/src/bin/clapper-app/data/meson.build +++ b/src/bin/clapper-app/data/meson.build @@ -38,10 +38,8 @@ install_subdir('applications', install_subdir('metainfo', install_dir: join_paths(prefix, datadir) ) -install_subdir('glib-2.0', - install_dir: join_paths(prefix, datadir) -) +subdir('glib-2.0/schemas') subdir('dbus-1') gnome.post_install(