diff --git a/index/li/libraylib/libraylib-external.toml b/index/li/libraylib/libraylib-external.toml new file mode 100644 index 00000000..60f7d2c0 --- /dev/null +++ b/index/li/libraylib/libraylib-external.toml @@ -0,0 +1,12 @@ +description = "Simple and easy-to-use game programming library" +name = "libraylib" + +maintainers = ["chouteau@adacore.com"] +maintainers-logins = ["Fabien-Chouteau"] + +[[external]] +kind = "system" +[external.origin."case(distribution)"] +"arch|homebrew|macports" = ["raylib"] +"fedora" = ["raylib-devel"] +"msys2" = ["mingw-w64-x86_64-raylib"] 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 00000000..69d47812 --- /dev/null +++ b/index/ra/raylib/raylib-1.0.0.toml @@ -0,0 +1,28 @@ +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" +libraylib = "^5" + +[configuration.variables] +ENABLE_RAYLIB_BUILD = { type = "Boolean", default = false} + +[origin] +commit = "4d933d89d9ace79466e8ee7a9fe6ffa383279cb5" +url = "git+https://github.com/Fabien-Chouteau/raylib-ada.git"