config BR2_PACKAGE_LIBFREEGLUT
	bool "libfreeglut"
	depends on BR2_PACKAGE_HAS_LIBGL
	depends on BR2_PACKAGE_XORG7
	select BR2_PACKAGE_LIBGLU
	select BR2_PACKAGE_XLIB_LIBXI
	select BR2_PACKAGE_XLIB_LIBXRANDR
	select BR2_PACKAGE_XLIB_LIBXXF86VM
	help
	  FreeGLUT is a free-software/open-source alternative to the
	  OpenGL Utility Toolkit (GLUT) library. GLUT (and hence
	  FreeGLUT) takes care of all the system-specific chores
	  required for creating windows, initializing OpenGL contexts,
	  and handling input events, to allow for trully portable OpenGL
	  programs.

	  http://freeglut.sourceforge.net

comment "libfreeglut depends on X.org and needs an OpenGL backend"
	depends on !BR2_PACKAGE_XORG7 || !BR2_PACKAGE_HAS_LIBGL
