summaryrefslogtreecommitdiff
path: root/backend/xps/meson.build
blob: 3dfc45e077f0b50cfb6f24068dc99186af279750 (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
xps_sources = [
    'xps-document.c',
    'xps-document.h',
]

xps_deps = [
    cairo,
    glib,
    gtk,
    xps,
]

shared_module(
    'xpsdocument',
    xps_sources,
    link_with: [libdocument],
    link_args: ['-Wl,-Bsymbolic', '-Wl,-z,relro', '-Wl,-z,now'],
    include_directories: include_dirs,
    dependencies: xps_deps,
    install: true,
    install_dir: backendsdir,
)

i18n.merge_file(
  input: 'xpsdocument.atril-backend.desktop.in',
  output: 'xpsdocument.atril-backend',
  type: 'desktop',
  po_dir: po_dir,
  install: true,
  install_dir: backendsdir,
)