summaryrefslogtreecommitdiffstats
path: root/plugins/print-notifications/meson.build
blob: 1e1c614b11d16c46ec05d58ad6ffdf47d7e9360c (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
sources = files(
  'gsd-print-notifications-manager.c',
  'main.c'
)

deps = plugins_deps + [
  cups_dep,
  gtk_dep,
  libnotify_dep
]

cflags += ['-DLIBEXECDIR="@0@"'.format(gsd_libexecdir)]
cflags += ['-DBINDIR="@0@"'.format(gsd_bindir)]

executable(
  'gsd-' + plugin_name,
  sources,
  include_directories: [top_inc, common_inc],
  dependencies: deps,
  c_args: cflags,
  install: true,
  install_rpath: gsd_pkglibdir,
  install_dir: gsd_libexecdir
)

program = 'gsd-printer'

executable(
  program,
  program + '.c',
  include_directories: top_inc,
  dependencies: deps,
  c_args: '-DGNOME_SETTINGS_LOCALEDIR="@0@"'.format(gsd_localedir),
  install: true,
  install_rpath: gsd_pkglibdir,
  install_dir: gsd_libexecdir
)