blob: 627ce2354456b5a5fa4aa5df4deaf881eb77a1ff [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"
Patrick Williams2194f502022-10-16 14:26:09 -05007SRC_URI[sha256sum] = "3c0bcb915d9b180a97edaebd011b7a1de54583a838644dcd42bb0ea0c6f3eaec"
Andrew Geissler82c905d2020-04-13 13:39:40 -05008
9inherit cmake features_check
10
11# depends on virtual/libx11, virtual/libgl
12REQUIRED_DISTRO_FEATURES = "x11 opengl"
13
Andrew Geisslerbffdb3e2020-08-21 16:13:29 -050014# Do not use -fno-common, check back when upgrading to new version it might not be needed
15CFLAGS += "-fcommon"
16
Andrew Geissler82c905d2020-04-13 13:39:40 -050017PROVIDES += "mesa-glut"
18
19DEPENDS = "virtual/libx11 libxmu libxi virtual/libgl libglu libxrandr"