summaryrefslogtreecommitdiff
path: root/backend/djvu/meson.build
blob: 011503e371f13dd0f73d3cf3fd8dcc8396f9ff04 (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
djvu_sources = [
    'djvu-document.c',
    'djvu-document.h',
    'djvu-document-private.h',
    'djvu-links.c',
    'djvu-links.h',
    'djvu-text-page.c',
    'djvu-text-page.h',
]

djvu_deps = [
    cairo,
    djvu,
    glib,
    gtk
]

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

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