Config.in 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  1. config BR2_PACKAGE_WPEWEBKIT_ARCH_SUPPORTS
  2. bool
  3. # ARM needs BLX, so v5t+, BE completely untested so disabled
  4. default y if BR2_arm && !BR2_ARM_CPU_ARMV4
  5. default y if BR2_aarch64 || BR2_aarch64_be
  6. default y if BR2_i386 || BR2_x86_64
  7. # Disabled on MIPS big endian due to sigbus
  8. default y if BR2_mipsel || BR2_mips64el
  9. # Disabled on PowerPC pending runtime testing
  10. # RISC-V needs the g/imafd ISA.
  11. default y if BR2_riscv && BR2_RISCV_ISA_RVI \
  12. && BR2_RISCV_ISA_RVM && BR2_RISCV_ISA_RVA \
  13. && BR2_RISCV_ISA_RVF && BR2_RISCV_ISA_RVD
  14. # Disabled on SuperH because of segfault
  15. depends on BR2_USE_MMU # libglib2
  16. depends on BR2_TOOLCHAIN_HAS_SYNC_4
  17. depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # libgcrypt
  18. comment "wpewebkit needs a toolchain w/ C++, wchar, NPTL, dynamic library, gcc >= 10, host gcc >= 4.9"
  19. depends on BR2_PACKAGE_WPEWEBKIT_ARCH_SUPPORTS
  20. depends on !BR2_BINFMT_FLAT
  21. depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR \
  22. || !BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS \
  23. || !BR2_TOOLCHAIN_GCC_AT_LEAST_10 \
  24. || !BR2_HOST_GCC_AT_LEAST_4_9
  25. comment "wpewebkit needs an OpenGL ES w/ EGL-capable Wayland backend"
  26. depends on BR2_PACKAGE_WPEWEBKIT_ARCH_SUPPORTS
  27. depends on !BR2_BINFMT_FLAT
  28. depends on !BR2_PACKAGE_HAS_LIBGLES || !BR2_PACKAGE_HAS_LIBEGL \
  29. || !BR2_PACKAGE_HAS_LIBEGL_WAYLAND
  30. config BR2_PACKAGE_WPEWEBKIT
  31. bool "wpewebkit"
  32. depends on !BR2_STATIC_LIBS # wayland
  33. depends on !BR2_BINFMT_FLAT # icu
  34. depends on BR2_HOST_GCC_AT_LEAST_4_9 # icu, host-ruby
  35. depends on BR2_INSTALL_LIBSTDCPP # harfbuzz, icu
  36. depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
  37. depends on BR2_TOOLCHAIN_GCC_AT_LEAST_10
  38. depends on BR2_USE_WCHAR # icu, libsoup3
  39. depends on BR2_PACKAGE_HAS_LIBGLES # libepoxy
  40. depends on BR2_PACKAGE_HAS_LIBEGL # libepoxy
  41. depends on BR2_PACKAGE_HAS_LIBEGL_WAYLAND # wpebackend-fdo
  42. depends on BR2_PACKAGE_WPEWEBKIT_ARCH_SUPPORTS
  43. select BR2_PACKAGE_CAIRO
  44. select BR2_PACKAGE_CAIRO_PNG
  45. select BR2_PACKAGE_HARFBUZZ
  46. select BR2_PACKAGE_ICU
  47. select BR2_PACKAGE_JPEG
  48. select BR2_PACKAGE_LIBEPOXY
  49. select BR2_PACKAGE_LIBGCRYPT
  50. select BR2_PACKAGE_LIBPNG
  51. select BR2_PACKAGE_LIBSOUP3
  52. select BR2_PACKAGE_LIBTASN1
  53. select BR2_PACKAGE_LIBXSLT
  54. select BR2_PACKAGE_WAYLAND
  55. select BR2_PACKAGE_WAYLAND_PROTOCOLS
  56. select BR2_PACKAGE_WEBP
  57. select BR2_PACKAGE_WEBP_DEMUX
  58. select BR2_PACKAGE_WPEBACKEND_FDO
  59. help
  60. WPE (Web Platform for Embedded) port of the WebKit engine,
  61. to allow embedders to create simple and performant systems
  62. based on Web platform technologies.
  63. https://wpewebkit.org/
  64. if BR2_PACKAGE_WPEWEBKIT
  65. config BR2_PACKAGE_WPEWEBKIT_SANDBOX
  66. bool "sandboxing support"
  67. depends on BR2_PACKAGE_LIBSECCOMP_ARCH_SUPPORTS # libseccomp
  68. depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12 # libseccomp
  69. select BR2_PACKAGE_BUBBLEWRAP # runtime
  70. select BR2_PACKAGE_XDG_DBUS_PROXY # runtime
  71. select BR2_PACKAGE_LIBSECCOMP
  72. help
  73. Enable sandboxing of the processes used for network operation,
  74. disk asccess, and Web content rendering.
  75. comment "sandboxing supports needs a toolchain w/ headers >= 3.12"
  76. depends on BR2_PACKAGE_LIBSECCOMP_ARCH_SUPPORTS
  77. depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12
  78. config BR2_PACKAGE_WPEWEBKIT_MULTIMEDIA
  79. bool "multimedia support"
  80. select BR2_PACKAGE_GSTREAMER1
  81. select BR2_PACKAGE_GST1_PLUGINS_BAD
  82. select BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_DEBUGUTILS
  83. select BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_MPEGTSDEMUX
  84. select BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SUBENC
  85. select BR2_PACKAGE_GST1_PLUGINS_BASE
  86. select BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_ALSA
  87. select BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_APP
  88. select BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_AUDIOCONVERT
  89. select BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_AUDIORESAMPLE
  90. select BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_PLAYBACK
  91. select BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VIDEOCONVERTSCALE
  92. select BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VOLUME
  93. select BR2_PACKAGE_GST1_PLUGINS_GOOD
  94. select BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_AUDIOFX
  95. select BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_AUTODETECT
  96. select BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_ISOMP4
  97. select BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_MATROSKA
  98. select BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_RTSP
  99. select BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_VPX
  100. select BR2_PACKAGE_GST1_LIBAV
  101. help
  102. This option pulls in all of the required dependencies
  103. to enable multimedia (video/audio) support.
  104. if BR2_PACKAGE_WPEWEBKIT_MULTIMEDIA
  105. config BR2_PACKAGE_WPEWEBKIT_MEDIA_STREAM
  106. bool "media-stream support"
  107. select BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VIDEORATE
  108. help
  109. This option enables media-stream support.
  110. config BR2_PACKAGE_WPEWEBKIT_USE_GSTREAMER_GL
  111. bool "use gstreamer-gl"
  112. default y
  113. depends on BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_HAS_PLATFORM
  114. help
  115. Use the GStreamer GL elements for handling video content.
  116. This is recommended as it improves performance of video
  117. playback. In some target configurations incorrect rendering
  118. might be produced, and disabling this option may help.
  119. endif
  120. config BR2_PACKAGE_WPEWEBKIT_WEBDRIVER
  121. bool "WebDriver support"
  122. help
  123. Enable support for WebDriver. This will build and install the
  124. WebKitWebDriver program in the target.
  125. endif