1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
|
i18n.merge_file(
input: 'de.wagnermartin.Plattenalbum.desktop.in',
output: 'de.wagnermartin.Plattenalbum.desktop',
type: 'desktop',
po_dir: '../po',
install: true,
install_dir: join_paths(get_option('datadir'), 'applications')
)
metainfo_file = i18n.merge_file(
input: 'de.wagnermartin.Plattenalbum.metainfo.xml.in',
output: 'de.wagnermartin.Plattenalbum.metainfo.xml',
po_dir: '../po',
install: true,
install_dir: join_paths(get_option('datadir'), 'metainfo')
)
gnome.compile_resources(
'de.wagnermartin.Plattenalbum', 'de.wagnermartin.Plattenalbum.gresource.xml',
gresource_bundle: true,
source_dir: '.',
install_dir: resources_dir,
install: true,
dependencies: metainfo_file
)
install_data('de.wagnermartin.Plattenalbum.gschema.xml', install_dir: join_paths(get_option('datadir'), 'glib-2.0/schemas'))
install_data('de.wagnermartin.Plattenalbum.svg', install_dir: join_paths(get_option('datadir'), 'icons/hicolor/scalable/apps'))
install_data('de.wagnermartin.Plattenalbum-symbolic.svg', install_dir: join_paths(get_option('datadir'), 'icons/hicolor/symbolic/apps'))
|