config BR2_PACKAGE_XSCREENSAVER
	bool "xscreensaver"
	depends on BR2_PACKAGE_XORG7
	depends on BR2_PACKAGE_HAS_LIBGL # libglu
	depends on BR2_PACKAGE_HOST_RUSTC_ARCH_SUPPORTS # libgtk3
	depends on BR2_USE_WCHAR # libgtk3, libglib2
	depends on BR2_TOOLCHAIN_HAS_THREADS # libgtk3, libglib2
	depends on BR2_USE_MMU # libgtk3, libglib2
	depends on BR2_INSTALL_LIBSTDCPP # libgtk3
	depends on BR2_TOOLCHAIN_HAS_SYNC_4 # libgtk3
	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libgtk3
	select BR2_PACKAGE_GDK_PIXBUF
	select BR2_PACKAGE_LIBGLU
	select BR2_PACKAGE_LIBGTK3
	select BR2_PACKAGE_LIBXCRYPT if BR2_TOOLCHAIN_USES_GLIBC
	select BR2_PACKAGE_LIBXML2
	select BR2_PACKAGE_JPEG
	select BR2_PACKAGE_XLIB_LIBX11
	select BR2_PACKAGE_XLIB_LIBXFT
	select BR2_PACKAGE_XLIB_LIBXI
	select BR2_PACKAGE_XLIB_LIBXT
	help
	  XScreenSaver is the standard screen saver collection shipped
	  on most Linux and Unix systems running the X11 Window
	  System.

	  On X11 systems, XScreenSaver is two things: it is both a
	  large collection of screen savers; and it is also the
	  framework for blanking and locking the screen.

	  http://www.jwz.org/xscreensaver/

comment "xscreensaver needs a toolchain w/ wchar, C++, threads, gcc >= 4.9, OpenGL backend"
	depends on BR2_PACKAGE_XORG7
	depends on BR2_PACKAGE_HOST_RUSTC_ARCH_SUPPORTS
	depends on BR2_USE_MMU
	depends on BR2_TOOLCHAIN_HAS_SYNC_4
	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \
		!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || \
		!BR2_USE_WCHAR || !BR2_PACKAGE_HAS_LIBGL
