|
|
|
@ -1,14 +1,16 @@ |
|
|
|
|
package("glad") |
|
|
|
|
|
|
|
|
|
set_homepage("https://glad.dav1d.de/") |
|
|
|
|
set_description("Multi-Language Vulkan/GL/GLES/EGL/GLX/WGL Loader-Generator based on the official specs.") |
|
|
|
|
set_license("MIT") |
|
|
|
|
|
|
|
|
|
add_urls("https://github.com/Dav1dde/glad/archive/$(version).tar.gz", |
|
|
|
|
"https://github.com/Dav1dde/glad.git") |
|
|
|
|
|
|
|
|
|
add_versions("v0.1.34", "4be2900ff76ac71a2aab7a8be301eb4c0338491c7e205693435b09aad4969ecd") |
|
|
|
|
add_versions("v0.1.36", "8470ed1b0e9fbe88e10c34770505c8a1dc8ccb78cadcf673331aaf5224f963d2") |
|
|
|
|
|
|
|
|
|
add_patches("0.1.36", "https://github.com/Dav1dde/glad/commit/59797224a66efc354da07d135fcf4b752b20d787.patch", "09cc8ca403fdf2f2d170c18174bae0a1a6cc7d045b25aecd9cb1dc3ecae0aa2c") |
|
|
|
|
|
|
|
|
|
if is_plat("linux") then |
|
|
|
|
add_syslinks("dl") |
|
|
|
|
end |
|
|
|
|