blob: 6ef9f74c70aed41358f5059cde49d751ba60112f [file] [log] [blame]
Andrew Geissler82c905d2020-04-13 13:39:40 -05001DESCRIPTION = "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
Andrew Geisslerbffdb3e2020-08-21 16:13:29 -050015# Do not use -fno-common, check back when upgrading to new version it might not be needed
16CFLAGS += "-fcommon"
17
Andrew Geissler82c905d2020-04-13 13:39:40 -050018PROVIDES += "mesa-glut"
19
20DEPENDS = "virtual/libx11 libxmu libxi virtual/libgl libglu libxrandr"