1
0
mirror of https://gitlab.cvh-server.de/skrause/flashcards.git synced 2025-12-12 07:51:38 +01:00

latest changes

This commit is contained in:
2025-10-28 12:37:03 +01:00
parent b5830c9d13
commit fca51b78a1
13 changed files with 91 additions and 59 deletions

View File

@@ -1,10 +1,13 @@
compile_schemas = find_program('glib-compile-schemas', required : false, disabler : true)
test('Validate schema file',
compile_schemas,
args : ['--strict', '--dry-run', meson.current_source_dir()])
test(
'Validate schema file',
compile_schemas,
args : ['--strict', '--dry-run', meson.current_source_dir()]
)
install_data('li.sopht.Flashcards.gschema.xml',
install_dir : get_option('datadir') / 'glib-2.0' / 'schemas'
install_data(
'li.sopht.Flashcards.gschema.xml',
install_dir : get_option('datadir') / 'glib-2.0' / 'schemas'
)
desktop_file = i18n.merge_file(
@@ -30,8 +33,10 @@ appstream_file = i18n.merge_file(
)
appstreamcli = find_program('appstreamcli', required : false, disabler : true)
test('Validate appstream file', appstreamcli,
args : ['validate', '--no-net', '--explain', appstream_file])
test(
'Validate appstream file', appstreamcli,
args : ['validate', '--no-net', '--explain', appstream_file]
)
service_conf = configuration_data()
service_conf.set('bindir', get_option('prefix') / get_option('bindir'))
@@ -44,10 +49,11 @@ configure_file(
subdir('ui')
resources = gnome.compile_resources('resources',
'flashcards.gresource.xml',
dependencies : [blueprints, appstream_file],
c_name : 'flashcards'
resources = gnome.compile_resources(
'resources',
'flashcards.gresource.xml',
dependencies : [blueprints, appstream_file],
c_name : 'flashcards'
)
subdir('icons')