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