config BR2_PACKAGE_X265
	bool "x265"
	depends on BR2_INSTALL_LIBSTDCPP
	depends on BR2_TOOLCHAIN_HAS_THREADS
	depends on !BR2_STATIC_LIBS # dlfcn
	depends on BR2_TOOLCHAIN_HAS_SYNC_4
	help
	  x265 is an open source free software and library for
	  encoding video using the High Efficiency Video Coding
	  (HEVC/H.265) standard. x265 is offered under either the GNU
	  General Public License (GPL) 2 license or a commercial
	  license, similar to the x264 project.

	  https://bitbucket.org/multicoreware/x265/wiki/Home

if BR2_PACKAGE_X265

config BR2_PACKAGE_X265_CLI
	bool "CLI"
	help
	  Command-line tool to encode video streams into the
	  H.265/HEVC compression format.

endif

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