|
|
@ -18,6 +18,7 @@ package("raylib") |
|
|
|
add_versions("4.0.0", "be73734815a7ef4eb3130f4a2ecaabb2059602745ae6ce1173201a74034c2ec9") |
|
|
|
add_versions("4.0.0", "be73734815a7ef4eb3130f4a2ecaabb2059602745ae6ce1173201a74034c2ec9") |
|
|
|
add_versions("4.2.0", "5f79c103b82c577698b01c7b2c166d0c2b51615886b7fabdc671199f0aaf4b38") |
|
|
|
add_versions("4.2.0", "5f79c103b82c577698b01c7b2c166d0c2b51615886b7fabdc671199f0aaf4b38") |
|
|
|
add_versions("4.5.0", "63deb87ffc32e5eb2023ba763aaea2cb5f41bd37bbc07760651efe251bd76f3d") |
|
|
|
add_versions("4.5.0", "63deb87ffc32e5eb2023ba763aaea2cb5f41bd37bbc07760651efe251bd76f3d") |
|
|
|
|
|
|
|
add_versions("5.0", "48e477d3dde2e20220572c9f93a332c48cf378fc1e1f205454b975180085565c") |
|
|
|
else |
|
|
|
else |
|
|
|
add_urls("https://github.com/raysan5/raylib/archive/$(version).tar.gz", |
|
|
|
add_urls("https://github.com/raysan5/raylib/archive/$(version).tar.gz", |
|
|
|
"https://github.com/raysan5/raylib.git") |
|
|
|
"https://github.com/raysan5/raylib.git") |
|
|
@ -28,6 +29,7 @@ package("raylib") |
|
|
|
add_versions("4.0.0", "11f6087dc7bedf9efb3f69c0c872f637e421d914e5ecea99bbe7781f173dc38c") |
|
|
|
add_versions("4.0.0", "11f6087dc7bedf9efb3f69c0c872f637e421d914e5ecea99bbe7781f173dc38c") |
|
|
|
add_versions("4.2.0", "676217604a5830cb4aa31e0ede0e4233c942e2fc5c206691bded58ebcd82a590") |
|
|
|
add_versions("4.2.0", "676217604a5830cb4aa31e0ede0e4233c942e2fc5c206691bded58ebcd82a590") |
|
|
|
add_versions("4.5.0", "163378604f2293ea5ebf3238f50c8926addde72d1a6bc8998ac2e96074ba8af8") |
|
|
|
add_versions("4.5.0", "163378604f2293ea5ebf3238f50c8926addde72d1a6bc8998ac2e96074ba8af8") |
|
|
|
|
|
|
|
add_versions("5.0", "98f049b9ea2a9c40a14e4e543eeea1a7ec3090ebdcd329c4ca2cf98bc9793482") |
|
|
|
end |
|
|
|
end |
|
|
|
|
|
|
|
|
|
|
|
if not (is_plat("macosx") and is_arch("x86_64")) then |
|
|
|
if not (is_plat("macosx") and is_arch("x86_64")) then |
|
|
@ -61,5 +63,5 @@ package("raylib") |
|
|
|
void test() { |
|
|
|
void test() { |
|
|
|
InitWindow(100, 100, "hello world!"); |
|
|
|
InitWindow(100, 100, "hello world!"); |
|
|
|
} |
|
|
|
} |
|
|
|
]]}, {includes = {"raylib.h"}})) |
|
|
|
]]}, {includes = {"raylib.h"}, configs = {languages = "cxx11"}})) |
|
|
|
end) |
|
|
|
end) |
|
|
|