summaryrefslogtreecommitdiff
path: root/src/meson.build
blob: cf96950ad6a6755d841631fdf49e3d8cc65f9731 (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
sources = [
  files(
    'cheese-application.vala',
    'cheese-countdown.vala',
    'cheese-effects-manager.vala',
    'cheese-main.vala',
    'cheese-preferences.vala',
    'cheese-window.vala',
    'thumbview/cheese-thumbnail.c',
    'thumbview/cheese-thumb-view.c',
    'thumbview/eog-thumb-nav.c',
    'vapi/libcanberra-gtk3.vapi'
  ),
  compile_schemas
]

deps = [
  cheese_common_dep,
  cheese_thumbview_dep,
  config_dep,
  gnome_desktop_dep,
  eogthumbnav_dep,
  libcanberra_dep,
  libcanberra_gtk3_dep,
  libcheese_gtk_dep,
  posix_dep,
]

cflags = [
  '-DPACKAGE_LOCALEDIR="@0@"'.format(cheese_prefix / cheese_localedir),
  '-DGNOME_DESKTOP_USE_UNSTABLE_API=1',
  '-DGETTEXT_PACKAGE="@0@"'.format(cheese_name),
]

executable(
  cheese_name,
  sources: sources + resource_sources,
  include_directories: top_inc,
  dependencies: deps,
  c_args: cflags,
  install: true,
)