config BR2_PACKAGE_MIRACLECAST
	bool "miraclecast"
	depends on BR2_PACKAGE_SYSTEMD
	depends on BR2_TOOLCHAIN_USES_GLIBC
	depends on BR2_USE_WCHAR # glib2
	depends on BR2_TOOLCHAIN_HAS_THREADS # glib2
	depends on BR2_USE_MMU # glib2
	select BR2_PACKAGE_LIBGLIB2
	select BR2_PACKAGE_GSTREAMER1
	select BR2_PACKAGE_READLINE
	select BR2_PACKAGE_SYSTEMD_KDBUS
	help
	  The MiracleCast project provides software to connect external
	  monitors to your system via Wifi. It is compatible to the
	  Wifi-Display specification also known as Miracast. MiracleCast
	  implements the Display-Source as well as Display-Sink side.

	  https://github.com/albfan/miraclecast

comment "miraclecast needs systemd and a glibc toolchain w/ threads and wchar"
	depends on BR2_USE_MMU
	depends on !BR2_TOOLCHAIN_USES_GLIBC || !BR2_USE_WCHAR \
		|| !BR2_TOOLCHAIN_HAS_THREADS || !BR2_PACKAGE_SYSTEMD
