1sources = [
2  files(
3    'cheese-application.vala',
4    'cheese-countdown.vala',
5    'cheese-effects-manager.vala',
6    'cheese-main.vala',
7    'cheese-preferences.vala',
8    'cheese-window.vala',
9    'thumbview/cheese-thumbnail.c',
10    'thumbview/cheese-thumb-view.c',
11    'thumbview/eog-thumb-nav.c',
12    'vapi/libcanberra-gtk3.vapi'
13  ),
14  compile_schemas
15]
16
17deps = [
18  cheese_common_dep,
19  cheese_thumbview_dep,
20  config_dep,
21  gnome_desktop_dep,
22  eogthumbnav_dep,
23  libcanberra_dep,
24  libcanberra_gtk3_dep,
25  libcheese_gtk_dep,
26  posix_dep,
27]
28
29cflags = [
30  '-DPACKAGE_LOCALEDIR="@0@"'.format(cheese_prefix / cheese_localedir),
31  '-DGNOME_DESKTOP_USE_UNSTABLE_API=1',
32  '-DGETTEXT_PACKAGE="@0@"'.format(cheese_name),
33]
34
35executable(
36  cheese_name,
37  sources: sources + resource_sources,
38  include_directories: top_inc,
39  dependencies: deps,
40  c_args: cflags,
41  install: true,
42)
43