Config.in 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. config BR2_PACKAGE_QT5WEBENGINE_ARCH_SUPPORTS
  2. bool
  3. default y if BR2_aarch64 || BR2_arm || \
  4. BR2_i386 || BR2_x86_64 || \
  5. BR2_mips || BR2_mips64
  6. # -m32 flag is used for 32bit builds and host tools have
  7. # limited architecture support
  8. depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
  9. depends on BR2_PACKAGE_QT5_JSCORE_AVAILABLE # qt5declarative
  10. depends on !BR2_BINFMT_FLAT # qt5base-icu
  11. depends on BR2_USE_MMU # libglib2, qt5base-dbus
  12. comment "qt5webengine needs udev /dev management and a glibc toolchain w/ gcc >= 4.8, host gcc >= 4.8, threads, wchar"
  13. depends on BR2_PACKAGE_QT5WEBENGINE_ARCH_SUPPORTS
  14. depends on !BR2_PACKAGE_HAS_UDEV || !BR2_TOOLCHAIN_USES_GLIBC || \
  15. !BR2_HOST_GCC_AT_LEAST_4_8 || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 || \
  16. !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR
  17. comment "qt5webengine needs an OpenGL and EGL-capable backend"
  18. depends on BR2_PACKAGE_QT5WEBENGINE_ARCH_SUPPORTS
  19. depends on !BR2_PACKAGE_QT5_GL_AVAILABLE || !BR2_PACKAGE_HAS_LIBEGL
  20. config BR2_PACKAGE_QT5WEBENGINE
  21. bool "qt5webengine"
  22. depends on BR2_PACKAGE_QT5WEBENGINE_ARCH_SUPPORTS
  23. depends on BR2_TOOLCHAIN_USES_GLIBC # execinfo.h, mallinfo
  24. depends on BR2_HOST_GCC_AT_LEAST_4_8 # qt5base-icu
  25. depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # qt5base-icu
  26. depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2, libvpx, qt5base-dbus
  27. depends on BR2_USE_WCHAR # libglib2
  28. depends on BR2_PACKAGE_QT5_GL_AVAILABLE # qt5declarative, qt5base-eglfs
  29. depends on BR2_PACKAGE_HAS_LIBEGL # qt5base-eglfs
  30. depends on BR2_PACKAGE_HAS_UDEV
  31. # v8 (a chromium 3rd-party) compiles its internal host-tools with the
  32. # same word size as the target. For 32-bits targets, it adds the -m32
  33. # flag (for 64-bits, it adds the -m64 flag).
  34. # https://github.com/v8/v8/blob/5.6.326.55/gypfiles/toolchain.gypi#L1036-L1037
  35. select BR2_HOSTARCH_NEEDS_IA32_COMPILER if !BR2_ARCH_IS_64 # v8/chromium
  36. select BR2_PACKAGE_FFMPEG
  37. select BR2_PACKAGE_LIBGLIB2
  38. select BR2_PACKAGE_LIBVPX
  39. select BR2_PACKAGE_OPUS
  40. select BR2_PACKAGE_WEBP
  41. select BR2_PACKAGE_WEBP_DEMUX
  42. select BR2_PACKAGE_QT5BASE_DBUS
  43. select BR2_PACKAGE_QT5BASE_EGLFS
  44. select BR2_PACKAGE_QT5BASE_FONTCONFIG
  45. select BR2_PACKAGE_QT5BASE_ICU
  46. select BR2_PACKAGE_QT5BASE_GUI
  47. select BR2_PACKAGE_QT5BASE_WIDGETS
  48. select BR2_PACKAGE_QT5DECLARATIVE
  49. select BR2_PACKAGE_QT5DECLARATIVE_QUICK
  50. select BR2_PACKAGE_QT5QUICKCONTROLS
  51. select BR2_PACKAGE_QT5QUICKCONTROLS2
  52. select BR2_PACKAGE_QT5WEBCHANNEL
  53. select BR2_PACKAGE_XLIB_LIBXCOMPOSITE if BR2_PACKAGE_QT5BASE_XCB
  54. select BR2_PACKAGE_XLIB_LIBXCURSOR if BR2_PACKAGE_QT5BASE_XCB
  55. select BR2_PACKAGE_XLIB_LIBXI if BR2_PACKAGE_QT5BASE_XCB
  56. select BR2_PACKAGE_XLIB_LIBXRANDR if BR2_PACKAGE_QT5BASE_XCB
  57. select BR2_PACKAGE_XLIB_LIBXSCRNSAVER if BR2_PACKAGE_QT5BASE_XCB
  58. select BR2_PACKAGE_XLIB_LIBXTST if BR2_PACKAGE_QT5BASE_XCB
  59. help
  60. The Qt WebEngine module provides a web browser engine that
  61. makes it easy to embed content from the World Wide Web into
  62. your Qt application.
  63. Qt WebEngine provides C++ classes and QML types for rendering
  64. HTML, XHTML, and SVG documents, styled using Cascading Style
  65. Sheets (CSS) and scripted with JavaScript. HTML documents can
  66. be made fully editable by the user through the use of the
  67. contenteditable attribute on HTML elements.
  68. http://doc.qt.io/qt-5/qtwebengine-index.html
  69. if BR2_PACKAGE_QT5WEBENGINE
  70. config BR2_PACKAGE_QT5WEBENGINE_PROPRIETARY_CODECS
  71. bool "proprietary codecs"
  72. help
  73. Qt WebEngine supports the MPEG-4 Part 14 (MP4) file format,
  74. which includes required proprietary audio and video codecs,
  75. such as H.264 and MPEG layer-3 (MP3).
  76. endif