File: meson.build

package info (click to toggle)
mate-user-admin 1.7.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,484 kB
  • sloc: ansic: 6,165; sh: 10; makefile: 7
file content (32 lines) | stat: -rw-r--r-- 834 bytes parent folder | download | duplicates (2)
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
31
32
subdir('face')
subdir('icon')
subdir('hicolor')
subdir('mate-user-admin')

i18n = import('i18n')

i18n.merge_file(
  input: 'mate-user-admin.desktop.in',
  output: 'mate-user-admin.desktop',
  install: true,
  po_dir: join_paths(meson.source_root(), 'po'),
  install_dir : join_paths(get_option('prefix'), 'share/applications'),
  type: 'desktop',
)
polkit = 'org.mate.user.admin.policy'
i18n.merge_file(
  input: polkit + '.in',
  output: polkit,
  po_dir: join_paths(meson.source_root(), 'po'),
  install: true,
  install_dir: join_paths(get_option('prefix'), 'share/polkit-1', 'actions')
)  

appdata = 'mate-user-admin.appdata.xml'
i18n.merge_file(
  input: appdata + '.in',
  output: appdata,
  po_dir: join_paths(meson.source_root(), 'po'),
  install: true,
  install_dir: join_paths(get_option('prefix'), 'share/metainfo')
)