2
1

Config.in 3.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  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_LIBNSS if !BR2_PACKAGE_QT5_VERSION_5_6
  39. select BR2_PACKAGE_LIBVPX
  40. select BR2_PACKAGE_OPUS
  41. select BR2_PACKAGE_WEBP
  42. select BR2_PACKAGE_WEBP_DEMUX
  43. select BR2_PACKAGE_QT5BASE_DBUS
  44. select BR2_PACKAGE_QT5BASE_EGLFS
  45. select BR2_PACKAGE_QT5BASE_FONTCONFIG
  46. select BR2_PACKAGE_QT5BASE_ICU
  47. select BR2_PACKAGE_QT5BASE_GUI
  48. select BR2_PACKAGE_QT5BASE_WIDGETS
  49. select BR2_PACKAGE_QT5DECLARATIVE
  50. select BR2_PACKAGE_QT5DECLARATIVE_QUICK
  51. select BR2_PACKAGE_QT5QUICKCONTROLS
  52. select BR2_PACKAGE_QT5QUICKCONTROLS2
  53. select BR2_PACKAGE_QT5WEBCHANNEL
  54. select BR2_PACKAGE_XLIB_LIBXCOMPOSITE if BR2_PACKAGE_QT5BASE_XCB
  55. select BR2_PACKAGE_XLIB_LIBXCURSOR if BR2_PACKAGE_QT5BASE_XCB
  56. select BR2_PACKAGE_XLIB_LIBXI if BR2_PACKAGE_QT5BASE_XCB
  57. select BR2_PACKAGE_XLIB_LIBXRANDR if BR2_PACKAGE_QT5BASE_XCB
  58. select BR2_PACKAGE_XLIB_LIBXSCRNSAVER if BR2_PACKAGE_QT5BASE_XCB
  59. select BR2_PACKAGE_XLIB_LIBXTST if BR2_PACKAGE_QT5BASE_XCB
  60. help
  61. The Qt WebEngine module provides a web browser engine that
  62. makes it easy to embed content from the World Wide Web into
  63. your Qt application.
  64. Qt WebEngine provides C++ classes and QML types for rendering
  65. HTML, XHTML, and SVG documents, styled using Cascading Style
  66. Sheets (CSS) and scripted with JavaScript. HTML documents can
  67. be made fully editable by the user through the use of the
  68. contenteditable attribute on HTML elements.
  69. http://doc.qt.io/qt-5/qtwebengine-index.html
  70. if BR2_PACKAGE_QT5WEBENGINE
  71. config BR2_PACKAGE_QT5WEBENGINE_PROPRIETARY_CODECS
  72. bool "proprietary codecs"
  73. help
  74. Qt WebEngine supports the MPEG-4 Part 14 (MP4) file format,
  75. which includes required proprietary audio and video codecs,
  76. such as H.264 and MPEG layer-3 (MP3).
  77. config BR2_PACKAGE_QT5WEBENGINE_ALSA
  78. bool "alsa"
  79. select BR2_PACKAGE_ALSA_LIB
  80. select BR2_PACKAGE_ALSA_LIB_MIXER
  81. select BR2_PACKAGE_ALSA_LIB_RAWMIDI
  82. select BR2_PACKAGE_ALSA_LIB_HWDEP
  83. select BR2_PACKAGE_ALSA_LIB_SEQ
  84. help
  85. Enable ALSA support.
  86. endif