diff mbox series

[meta-oe,2/2] webkitgtk3: add PACKAGECONFIG for librice

Message ID 20260611100836.603126-2-f_l_k@t-online.de
State Under Review
Headers show
Series [meta-oe,1/2] librice: add recipe | expand

Commit Message

Markus Volk June 11, 2026, 10:08 a.m. UTC
webkitgtk3 enables librice support by default, thus build fails.
Add a PACKAGECONFIG for librice to handle this but disable by
default to not change our dependencies. librice requires clang-native
to build bindgen.

todo: enable this PACKAGECONFIG by default?

- add missing 'flite' dependency
| -- The following Flite libraries were not found:
| --  flite (required)
| --  flite_usenglish (required)
| --  flite_cmu_grapheme_lang (required)
| --  flite_cmu_grapheme_lex (required)
| --  flite_cmu_indic_lang (required)
| --  flite_cmu_indic_lex (required)
| --  flite_cmulex (required)
| --  flite_cmu_time_awb (required)
| --  flite_cmu_us_awb (required)
| --  flite_cmu_us_kal16 (required)
| --  flite_cmu_us_kal (required)
| --  flite_cmu_us_rms (required)
| --  flite_cmu_us_slt (required)
| -- Could NOT find Flite (missing: Flite_INCLUDE_DIR Flite_LIBRARY) (Required is at least version "2.2")

Signed-off-by: Markus Volk <f_l_k@t-online.de>
---
 meta-oe/recipes-support/webkitgtk/webkitgtk3_2.52.4.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/meta-oe/recipes-support/webkitgtk/webkitgtk3_2.52.4.bb b/meta-oe/recipes-support/webkitgtk/webkitgtk3_2.52.4.bb
index 4486450595..7daaf2583a 100644
--- a/meta-oe/recipes-support/webkitgtk/webkitgtk3_2.52.4.bb
+++ b/meta-oe/recipes-support/webkitgtk/webkitgtk3_2.52.4.bb
@@ -37,6 +37,7 @@  DEPENDS += " \
           gperf-native \
           unifdef-native \
           cairo \
+          flite \
           harfbuzz \
           jpeg \
           atk \
@@ -87,7 +88,7 @@  PACKAGECONFIG[webrtc] = "-DENABLE_WEB_RTC=ON,-DENABLE_WEB_RTC=OFF"
 PACKAGECONFIG[bubblewrap] = "-DENABLE_BUBBLEWRAP_SANDBOX=ON -DBWRAP_EXECUTABLE=${bindir}/bwrap -DDBUS_PROXY_EXECUTABLE=${bindir}/xdg-dbus-proxy,-DENABLE_BUBBLEWRAP_SANDBOX=OFF,,bubblewrap xdg-dbus-proxy"
 PACKAGECONFIG[backtrace] = "-DUSE_LIBBACKTRACE=ON,-DUSE_LIBBACKTRACE=OFF,libbacktrace"
 PACKAGECONFIG[sysprof-capture] = "-DUSE_SYSTEM_SYSPROF_CAPTURE=YES,-DUSE_SYSTEM_SYSPROF_CAPTURE=NO,sysprof"
-PACKAGECONFIG[speech] = "-DENABLE_SPEECH_SYNTHESIS=ON,-DENABLE_SPEECH_SYNTHESIS=OFF,flite"
+PACKAGECONFIG[librice] = "-DUSE_LIBRICE=YES,-DUSE_LIBRICE=NO,librice flite"
 
 EXTRA_OECMAKE = " \
 	-DPORT=GTK \