Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 1 | DESCRIPTION = "FreeGLUT is a free-software/open-source alternative to the OpenGL \ |
| 2 | Utility Toolkit (GLUT) library" |
| 3 | LICENSE = "MIT" |
| 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=89c0b58a3e01ce3d8254c9f59e78adfb" |
| 5 | |
| 6 | SRC_URI = "https://sourceforge.net/projects/${BPN}/files/${BPN}/${PV}/${BPN}-${PV}.tar.gz" |
| 7 | SRC_URI[md5sum] = "cd5c670c1086358598a6d4a9d166949d" |
| 8 | SRC_URI[sha256sum] = "d4000e02102acaf259998c870e25214739d1f16f67f99cb35e4f46841399da68" |
| 9 | |
| 10 | inherit cmake features_check |
| 11 | |
| 12 | # depends on virtual/libx11, virtual/libgl |
| 13 | REQUIRED_DISTRO_FEATURES = "x11 opengl" |
| 14 | |
Andrew Geissler | bffdb3e | 2020-08-21 16:13:29 -0500 | [diff] [blame^] | 15 | # Do not use -fno-common, check back when upgrading to new version it might not be needed |
| 16 | CFLAGS += "-fcommon" |
| 17 | |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 18 | PROVIDES += "mesa-glut" |
| 19 | |
| 20 | DEPENDS = "virtual/libx11 libxmu libxi virtual/libgl libglu libxrandr" |