summaryrefslogtreecommitdiff
path: root/backend/dvi/meson.build
blob: 8b4d0ed03e776452052af1a3b3506afb9af94de7 (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
subdir('mdvi-lib')

dvi_sources = [
    'dvi-document.c',
    'dvi-document.h',
    'cairo-device.c',
    'cairo-device.h',
    'fonts.c',
    'fonts.h',
]

dvi_deps = [
    cairo,
    glib,
    gtk,
    libmdvi_dep,
    math,
    spectre,
    mdvi_deps,
]

shared_module(
    'dvidocument',
    dvi_sources,
    link_with: [libdocument],
    link_whole: libmdvi,
    c_args: mdvi_c_args,
    include_directories: include_dirs,
    dependencies: dvi_deps,
    install: true,
    install_dir: backendsdir,
)

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