summaryrefslogtreecommitdiff
path: root/backend/tiff/meson.build
blob: b0eb52bfe4faadc9441910be2ee88210bec5ae35 (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
tiff_sources = [
    'tiff-document.c',
    'tiff-document.h',
    'tiff2ps.c',
    'tiff2ps.h',
]

tiff_deps = [
    cairo,
    glib,
    gtk,
    math,
    tiff,
]

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

custom_target(
    'tiff_backend',
    input: 'tiffdocument.atril-backend.desktop.in',
    output: 'tiffdocument.atril-backend',
    command: [intltool_merge, '-d', '-u', po_dir, '@INPUT@', '@OUTPUT@'],
    install: true,
    install_dir: backendsdir,
)