DESCRIPTION = "FreeGLUT is a free-software/open-source alternative to the OpenGL \
               Utility Toolkit (GLUT) library"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://COPYING;md5=89c0b58a3e01ce3d8254c9f59e78adfb"

SRC_URI = "https://sourceforge.net/projects/${BPN}/files/${BPN}/${PV}/${BPN}-${PV}.tar.gz"
SRC_URI[md5sum] = "90c3ca4dd9d51cf32276bc5344ec9754"
SRC_URI[sha256sum] = "2a43be8515b01ea82bcfa17d29ae0d40bd128342f0930cd1f375f1ff999f76a2"

inherit cmake distro_features_check

# depends on virtual/libx11
REQUIRED_DISTRO_FEATURES = "x11"

PROVIDES += "mesa-glut"

DEPENDS = "virtual/libx11 libxmu libxi virtual/libgl libglu libxrandr"

Add a recipe freeglut to replace mesa-glut
freeglut: Add a recipe freeglut to replace mesa-glut

FreeGLUT is a free-software/open-source alternative to the OpenGL
Utility Toolkit (GLUT) library.
More information about this library can be found in
http://freeglut.sourceforge.net/

Signed-off-by: Neena Busireddy <89c7bbd1a0110eb6b54559a554f50b9531c47883@nxp.com>
Signed-off-by: Martin Jansa <516df3ff67e1fa5d153800b15fb204c0a1a389dc@gmail.com>
