summaryrefslogtreecommitdiff
path: root/modules/printbackends/cups/meson.build
blob: e69788d9f3c63fbf70b7b8740e0d31a2a529014e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
enable_colord = get_option('enable-colord')
if enable_colord != 'no'
  want_colord = enable_colord == 'yes'
  colord_dep = dependency('colord', version: '>= 0.1.9', required: want_colord)
  cdata.set('HAVE_COLORD', colord_dep.found())
else
  colord_dep = []
endif

shared_module('printbackend-cups',
              'gtkprintbackendcups.c',
              'gtkprintercups.c',
              'gtkcupsutils.c',
              'gtkcupssecretsutils.c',
              c_args: [
                '-DGTK_COMPILATION',
                '-DGTK_DISABLE_DEPRECATION_WARNINGS',
                '-DGTK_PRINT_BACKEND_ENABLE_UNSUPPORTED',
              ],
              dependencies: [libgtk_dep, libcups, colord_dep],
              install_dir: printbackends_install_dir)