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
42
43
44
45
46
47
48
49
|
backend_desktop_conf = configuration_data()
backend_desktop_conf.set('COMICS_MIME_TYPES', comic_mimetypes)
backend_desktop = configure_file(
input: 'comicsdocument.atril-backend.in',
output: 'comicsdocument.atril-backend',
configuration: backend_desktop_conf,
install: true,
install_dir: backendsdir,
)
comics_sources = files(
'comics-document.c',
'ev-archive.c',
)
comics_deps = [
cairo,
glib,
gtk,
libarchive_dep,
]
shared_module(
'comicsdocument',
comics_sources,
link_with: [libdocument],
link_args: ['-Wl,-Bsymbolic', '-Wl,-z,relro', '-Wl,-z,now'],
include_directories: include_dirs,
dependencies: comics_deps,
install: true,
install_dir: backendsdir
)
test_name = 'test-ev-archive'
test_sources = files(
'ev-archive.c',
'test-ev-archive.c',
)
executable(
test_name,
test_sources,
include_directories: include_dirs,
dependencies: comics_deps,
)
|