config BR2_PACKAGE_DAV1D
	bool "dav1d"
	depends on !BR2_STATIC_LIBS # dlfcn.h
	depends on BR2_TOOLCHAIN_HAS_THREADS # pthread
	help
	  dav1d is a new AV1 cross-platform decoder, open-source, and
	  focused on speed and correctness.

	  https://code.videolan.org/videolan/dav1d

comment "dav1d needs a toolchain w/ threads, dynamic library"
	depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS