2021-04-18 15:13:56 +02:00
|
|
|
resources = gnome.compile_resources('megapixels-resources',
|
|
|
|
'org.postmarketos.Megapixels.gresource.xml')
|
|
|
|
|
|
|
|
install_data(['org.postmarketos.Megapixels.desktop'],
|
|
|
|
install_dir: get_option('datadir') / 'applications')
|
|
|
|
|
|
|
|
install_data(['org.postmarketos.Megapixels.metainfo.xml'],
|
|
|
|
install_dir: get_option('datadir') / 'metainfo')
|
|
|
|
|
|
|
|
install_data('org.postmarketos.Megapixels.svg',
|
|
|
|
install_dir: join_paths(get_option('datadir'), 'icons/hicolor/scalable/apps'))
|
|
|
|
|
|
|
|
install_data(['postprocess.sh'],
|
|
|
|
install_dir: get_option('datadir') / 'megapixels/',
|
|
|
|
install_mode: 'rwxr-xr-x')
|
2021-06-14 00:32:55 +02:00
|
|
|
|
|
|
|
settings_schemas = ['org.postmarketos.Megapixels.gschema.xml']
|
2021-07-30 18:14:28 +02:00
|
|
|
schemas_dir = get_option('datadir') / 'glib-2.0' / 'schemas'
|
2021-06-14 00:32:55 +02:00
|
|
|
install_data(settings_schemas, install_dir: schemas_dir)
|
|
|
|
gnome.compile_schemas(depend_files: files(settings_schemas))
|