config BR2_PACKAGE_V4L2LOOPBACK
	bool "v4l2loopback"
	depends on BR2_LINUX_KERNEL
	help
	  This module allows you to create "virtual video devices".
	  Normal (v4l2) applications will read these devices as if
	  they were ordinary video devices, but the video will not be
	  read from e.g. a capture card but instead it is generated by
	  another application.

	  https://github.com/umlaeute/v4l2loopback

if BR2_PACKAGE_V4L2LOOPBACK

config BR2_PACKAGE_V4L2LOOPBACK_UTILS
	bool "utils"
	depends on BR2_USE_MMU # bash
	select BR2_PACKAGE_BUSYBOX_SHOW_OTHERS # bash
	select BR2_PACKAGE_BASH # runtime dependency
	select BR2_PACKAGE_SUDO # runtime dependency
	help
	  Install applications to interact with v4l2-loopback devices
	  ("virtual video devices").  Currently there is only a single
	  command line utility: v4l2loopback-ctl: tool to set
	  framerate, format and timeout image.

endif

comment "v4l2loopback needs a Linux kernel to be built"
	depends on !BR2_LINUX_KERNEL