printing: Add printing support

Part-of: <https://gitlab.gnome.org/Incubator/loupe/-/merge_requests/165>
This commit is contained in:
Sophie Herold 2023-04-02 01:39:23 +02:00 • committed by Marge Bot
parent e96b9ccac9
commit ae5ca76176
22 changed files with 936 additions and 49 deletions

View file

@ -38,29 +38,8 @@ appstream_file = i18n.merge_file(
install_dir: iv_datadir / 'metainfo'
)
# appstream_util = find_program('appstream-util', required: false)
# if appstream_util.found()
# test('Validate appstream file', appstream_util,
# args: ['validate', appstream_file]
# )
# endif
install_data('org.gnome.Loupe.gschema.xml',
install_dir: iv_datadir / 'glib-2.0' / 'schemas'
)
compile_schemas = find_program('glib-compile-schemas', required: false)
if compile_schemas.found()
test('Validate schema file', compile_schemas,
args: ['--strict', '--dry-run', meson.current_source_dir()]
)
endif
gnome.compile_resources('loupe',
'loupe.gresource.xml',
gresource_bundle: true,
install: true,
install_dir: iv_pkgdatadir,
)
subdir('icons')
# Post install
gnome.post_install()