config BR2_PACKAGE_LIBOPENH264_ARCH_SUPPORTS
	bool
	default y if BR2_arm || BR2_armeb || BR2_aarch64 || BR2_i386 || \
		BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el || \
		BR2_x86_64

config BR2_PACKAGE_LIBOPENH264
	bool "libopenh264"
	depends on BR2_INSTALL_LIBSTDCPP
	depends on !BR2_STATIC_LIBS
	depends on BR2_TOOLCHAIN_HAS_THREADS
	depends on BR2_PACKAGE_LIBOPENH264_ARCH_SUPPORTS
	help
	  OpenH264 is a codec library which supports H.264 encoding and
	  decoding.

	  http://www.openh264.org

comment "libopenh264 needs a toolchain w/ C++, dynamic library, threads"
	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \
		BR2_STATIC_LIBS
	depends on BR2_PACKAGE_LIBOPENH264_ARCH_SUPPORTS
