Native UI
This commit is contained in:
parent
2df26b8ce0
commit
bf75b8b652
23 changed files with 841 additions and 5 deletions
27
native/data/meson.build
Normal file
27
native/data/meson.build
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
desktop_utils = find_program('desktop-file-validate', required: false)
|
||||
if desktop_utils.found()
|
||||
test('Validate desktop file', desktop_utils, args: ['space.arimelody.LiveSchedule.desktop'])
|
||||
endif
|
||||
|
||||
appstreamcli = find_program('appstreamcli', required: false, disabler: true)
|
||||
test('Validate appstream file', appstreamcli,
|
||||
args: ['validate', '--no-net', '--explain', 'space.arimelody.LiveSchedule.metainfo.xml'])
|
||||
|
||||
install_data('space.arimelody.LiveSchedule.gschema.xml',
|
||||
install_dir: get_option('datadir') / 'glib-2.0' / 'schemas')
|
||||
|
||||
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()])
|
||||
|
||||
service_conf = configuration_data()
|
||||
service_conf.set('bindir', get_option('prefix') / get_option('bindir'))
|
||||
configure_file(
|
||||
input: 'space.arimelody.LiveSchedule.service.in',
|
||||
output: 'space.arimelody.LiveSchedule.service',
|
||||
configuration: service_conf,
|
||||
install_dir: get_option('datadir') / 'dbus-1' / 'services')
|
||||
|
||||
subdir('resources')
|
||||
subdir('icons')
|
||||
Loading…
Add table
Add a link
Reference in a new issue