spot/data/meson.build
Théo Barnouin 15cf412840
Some checks are pending
spot-quality / ci-check (push) Waiting to run
spot-quality / shellcheck (push) Waiting to run
first commit
2024-11-13 16:41:51 +01:00

31 lines
855 B
Meson

install_data('dev.alextren.Spot.desktop',
install_dir: get_option('datadir') / 'applications'
)
install_subdir('hicolor',
install_dir: get_option('datadir') / 'icons'
)
install_data('dev.alextren.Spot.appdata.xml',
install_dir: get_option('datadir') / 'appdata'
)
install_data('dev.alextren.Spot.gschema.xml',
install_dir: get_option('datadir') / 'glib-2.0/schemas'
)
compile_schemas = find_program('glib-compile-schemas', required: true)
if compile_schemas.found()
test('Validate schema file', compile_schemas,
args: ['--strict', '--dry-run', meson.current_source_dir()]
)
endif
appstream_util = find_program('appstream-util', required: false)
if appstream_util.found()
test(
'Validate appstream appdata',
appstream_util,
args: ['validate-relax', meson.current_source_dir() / 'dev.alextren.Spot.appdata.xml']
)
endif