diff options
| -rw-r--r-- | meta-oe/recipes-graphics/freeglut/freeglut_3.4.0.bb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/meta-oe/recipes-graphics/freeglut/freeglut_3.4.0.bb b/meta-oe/recipes-graphics/freeglut/freeglut_3.4.0.bb index 069f0f43f6..13f3d111fe 100644 --- a/meta-oe/recipes-graphics/freeglut/freeglut_3.4.0.bb +++ b/meta-oe/recipes-graphics/freeglut/freeglut_3.4.0.bb | |||
| @@ -1,9 +1,10 @@ | |||
| 1 | DESCRIPTION = "FreeGLUT is a free-software/open-source alternative to the OpenGL \ | 1 | DESCRIPTION = "FreeGLUT is a free-software/open-source alternative to the OpenGL \ |
| 2 | Utility Toolkit (GLUT) library" | 2 | Utility Toolkit (GLUT) library" |
| 3 | HOMEPAGE = "https://freeglut.sourceforge.net" | ||
| 3 | LICENSE = "MIT" | 4 | LICENSE = "MIT" |
| 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=89c0b58a3e01ce3d8254c9f59e78adfb" | 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=89c0b58a3e01ce3d8254c9f59e78adfb" |
| 5 | 6 | ||
| 6 | SRC_URI = "https://sourceforge.net/projects/${BPN}/files/${BPN}/${PV}/${BPN}-${PV}.tar.gz" | 7 | SRC_URI = "https://github.com/${BPN}/${BPN}/releases/download/v${PV}/${BPN}-${PV}.tar.gz" |
| 7 | SRC_URI[sha256sum] = "3c0bcb915d9b180a97edaebd011b7a1de54583a838644dcd42bb0ea0c6f3eaec" | 8 | SRC_URI[sha256sum] = "3c0bcb915d9b180a97edaebd011b7a1de54583a838644dcd42bb0ea0c6f3eaec" |
| 8 | 9 | ||
| 9 | inherit cmake features_check pkgconfig | 10 | inherit cmake features_check pkgconfig |
| @@ -26,6 +27,9 @@ PROVIDES += "mesa-glut" | |||
| 26 | 27 | ||
| 27 | DEPENDS = "virtual/libgl libxi" | 28 | DEPENDS = "virtual/libgl libxi" |
| 28 | 29 | ||
| 30 | UPSTREAM_CHECK_REGEX = "releases/tag/v(?P<pver>\d+(\.\d+)+)" | ||
| 31 | UPSTREAM_CHECK_URI = "https://github.com/${BPN}/${BPN}/releases" | ||
| 32 | |||
| 29 | do_install:append() { | 33 | do_install:append() { |
| 30 | # Remove buildpaths | 34 | # Remove buildpaths |
| 31 | sed -i "s#${RECIPE_SYSROOT}##g" ${D}${libdir}/cmake/FreeGLUT/FreeGLUTTargets.cmake | 35 | sed -i "s#${RECIPE_SYSROOT}##g" ${D}${libdir}/cmake/FreeGLUT/FreeGLUTTargets.cmake |
