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