comment "cage needs udev, mesa3d w/ EGL and GLES support"
	depends on !BR2_PACKAGE_MESA3D_OPENGL_EGL || \
		!BR2_PACKAGE_MESA3D_OPENGL_ES || \
		!BR2_PACKAGE_HAS_UDEV

comment "cage needs a toolchain w/ threads, locale, dynamic library"
	depends on !BR2_TOOLCHAIN_HAS_THREADS || \
		!BR2_ENABLE_LOCALE || \
		BR2_STATIC_LIBS

config BR2_PACKAGE_CAGE
	bool "cage"
	depends on !BR2_STATIC_LIBS # wlroots
	depends on BR2_TOOLCHAIN_HAS_THREADS # wlroots
	depends on BR2_ENABLE_LOCALE # wlroots
	depends on BR2_PACKAGE_HAS_UDEV # wlroots
	depends on BR2_PACKAGE_MESA3D_OPENGL_EGL # wlroots
	depends on BR2_PACKAGE_MESA3D_OPENGL_ES # wlroots
	select BR2_PACKAGE_WLROOTS
	help
	  Kiosk compositor for Wayland, which displays a single
	  maximized application at a time.

	  https://www.hjdskes.nl/projects/cage/
