meson.build 793 B

1234567891011121314151617181920
  1. resources = gnome.compile_resources('megapixels-resources',
  2. 'me.gapixels.Megapixels.gresource.xml')
  3. install_data(['me.gapixels.Megapixels.desktop'],
  4. install_dir: get_option('datadir') / 'applications')
  5. install_data(['me.gapixels.Megapixels.metainfo.xml'],
  6. install_dir: get_option('datadir') / 'metainfo')
  7. install_data('me.gapixels.Megapixels.svg',
  8. install_dir: join_paths(get_option('datadir'), 'icons/hicolor/scalable/apps'))
  9. install_data(['postprocess.sh'],
  10. install_dir: get_option('datadir') / 'megapixels/',
  11. install_mode: 'rwxr-xr-x')
  12. settings_schemas = ['me.gapixels.Megapixels.gschema.xml']
  13. schemas_dir = get_option('datadir') / 'glib-2.0' / 'schemas'
  14. install_data(settings_schemas, install_dir: schemas_dir)
  15. gnome.compile_schemas(depend_files: files(settings_schemas))