summaryrefslogtreecommitdiff
path: root/capplets/about-me/meson.build
blob: 690eab0b7941909ab2bec29d3116446033aa5f70 (plain)
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
33
34
35
36
37
38
39
40
41
desktop = 'mate-about-me.desktop'

i18n.merge_file(
  type: 'desktop',
  input: desktop + '.in',
  output: desktop,
  po_dir: po_dir,
  install: true,
  install_dir: mcc_desktopdir
)

sources = files(
  'e-image-chooser.c',
  'mate-about-me.c',
  'mate-about-me-fingerprint.c',
  'mate-about-me-password.c'
)

sources += gnome.compile_resources(
  'mate-about-me-resources',
  'org.mate.mcc.am.gresource.xml',
  c_name: 'about_me',
  export: true
)

cflags += [
  '-DDATADIR="@0@"'.format(mcc_datadir),
  '-DMATECC_DATA_DIR="@0@"'.format(mcc_pkgdatadir),
  '-DMATECC_PIXMAP_DIR="@0@"'.format(mcc_pixmaps),
  '-DMATELOCALEDIR="@0@"'.format(mcc_localedir),
]

executable(
  'mate-about-me',
  sources : sources,
  include_directories: config_inc,
  dependencies : [common_deps, libcommon_dep],
  c_args : cflags,
  install : true,
  install_dir : get_option('bindir')
)