From b39a04f2ba5d98fe3e926ec5ef5018c6126b31b6 Mon Sep 17 00:00:00 2001 From: Fabien Chouteau Date: Tue, 7 May 2024 16:46:44 +0200 Subject: [PATCH] Raylib 1.0.0 --- index/ra/raylib/raylib-1.0.0.toml | 35 +++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 index/ra/raylib/raylib-1.0.0.toml diff --git a/index/ra/raylib/raylib-1.0.0.toml b/index/ra/raylib/raylib-1.0.0.toml new file mode 100644 index 000000000..af7a4f868 --- /dev/null +++ b/index/ra/raylib/raylib-1.0.0.toml @@ -0,0 +1,35 @@ +name = "raylib" +description = "Ada bindings for Raylib" +version = "1.0.0" + +authors = ["Fabien Chouteau"] +maintainers = ["Fabien Chouteau "] +maintainers-logins = ["Fabien-Chouteau"] +licenses = "MIT OR Apache-2.0 WITH LLVM-exception" +website = "" +tags = ["raylib", "gamedev", "binding"] + +[[actions]] +type = "pre-build" +command = ["sh", "scripts/build_raylib.sh"] + +[environment] +LIBRARY_PATH.append = "${CRATE_ROOT}/build-raylib/raylib/" + +[[depends-on]] +gnat = ">=12 & <2000" +make = "*" +cmake = "*" + +[depends-on.'case(os)'.'linux|macos'] +libx11 = "^1" +libxrandr = "^1" +libxinerama = "^1" +libxcursor = "^1" + +[configuration.variables] +ENABLE_RAYLIB_BUILD = { type = "Boolean", default = true} + +[origin] +commit = "4d933d89d9ace79466e8ee7a9fe6ffa383279cb5" +url = "git+https://github.com/Fabien-Chouteau/raylib-ada.git"