Config.in 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. comment "cog needs wpewebkit and a toolchain w/ threads"
  2. depends on BR2_USE_MMU
  3. depends on !BR2_PACKAGE_WPEWEBKIT || !BR2_TOOLCHAIN_HAS_THREADS
  4. config BR2_PACKAGE_COG
  5. bool "cog"
  6. depends on BR2_PACKAGE_WPEWEBKIT
  7. depends on BR2_TOOLCHAIN_HAS_THREADS # dbus
  8. depends on BR2_USE_MMU # dbus
  9. select BR2_PACKAGE_DBUS
  10. select BR2_PACKAGE_WAYLAND
  11. help
  12. Single "window" launcher for the WebKit WPE port, and
  13. helper library for implementing WPE launcher. It does
  14. not provide any chrome, and is suitable to be used
  15. as a Web application container.
  16. https://github.com/Igalia/cog
  17. if BR2_PACKAGE_COG
  18. config BR2_PACKAGE_COG_PROGRAMS_HOME_URI
  19. string "home uri"
  20. default "https://wpewebkit.org"
  21. help
  22. Default URI to open when "cog" is launched. If an empty
  23. string is used, there is no default and the URI to open
  24. must be always specified in the command line.
  25. config BR2_PACKAGE_COG_PLATFORM_FDO
  26. bool "Wayland backend"
  27. default y
  28. select BR2_PACKAGE_LIBXKBCOMMON
  29. select BR2_PACKAGE_WAYLAND_PROTOCOLS
  30. help
  31. Enable the Wayland backend. Cog will interface with
  32. a compositor over the Wayland protocol.
  33. config BR2_PACKAGE_COG_PLATFORM_DRM
  34. bool "DRM backend"
  35. depends on BR2_PACKAGE_HAS_UDEV # libinput
  36. depends on BR2_PACKAGE_HAS_LIBEGL
  37. depends on BR2_PACKAGE_HAS_LIBGBM
  38. depends on BR2_PACKAGE_LIBGBM_HAS_FEATURE_DMA_BUF
  39. depends on BR2_PACKAGE_LIBGBM_HAS_FEATURE_FORMAT_MODIFIER_PLANE_COUNT
  40. select BR2_PACKAGE_LIBDRM
  41. select BR2_PACKAGE_LIBINPUT
  42. help
  43. Enable the DRM platform backend. Cog will interface directly
  44. with video drivers that support kernel mode-setting (KMS)
  45. via the DRM user-space API.
  46. config BR2_PACKAGE_COG_USE_SYSTEM_DBUS
  47. bool "expose system D-Bus control interface"
  48. help
  49. Expose remote control interface on system bus
  50. comment "DRM platform needs EGL and GBM"
  51. depends on \
  52. !BR2_PACKAGE_HAS_LIBEGL || \
  53. !BR2_PACKAGE_HAS_LIBGBM || \
  54. !BR2_PACKAGE_LIBGBM_HAS_FEATURE_DMA_BUF || \
  55. !BR2_PACKAGE_LIBGBM_HAS_FEATURE_FORMAT_MODIFIER_PLANE_COUNT
  56. endif