config BR2_PACKAGE_LIBPLAYER
	bool "libplayer"
	depends on BR2_TOOLCHAIN_HAS_THREADS
	help
	  libplayer provides a generic A/V API that relies on various
	  multimedia player for Linux systems. It currently supports
	  MPlayer, xine VLC and GStreamer only

	  http://libplayer.geexbox.org/

if BR2_PACKAGE_LIBPLAYER

config BR2_PACKAGE_LIBPLAYER_GSTREAMER
	bool "gstreamer backend"
	depends on BR2_USE_WCHAR # glib2
	depends on BR2_TOOLCHAIN_HAS_THREADS # glib2
	depends on BR2_USE_MMU # glib2
	depends on !BR2_STATIC_LIBS # gstreamer
	select BR2_PACKAGE_GSTREAMER

comment "gstreamer backend needs a toolchain w/ wchar, threads, dynamic library"
	depends on BR2_USE_MMU
	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
		BR2_STATIC_LIBS
endif

comment "libplayer needs a toolchain w/ threads"
	depends on !BR2_TOOLCHAIN_HAS_THREADS
