Files
clapper/src/bin/clapper-app/data/glib-2.0/schemas/meson.build
Florian "sp1rit"​ 43e2e88a4c 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>
2024-04-09 11:39:32 +02:00

9 lines
236 B
Meson

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