mirror of
https://github.com/Rafostar/clapper.git
synced 2025-08-29 15:22:11 +02:00
meson: Use gnome.compile_schemas()
This causes meson to automatically build the clapper gsettings schemas and set GSETTINGS_SCHEMA_DIR to the correct location within the devenv. This means that can now be ran without needing to install it somewhere using: meson devenv -C <builddir> clapper exit More devenv overrides should be investigated (such as automatically adopting the correct directory for translated locales etc.) Signed-off-by: Florian "sp1rit" <sp1rit@disroot.org>
This commit is contained in:
8
src/bin/clapper-app/data/glib-2.0/schemas/meson.build
Normal file
8
src/bin/clapper-app/data/glib-2.0/schemas/meson.build
Normal file
@@ -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')
|
||||
)
|
@@ -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(
|
||||
|
Reference in New Issue
Block a user