config BR2_PACKAGE_LIBSHAIRPLAY
	bool "libshairplay"
	depends on BR2_TOOLCHAIN_HAS_THREADS
	depends on BR2_USE_MMU # avahi
	depends on !BR2_STATIC_LIBS # avahi
	select BR2_PACKAGE_AVAHI
	select BR2_PACKAGE_AVAHI_DAEMON
	select BR2_PACKAGE_AVAHI_LIBDNSSD_COMPATIBILITY # runtime
	help
	  libshairplay is a client library that emulates an airplay
	  server.

	  https://github.com/juhovh/shairplay

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