• Home
  • Raw
  • Download

Lines Matching +full:meson +full:- +full:version

2 …      command: [find_program('gen-hb-version.py'), meson.project_version(), '@OUTPUT@', '@INPUT@'],
3 input: 'hb-version.h.in',
4 output: 'hb-version.h',
6 install_dir: get_option('includedir') / meson.project_name())
8 # Base and default-included sources and headers
10 'hb-aat-layout-ankr-table.hh',
11 'hb-aat-layout-bsln-table.hh',
12 'hb-aat-layout-common.hh',
13 'hb-aat-layout-feat-table.hh',
14 'hb-aat-layout-just-table.hh',
15 'hb-aat-layout-kerx-table.hh',
16 'hb-aat-layout-morx-table.hh',
17 'hb-aat-layout-opbd-table.hh',
18 'hb-aat-layout-trak-table.hh',
19 'hb-aat-layout.cc',
20 'hb-aat-layout.hh',
21 'hb-aat-ltag-table.hh',
22 'hb-aat-map.cc',
23 'hb-aat-map.hh',
24 'hb-algs.hh',
25 'hb-array.hh',
26 'hb-atomic.hh',
27 'hb-bimap.hh',
28 'hb-bit-page.hh',
29 'hb-blob.cc',
30 'hb-blob.hh',
31 'hb-buffer-serialize.cc',
32 'hb-buffer-verify.cc',
33 'hb-buffer.cc',
34 'hb-buffer.hh',
35 'hb-cache.hh',
36 'hb-cff-interp-common.hh',
37 'hb-cff-interp-cs-common.hh',
38 'hb-cff-interp-dict-common.hh',
39 'hb-cff1-interp-cs.hh',
40 'hb-cff2-interp-cs.hh',
41 'hb-common.cc',
42 'hb-config.hh',
43 'hb-debug.hh',
44 'hb-dispatch.hh',
45 'hb-draw.cc',
46 'hb-draw.hh',
47 'hb-face.cc',
48 'hb-face.hh',
49 'hb-fallback-shape.cc',
50 'hb-font.cc',
51 'hb-font.hh',
52 'hb-iter.hh',
53 'hb-kern.hh',
54 'hb-machinery.hh',
55 'hb-map.cc',
56 'hb-map.hh',
57 'hb-meta.hh',
58 'hb-ms-feature-ranges.hh',
59 'hb-multimap.hh',
60 'hb-mutex.hh',
61 'hb-null.hh',
62 'hb-number.cc',
63 'hb-number.hh',
64 'hb-object.hh',
65 'hb-open-file.hh',
66 'hb-open-type.hh',
67 'hb-ot-cff-common.hh',
68 'hb-ot-cff1-std-str.hh',
69 'hb-ot-cff1-table.cc',
70 'hb-ot-cff1-table.hh',
71 'hb-ot-cff2-table.cc',
72 'hb-ot-cff2-table.hh',
73 'hb-ot-cmap-table.hh',
74 'hb-ot-color-cbdt-table.hh',
75 'hb-ot-color-colr-table.hh',
76 'hb-ot-color-cpal-table.hh',
77 'hb-ot-color-sbix-table.hh',
78 'hb-ot-color-svg-table.hh',
79 'hb-ot-color.cc',
80 'hb-ot-face-table-list.hh',
81 'hb-ot-face.cc',
82 'hb-ot-face.hh',
83 'hb-ot-font.cc',
84 'hb-ot-gasp-table.hh',
85 'hb-ot-glyf-table.hh',
86 'hb-ot-hdmx-table.hh',
87 'hb-ot-head-table.hh',
88 'hb-ot-hhea-table.hh',
89 'hb-ot-hmtx-table.hh',
90 'hb-ot-kern-table.hh',
91 'hb-ot-layout-base-table.hh',
92 'hb-ot-layout-common.hh',
93 'hb-ot-layout-gdef-table.hh',
94 'hb-ot-layout-gpos-table.hh',
95 'hb-ot-layout-gsub-table.hh',
97 'OT/glyf/glyf-helpers.hh',
99 'OT/glyf/path-builder.hh',
164 'hb-ot-layout-gsubgpos.hh',
165 'hb-ot-layout-jstf-table.hh',
166 'hb-ot-layout.cc',
167 'hb-ot-layout.hh',
168 'hb-ot-map.cc',
169 'hb-ot-map.hh',
170 'hb-ot-math-table.hh',
171 'hb-ot-math.cc',
172 'hb-ot-maxp-table.hh',
173 'hb-ot-meta-table.hh',
174 'hb-ot-meta.cc',
175 'hb-ot-metrics.cc',
176 'hb-ot-metrics.hh',
177 'hb-ot-name-language-static.hh',
178 'hb-ot-name-language.hh',
179 'hb-ot-name-table.hh',
180 'hb-ot-name.cc',
181 'hb-ot-os2-table.hh',
182 'hb-ot-os2-unicode-ranges.hh',
183 'hb-ot-post-macroman.hh',
184 'hb-ot-post-table.hh',
185 'hb-ot-shaper-arabic-fallback.hh',
186 'hb-ot-shaper-arabic-joining-list.hh',
187 'hb-ot-shaper-arabic-pua.hh',
188 'hb-ot-shaper-arabic-table.hh',
189 'hb-ot-shaper-arabic-win1256.hh',
190 'hb-ot-shaper-arabic.cc',
191 'hb-ot-shaper-arabic.hh',
192 'hb-ot-shaper-default.cc',
193 'hb-ot-shaper-hangul.cc',
194 'hb-ot-shaper-hebrew.cc',
195 'hb-ot-shaper-indic-table.cc',
196 'hb-ot-shaper-indic.cc',
197 'hb-ot-shaper-indic.hh',
198 'hb-ot-shaper-khmer.cc',
199 'hb-ot-shaper-myanmar.cc',
200 'hb-ot-shaper-syllabic.cc',
201 'hb-ot-shaper-syllabic.hh',
202 'hb-ot-shaper-thai.cc',
203 'hb-ot-shaper-use-table.hh',
204 'hb-ot-shaper-use.cc',
205 'hb-ot-shaper-vowel-constraints.cc',
206 'hb-ot-shaper-vowel-constraints.hh',
207 'hb-ot-shaper.hh',
208 'hb-ot-shape-fallback.cc',
209 'hb-ot-shape-fallback.hh',
210 'hb-ot-shape-normalize.cc',
211 'hb-ot-shape-normalize.hh',
212 'hb-ot-shape.cc',
213 'hb-ot-shape.hh',
214 'hb-ot-stat-table.hh',
215 'hb-ot-tag-table.hh',
216 'hb-ot-tag.cc',
217 'hb-ot-var-avar-table.hh',
218 'hb-ot-var-common.hh',
219 'hb-ot-var-fvar-table.hh',
220 'hb-ot-var-gvar-table.hh',
221 'hb-ot-var-hvar-table.hh',
222 'hb-ot-var-mvar-table.hh',
223 'hb-ot-var.cc',
224 'hb-ot-vorg-table.hh',
225 'hb-pool.hh',
226 'hb-sanitize.hh',
227 'hb-serialize.hh',
228 'hb-set-digest.hh',
229 'hb-set.cc',
230 'hb-set.hh',
231 'hb-shape-plan.cc',
232 'hb-shape-plan.hh',
233 'hb-shape.cc',
234 'hb-shaper-impl.hh',
235 'hb-shaper-list.hh',
236 'hb-shaper.cc',
237 'hb-shaper.hh',
238 'hb-static.cc',
239 'hb-string-array.hh',
240 'hb-style.cc',
241 'hb-ucd-table.hh',
242 'hb-ucd.cc',
243 'hb-unicode-emoji-table.hh',
244 'hb-unicode.cc',
245 'hb-unicode.hh',
246 'hb-utf.hh',
247 'hb-vector.hh',
252 'hb-buffer-deserialize-json.hh',
253 'hb-buffer-deserialize-text.hh',
254 'hb-number-parser.hh',
255 'hb-ot-shaper-indic-machine.hh',
256 'hb-ot-shaper-khmer-machine.hh',
257 'hb-ot-shaper-myanmar-machine.hh',
258 'hb-ot-shaper-use-machine.hh',
261 'hb-buffer-deserialize-json.rl',
262 'hb-buffer-deserialize-text.rl',
263 'hb-number-parser.rl',
264 'hb-ot-shaper-indic-machine.rl',
265 'hb-ot-shaper-khmer-machine.rl',
266 'hb-ot-shaper-myanmar-machine.rl',
267 'hb-ot-shaper-use-machine.rl',
271 'hb-aat-layout.h',
272 'hb-aat.h',
273 'hb-blob.h',
274 'hb-buffer.h',
275 'hb-common.h',
276 'hb-cplusplus.hh',
277 'hb-deprecated.h',
278 'hb-draw.h',
279 'hb-face.h',
280 'hb-font.h',
281 'hb-map.h',
282 'hb-ot-color.h',
283 'hb-ot-deprecated.h',
284 'hb-ot-font.h',
285 'hb-ot-layout.h',
286 'hb-ot-math.h',
287 'hb-ot-meta.h',
288 'hb-ot-metrics.h',
289 'hb-ot-name.h',
290 'hb-ot-shape.h',
291 'hb-ot-var.h',
292 'hb-ot.h',
293 'hb-set.h',
294 'hb-shape-plan.h',
295 'hb-shape.h',
296 'hb-style.h',
297 'hb-unicode.h',
304 hb_ft_sources = files('hb-ft.cc')
305 hb_ft_headers = files('hb-ft.h')
307 hb_glib_sources = files('hb-glib.cc')
308 hb_glib_headers = files('hb-glib.h')
310 hb_graphite2_sources = files('hb-graphite2.cc')
311 hb_graphite2_headers = files('hb-graphite2.h')
313 # System-dependent sources and headers
315 hb_coretext_sources = files('hb-coretext.cc')
316 hb_coretext_headers = files('hb-coretext.h')
318 hb_directwrite_sources = files('hb-directwrite.cc')
319 hb_directwrite_headers = files('hb-directwrite.h')
321 hb_gdi_sources = files('hb-gdi.cc')
322 hb_gdi_headers = files('hb-gdi.h')
324 hb_uniscribe_sources = files('hb-uniscribe.cc')
325 hb_uniscribe_headers = files('hb-uniscribe.h')
327 # Sources for libharfbuzz-gobject and libharfbuzz-icu
328 hb_icu_sources = files('hb-icu.cc')
329 hb_icu_headers = files('hb-icu.h')
331 # Sources for libharfbuzz-subset
333 'hb-number.cc',
334 'hb-number.hh',
335 'hb-ot-cff1-table.cc',
336 'hb-ot-cff2-table.cc',
337 'hb-static.cc',
338 'hb-subset-accelerator.hh',
339 'hb-subset-cff-common.cc',
340 'hb-subset-cff-common.hh',
341 'hb-subset-cff1.cc',
342 'hb-subset-cff1.hh',
343 'hb-subset-cff2.cc',
344 'hb-subset-cff2.hh',
345 'hb-subset-input.cc',
346 'hb-subset-input.hh',
347 'hb-subset-plan.cc',
348 'hb-subset-plan.hh',
349 'hb-subset-repacker.cc',
350 'graph/gsubgpos-context.cc',
351 'graph/gsubgpos-context.hh',
352 'graph/gsubgpos-graph.hh',
353 'graph/pairpos-graph.hh',
354 'graph/markbasepos-graph.hh',
355 'graph/coverage-graph.hh',
356 'graph/classdef-graph.hh',
357 'graph/split-helpers.hh',
358 'hb-subset.cc',
359 'hb-subset.hh',
363 'hb-subset.h',
364 'hb-subset-repacker.h'
368 'hb-gobject-structs.cc'
372 'hb-gobject.h',
373 'hb-gobject-structs.h',
376 ragel = find_program('ragel', version: '6.10', required: false)
383 if not meson.is_subproject()
387 ragel_helper = find_program('gen-ragel-artifacts.py')
394 command: [ragel_helper, ragel, '@OUTPUT@', meson.current_source_dir(), '@INPUT@'],
405 command: [find_program('gen-harfbuzzcc.py'),
406 '@OUTPUT@', meson.current_source_dir(), '@INPUT@'],
457 # hb-directwrite needs a C++ linker
479 hb_features_h = configure_file(input: 'hb-features.h.in',
480 output: 'hb-features.h',
483 install_dir: get_option('includedir') / meson.project_name())
485 # Base and default-included sources and headers
488 gen_def = find_program('gen-def.py')
492 harfbuzz_def_command_args += '--experimental-api'
501 version = '0.@0@.0'.format(hb_version_int) variable
506 extra_hb_cpp_args += '-DHB_DLL_EXPORT'
514 extra_hb_cpp_args += ['-DHB_CUSTOM_MALLOC']
515 hb_sources += 'failing-alloc.c'
516 hb_subset_sources += 'failing-alloc.c'
517 hb_icu_sources += 'failing-alloc.c'
518 hb_gobject_sources += 'failing-alloc.c'
528 version: version,
539 # harfbuzz-subset
540 harfbuzz_subset_def = custom_target('harfbuzz-subset.def',
543 output: 'harfbuzz-subset.def')
546 libharfbuzz_subset = library('harfbuzz-subset', hb_subset_sources,
552 version: version,
558 custom_target('harfbuzz-subset.cc',
560 output: 'harfbuzz-subset.cc',
562 command: [find_program('gen-harfbuzzcc.py'),
563 '@OUTPUT@', meson.current_source_dir(), '@INPUT@'],
577 'test-basics': 'test.cc',
578 'test-buffer-serialize': 'test-buffer-serialize.cc',
579 'test-ot-meta': 'test-ot-meta.cc',
580 'test-ot-name': 'test-ot-name.cc',
581 'test-ot-glyphname': 'test-ot-glyphname.cc',
582 'test-ot-gpos-size-params': 'test-gpos-size-params.cc',
583 'test-ot-gsub-would-substitute': 'test-gsub-would-substitute.cc',
584 'test-use-table': 'test-use-table.cc',
597 'test-algs': ['test-algs.cc', 'hb-static.cc'],
598 'test-array': ['test-array.cc'],
599 'test-iter': ['test-iter.cc', 'hb-static.cc'],
600 'test-machinery': ['test-machinery.cc', 'hb-static.cc'],
601 'test-map': ['test-map.cc', 'hb-static.cc'],
602 'test-multimap': ['test-multimap.cc', 'hb-static.cc'],
603 'test-number': ['test-number.cc', 'hb-number.cc'],
604 'test-ot-tag': ['hb-ot-tag.cc'],
605 'test-priority-queue': ['test-priority-queue.cc', 'hb-static.cc'],
606 'test-repacker': ['test-repacker.cc', 'hb-static.cc', 'graph/gsubgpos-context.cc'],
607 …'test-classdef-graph': ['graph/test-classdef-graph.cc', 'hb-static.cc', 'graph/gsubgpos-context.cc…
608 'test-set': ['test-set.cc', 'hb-static.cc'],
609 'test-serialize': ['test-serialize.cc', 'hb-static.cc'],
610 'test-unicode-ranges': ['test-unicode-ranges.cc'],
611 'test-vector': ['test-vector.cc', 'hb-static.cc'],
612 'test-bimap': ['test-bimap.cc', 'hb-static.cc'],
615 if cpp.get_argument_syntax() == 'msvc' and source.contains('hb-static.cc')
616 # TODO: MSVC doesn't like tests having hb-static.cc, fix them
621 cpp_args: cpp_args + ['-DMAIN', '-UNDEBUG'],
630 subdirs: [meson.project_name()],
631 version: meson.project_version(),
636 requires: ['harfbuzz = @0@'.format(meson.project_version())],
637 subdirs: [meson.project_name()],
638 version: meson.project_version(),
643 harfbuzz_icu_def = custom_target('harfbuzz-icu.def',
646 output: 'harfbuzz-icu.def')
649 libharfbuzz_icu = library('harfbuzz-icu', [hb_icu_sources, hb_icu_headers],
655 version: version,
669 requires: ['harfbuzz = @0@'.format(meson.project_version())],
670 subdirs: [meson.project_name()],
671 version: meson.project_version(),
674 install_headers(hb_icu_headers, subdir: meson.project_name())
684 configure_file(input: 'harfbuzz-config.cmake.in',
685 output: 'harfbuzz-config.cmake',
695 input: 'hb-gobject-enums.h.tmpl',
696 output: 'hb-gobject-enums-tmp.h.tmpl',
700 input: 'hb-gobject-enums.cc.tmpl',
701 output: 'hb-gobject-enums-tmp.cc.tmpl',
704 enums = gnome.mkenums('hb-gobject',
712 enum_c = custom_target('hb-gobject-enums.cc',
714 output: 'hb-gobject-enums.cc',
718 enum_h = custom_target('hb-gobject-enums.h',
720 output: 'hb-gobject-enums.h',
723 install_dir: get_option('prefix') / get_option('includedir') / meson.project_name(),
728 harfbuzz_gobject_def = custom_target('harfbuzz-gobject.def',
731 output: 'harfbuzz-gobject.def')
734 libharfbuzz_gobject = library('harfbuzz-gobject', [hb_gobject_sources, enum_c, enum_h],
740 version: version,
746 gir = find_program('g-ir-scanner', required: get_option('introspection'))
747 build_gir = gir.found() and (not meson.is_cross_build() or get_option('introspection').enabled())
763 includes: ['GObject-2.0', 'freetype2-2.0'],
764 export_packages: ['harfbuzz-gobject'],
765 header: 'hb-gobject.h',
767 extra_args: ['--cflags-begin',
768 '-DHB_NO_SINGLE_HEADER_ERROR',
769 '-DHAVE_GOBJECT',
770 '-DHB_EXTERN=',
771 '--cflags-end'])
782 requires: ['harfbuzz = @0@'.format(meson.project_version()), 'glib-2.0', 'gobject-2.0'],
783 subdirs: [meson.project_name()],
784 version: meson.project_version(),
787 install_headers(hb_gobject_headers, subdir: meson.project_name())
796 'check-c-linkage-decls',
797 'check-externs',
798 'check-header-guards',
799 'check-includes',
803 env.set('srcdir', meson.current_source_dir())
804 env.set('base_srcdir', meson.source_root())
805 env.set('builddir', meson.current_build_dir())
806 …env.set('libs', meson.current_build_dir()) # TODO: Merge this with builddir after autotools removal
818 …if cpp.get_argument_syntax() != 'msvc' and not meson.is_cross_build() # ensure the local tools are…
819 dist_check_script += ['check-libstdc++', 'check-static-inits', 'check-symbols']
825 depends: name == 'check-symbols' ? defs_list : [],
831 install_headers(hb_headers + hb_subset_headers, subdir: meson.project_name())