config BR2_PACKAGE_HPLIP
	bool "hplip"
	# because of cups security issues
	depends on BR2_DEPRECATED_SINCE_2015_05
	depends on BR2_INSTALL_LIBSTDCPP
	depends on BR2_PACKAGE_CUPS
	depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
	select BR2_PACKAGE_LIBUSB
	select BR2_PACKAGE_JPEG
	help
	  HP Linux Imaging and Printing (HPLIP)
	  HPLIP is an HP-developed solution for printing, scanning, and faxing
	  with HP inkjet and laser based printers in Linux. The HPLIP project
	  provides printing support for 2,211 printer models, including
	  Deskjet, Officejet, Photosmart, PSC (Print Scan Copy), Business
	  Inkjet, LaserJet, Edgeline MFP, and LaserJet MFP.

	  http://hplipopensource.com/

comment "hplip needs a toolchain w/ C++, threads"
	depends on BR2_PACKAGE_CUPS
	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
