Browse Source

meson: text_renderer: add harfbuzz support

pull/169/head
Marvin Scholz 2 years ago
committed by Jean-Baptiste Kempf
parent
commit
e10ccd76fa
  1. 8
      meson_options.txt
  2. 7
      modules/text_renderer/meson.build

8
meson_options.txt

@ -638,7 +638,12 @@ option('fontconfig',
option('fribidi',
type: 'feature',
value: 'auto',
description: 'Fribidi support for bidirectional text and complex scripts (Arabic, Farsi, Thai...)')
description: 'Fribidi support')
option('harfbuzz',
type: 'feature',
value: 'auto',
description: 'Harfbuzz support')
# TODO: Missing live555
# TODO: Missing v4l2
@ -656,7 +661,6 @@ option('fribidi',
# TODO: Missing tremor
# TODO: Missing x26410b
# TODO: Missing vdpau
# TODO: Missing harfbuzz
# TODO: Missing directx
# TODO: Missing kva
# TODO: Missing mmal

7
modules/text_renderer/meson.build

@ -48,6 +48,13 @@ if fribidi_dep.found()
freetype_deps += fribidi_dep
endif
harfbuzz_dep = dependency('harfbuzz', required: get_option('harfbuzz'))
if harfbuzz_dep.found()
freetype_cargs += '-DHAVE_HARFBUZZ'
freetype_deps += harfbuzz_dep
endif
vlc_modules += {
'name' : 'freetype',
'sources' : freetype_srcs,

Loading…
Cancel
Save