Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 1 | SUMMARY = "OpenGL Mathematics Library" |
| 2 | DESCRIPTION = "OpenGL Mathematics (GLM) is a header only C++ \ |
| 3 | mathematics library for graphics software based on the OpenGL \ |
| 4 | Shading Language (GLSL) specifications." |
| 5 | HOMEPAGE = "https://glm.g-truc.net" |
| 6 | BUGTRACKER = "https://github.com/g-truc/glm/issues" |
| 7 | |
| 8 | SECTION = "libs" |
| 9 | |
| 10 | LICENSE = "MIT" |
| 11 | LIC_FILES_CHKSUM = "file://readme.md;beginline=21;endline=22;md5=3075b5727d36f29edccf97b93e72b790" |
| 12 | |
| 13 | SRC_URI = " \ |
| 14 | git://github.com/g-truc/glm;branch=master \ |
| 15 | file://0001-Make-GLM_ENABLE_EXPERIMENTAL-a-configurable-option.patch \ |
| 16 | file://0002-glm-install-headers-only.patch \ |
| 17 | " |
| 18 | SRCREV = "fcbedf5058ef8613dd02aac62ef00d55dcfeadd7" |
| 19 | S = "${WORKDIR}/git" |
| 20 | |
| 21 | inherit cmake |
| 22 | |
| 23 | EXTRA_OECMAKE = "-DGLM_ENABLE_EXPERIMENTAL=ON" |
| 24 | |
| 25 | FILES_${PN}-dev += "${libdir}/cmake" |
| 26 | RDEPENDS_${PN}-dev = "" |
| 27 | |
| 28 | BBCLASSEXTEND = "native" |