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 <[email protected]>
---
 meta-oe/recipes-support/webkitgtk/webkitgtk3_2.52.4.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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 \
-- 
2.54.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#127524): 
https://lists.openembedded.org/g/openembedded-devel/message/127524
Mute This Topic: https://lists.openembedded.org/mt/119754116/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to