config BR2_PACKAGE_LIBSIGROKDECODE
	bool "libsigrokdecode"
	depends on BR2_USE_WCHAR # libglib2/python3
	depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2/python3
	depends on BR2_USE_MMU # libglib2/python3
	depends on !BR2_STATIC_LIBS # python3
	select BR2_PACKAGE_LIBGLIB2
	select BR2_PACKAGE_PYTHON3
	select BR2_PACKAGE_PYTHON3_ZLIB  # runtime
	help
	  Libsigrokdecode is a shared library written in C, which
	  provides (streaming) protocol decoding functionality. Say
	  yes here if you want to add this functionality to your
	  buildroot-generated sigrok suite.

	  This library is a part of the sigrok software suite.

	  http://sigrok.org/wiki/Libsigrokdecode

comment "libsigrokdecode 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
