summaryrefslogtreecommitdiff
path: root/src/meson.build
blob: 748fe316e0ed29165935e6ff55ed7897f2cfa062 (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
51
# for i in `ls *.c`; do echo "  '${i}',"; done
zenity_sources = [
  'about.c',
  'calendar.c',
  'color.c',
  'entry.c',
  'fileselection.c',
  'forms.c',
  'main.c',
  'msg.c',
  'notification.c',
  'option.c',
  'password.c',
  'progress.c',
  'scale.c',
  'text.c',
  'tree.c',
  'util.c'
]

zenity_deps = [
  gtk_dep,
  libnotify,
  webkitgtk,
  x11
]

zenity_c_args = [
  '-DG_LOG_DOMAIN="Zenity"'
]

zenity = executable(
  meson.project_name(),
  zenity_sources,
  include_directories: zenity_root_dir,
  dependencies: zenity_deps,
  c_args: zenity_c_args,
  install: true
)

if perl.found()
  configure_file(
    input: 'gdialog.in',
    output: 'gdialog',
    configuration: zenity_conf,
    install_dir: zenity_bindir,
    install: true
  )
endif

install_data('zenity.ui')
bgstack15