2019-02-05 21:41:52 +01:00
|
|
|
comment "cog needs wpewebkit and a toolchain w/ threads"
|
|
|
|
depends on BR2_USE_MMU
|
|
|
|
depends on !BR2_PACKAGE_WPEWEBKIT || !BR2_TOOLCHAIN_HAS_THREADS
|
|
|
|
|
|
|
|
config BR2_PACKAGE_COG
|
|
|
|
bool "cog"
|
|
|
|
depends on BR2_PACKAGE_WPEWEBKIT
|
|
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS # dbus
|
|
|
|
depends on BR2_USE_MMU # dbus
|
|
|
|
select BR2_PACKAGE_DBUS
|
2020-04-06 19:42:04 +02:00
|
|
|
select BR2_PACKAGE_WAYLAND
|
2019-02-05 21:41:52 +01:00
|
|
|
help
|
|
|
|
Single "window" launcher for the WebKit WPE port, and
|
|
|
|
helper library for implementing WPE launcher. It does
|
|
|
|
not provide any chrome, and is suitable to be used
|
|
|
|
as a Web application container.
|
|
|
|
|
2019-11-26 13:34:56 +01:00
|
|
|
https://github.com/Igalia/cog
|
|
|
|
|
2019-02-05 21:41:52 +01:00
|
|
|
if BR2_PACKAGE_COG
|
|
|
|
|
|
|
|
config BR2_PACKAGE_COG_PROGRAMS_HOME_URI
|
|
|
|
string "home uri"
|
|
|
|
default "https://wpewebkit.org"
|
|
|
|
help
|
|
|
|
Default URI to open when "cog" is launched. If an empty
|
|
|
|
string is used, there is no default and the URI to open
|
|
|
|
must be always specified in the command line.
|
|
|
|
|
2020-04-06 19:42:05 +02:00
|
|
|
config BR2_PACKAGE_COG_PLATFORM_FDO
|
2021-11-24 22:21:01 +01:00
|
|
|
bool "Wayland backend"
|
2020-04-06 19:42:05 +02:00
|
|
|
default y
|
|
|
|
select BR2_PACKAGE_LIBXKBCOMMON
|
|
|
|
select BR2_PACKAGE_WAYLAND_PROTOCOLS
|
|
|
|
help
|
2021-11-24 22:21:01 +01:00
|
|
|
Enable the Wayland backend. Cog will interface with
|
2020-04-06 19:42:05 +02:00
|
|
|
a compositor over the Wayland protocol.
|
|
|
|
|
|
|
|
config BR2_PACKAGE_COG_PLATFORM_DRM
|
|
|
|
bool "DRM backend"
|
|
|
|
depends on BR2_PACKAGE_HAS_UDEV # libinput
|
2022-07-22 09:01:50 +02:00
|
|
|
depends on BR2_PACKAGE_HAS_LIBEGL
|
|
|
|
depends on BR2_PACKAGE_HAS_LIBGBM
|
2022-07-27 10:19:53 +02:00
|
|
|
depends on BR2_PACKAGE_LIBGBM_HAS_FEATURE_DMA_BUF
|
|
|
|
depends on BR2_PACKAGE_LIBGBM_HAS_FEATURE_FORMAT_MODIFIER_PLANE_COUNT
|
2020-04-06 19:42:05 +02:00
|
|
|
select BR2_PACKAGE_LIBDRM
|
|
|
|
select BR2_PACKAGE_LIBINPUT
|
|
|
|
help
|
|
|
|
Enable the DRM platform backend. Cog will interface directly
|
|
|
|
with video drivers that support kernel mode-setting (KMS)
|
|
|
|
via the DRM user-space API.
|
|
|
|
|
2021-03-16 10:47:27 +01:00
|
|
|
config BR2_PACKAGE_COG_USE_SYSTEM_DBUS
|
|
|
|
bool "expose system D-Bus control interface"
|
|
|
|
help
|
|
|
|
Expose remote control interface on system bus
|
|
|
|
|
2022-07-22 09:01:50 +02:00
|
|
|
comment "DRM platform needs EGL and GBM"
|
|
|
|
depends on \
|
|
|
|
!BR2_PACKAGE_HAS_LIBEGL || \
|
2022-07-27 10:19:53 +02:00
|
|
|
!BR2_PACKAGE_HAS_LIBGBM || \
|
|
|
|
!BR2_PACKAGE_LIBGBM_HAS_FEATURE_DMA_BUF || \
|
|
|
|
!BR2_PACKAGE_LIBGBM_HAS_FEATURE_FORMAT_MODIFIER_PLANE_COUNT
|
2020-04-06 19:42:05 +02:00
|
|
|
|
2019-02-05 21:41:52 +01:00
|
|
|
endif
|