xref: /OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-graphics/freeglut/freeglut_3.2.1.bb (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1DESCRIPTION = "FreeGLUT is a free-software/open-source alternative to the OpenGL \
2               Utility Toolkit (GLUT) library"
3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://COPYING;md5=89c0b58a3e01ce3d8254c9f59e78adfb"
5
6SRC_URI = "https://sourceforge.net/projects/${BPN}/files/${BPN}/${PV}/${BPN}-${PV}.tar.gz"
7SRC_URI[md5sum] = "cd5c670c1086358598a6d4a9d166949d"
8SRC_URI[sha256sum] = "d4000e02102acaf259998c870e25214739d1f16f67f99cb35e4f46841399da68"
9
10inherit cmake features_check
11
12# depends on virtual/libx11, virtual/libgl
13REQUIRED_DISTRO_FEATURES = "x11 opengl"
14
15# Do not use -fno-common, check back when upgrading to new version it might not be needed
16CFLAGS += "-fcommon"
17
18PROVIDES += "mesa-glut"
19
20DEPENDS = "virtual/libx11 libxmu libxi virtual/libgl libglu libxrandr"
21