comparison mupdf-source/thirdparty/harfbuzz/util/meson.build @ 2:b50eed0cc0ef upstream

ADD: MuPDF v1.26.7: the MuPDF source as downloaded by a default build of PyMuPDF 1.26.4. The directory name has changed: no version number in the expanded directory now.
author Franz Glasner <fzglas.hg@dom66.de>
date Mon, 15 Sep 2025 11:43:07 +0200
parents
children
comparison
equal deleted inserted replaced
1:1d09e1dec1d9 2:b50eed0cc0ef
1 hb_view_sources = [
2 'hb-view.cc',
3 ]
4
5 hb_shape_sources = [
6 'hb-shape.cc',
7 ]
8
9 hb_ot_shape_closure_sources = [
10 'hb-ot-shape-closure.cc',
11 ]
12
13 hb_subset_cli_sources = [
14 'hb-subset.cc',
15 ]
16
17 util_deps = [freetype_dep, cairo_dep, cairo_ft_dep, glib_dep]
18
19 if conf.get('HAVE_GLIB', 0) == 1
20 if conf.get('HAVE_CAIRO', 0) == 1
21 hb_view = executable('hb-view', hb_view_sources,
22 cpp_args: cpp_args,
23 include_directories: [incconfig, incsrc],
24 dependencies: [util_deps, chafa_dep],
25 link_with: [libharfbuzz],
26 install: true,
27 )
28 endif
29
30 hb_shape = executable('hb-shape', hb_shape_sources,
31 cpp_args: cpp_args,
32 include_directories: [incconfig, incsrc],
33 dependencies: util_deps,
34 link_with: [libharfbuzz],
35 install: true,
36 )
37
38 hb_subset = executable('hb-subset', hb_subset_cli_sources,
39 cpp_args: cpp_args,
40 include_directories: [incconfig, incsrc],
41 dependencies: util_deps,
42 link_with: [libharfbuzz, libharfbuzz_subset],
43 install: true,
44 )
45
46 hb_ot_shape_closure = executable('hb-ot-shape-closure', hb_ot_shape_closure_sources,
47 cpp_args: cpp_args,
48 include_directories: [incconfig, incsrc],
49 dependencies: util_deps,
50 link_with: [libharfbuzz],
51 install: true,
52 )
53 else
54 # Disable tests that use this
55 hb_shape = disabler()
56 hb_subset = disabler()
57 endif