summaryrefslogtreecommitdiff
path: root/capplets/appearance/meson.build
blob: f75c33d9518b4ab8ffd20dccafbaad39bf6e5f1f (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
42
43
44
45
46
47
48
49
50
sources = files(
  'appearance-desktop.c',
  'appearance-font.c',
  'appearance-main.c',
  'appearance-style.c',
  'appearance-support.c',
  'appearance-themes.c',
  'appearance-ui.c',
  'mate-wp-info.c',
  'mate-wp-item.c',
  'mate-wp-xml.c',
  'theme-installer.c',
  'theme-save.c',
  'theme-util.c'
)

sources += gnome.compile_resources(
  'mate-appearance-properties-resources',
  'org.mate.mcc.appearance.gresource.xml',
  c_name: 'appearance',
  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),
  '-DBACKGROUND_DATADIR="@0@"'.format(mcc_background),
  '-DWALLPAPER_DATADIR="@0@"'.format(mcc_wallpaperdir),
  '-DMATE_DESKTOP_USE_UNSTABLE_API',
]

deps = [
  common_deps,
  libxml_dep,
  accounts_dep
]

executable(
  'mate-appearance-properties',
  sources : sources,
  include_directories: config_inc,
  dependencies : [deps, libcommon_dep],
  c_args : cflags,
  install : true,
  install_dir : get_option('bindir')
)

subdir('data')