menuconfig BR2_PACKAGE_GST1_PLUGINS_BAYER2RGB_NEON
	bool "gst1-plugins-bayer2rgb-neon"
	depends on (BR2_arm && BR2_ARM_CPU_HAS_NEON) || BR2_aarch64 # bayer2rgb-neon
	depends on !BR2_STATIC_LIBS # bayer2rgb-neon
	depends on BR2_INSTALL_LIBSTDCPP # bayer2rgb-neon
	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # bayer2rgb-neon
	select BR2_PACKAGE_GST1_PLUGINS_BASE
	select BR2_PACKAGE_BAYER2RGB_NEON
	help
	  gst1-plugins-bayer2rgb-neon is a gstreamer1
	  plugin which uses bayer2rgb-neon library to
	  decode raw camera bayer to RGB using
	  NEON hardware acceleration.

	  https://gitlab-ext.sigma-chemnitz.de/ensc/gst-bayer2rgb-neon

comment "gst1-plugins-bayer2rgb-neon needs a toolchain w/ C++, dynamic library, gcc >= 4.9"
	depends on BR2_arm && BR2_ARM_CPU_HAS_NEON
	depends on BR2_STATIC_LIBS || !BR2_INSTALL_LIBSTDCPP || \
		!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
