~martijnbraam/megapixels

ref: 561c10c612c2972de59ba9cdd4d17eef7452eadc megapixels/data/meson.build -rw-r--r-- 903 bytes
561c10c6 — Guido Günther data: Add X-Purism-FormFactor to desktop file 1 year, 2 days ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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')

settings_schemas = ['org.postmarketos.Megapixels.gschema.xml']
schemas_dir = get_option('prefix') / get_option('datadir') / 'glib-2.0' / 'schemas'
install_data(settings_schemas, install_dir: schemas_dir)
gnome.compile_schemas(depend_files: files(settings_schemas))
meson.add_install_script('glib-compile-schemas', schemas_dir)