SDLAda-2.5.5 release (#705)
* SDLAda-2.5.5 release Latest revision update to 2.5.5. * Fix the package names and distribution. * Fix the package names and distribution. * Remove the depends stuff to see if it builds without it, can always come back. * Try again to get at least debian based oses to compile with the correct depends. * Fix type, missing ticks. * AMove the available distributions section to before actions. * Another attempt to get this right. * Final attempt, remove all that depends-on stuff, think that's for other crates. Add external hints for the various oses. * Remove all other OSes from external bar debian and ubuntu. * Add a hint. * Remove the external stuff. I give up on trying to get this thing to depend on the C libs, for now. * Finally back on track? Removed all the old external/depends-on stuff. * Finally back on track? Removed all the old external/depends-on stuff. * Temporary fix to get around CI/CD until I can sort out a fix. * Add fix for msys2. Co-authored-by: Alejandro R. Mosteo <amosteo@unizar.es>
This commit is contained in:
@@ -0,0 +1,48 @@
|
|||||||
|
name = "sdlada"
|
||||||
|
description = "Ada 2012 SDL 2.x bindings."
|
||||||
|
version = "2.5.5"
|
||||||
|
|
||||||
|
authors = ["Luke A. Guest"]
|
||||||
|
maintainers = ["Luke A. Guest <laguest@archeia.com>"]
|
||||||
|
maintainers-logins = ["Lucretia"]
|
||||||
|
licenses = "Zlib"
|
||||||
|
website = "https://github.com/Lucretia/sdlada"
|
||||||
|
tags = ["gamedev", "games", "portable", "cross-platform"]
|
||||||
|
|
||||||
|
# project-files = ["build/gnat/tools.gpr", "build/gnat/sdlada.gpr"] #, "build/gnat/"]
|
||||||
|
project-files = ["build/gnat/sdlada.gpr"] #, "build/gnat/"]
|
||||||
|
|
||||||
|
[available.'case(distribution)']
|
||||||
|
"..." = true
|
||||||
|
|
||||||
|
[gpr-externals]
|
||||||
|
SDL_PLATFORM = ["linux", "bsd", "windows", "macosx", "macos_homebrew", "ios", "android"]
|
||||||
|
SDL_MODE = ["debug", "release"]
|
||||||
|
|
||||||
|
[gpr-set-externals]
|
||||||
|
BUILD_MODE = "release"
|
||||||
|
|
||||||
|
[gpr-set-externals.'case(os)']
|
||||||
|
linux = { SDL_PLATFORM = "linux" }
|
||||||
|
windows = { SDL_PLATFORM = "windows" }
|
||||||
|
macos = { SDL_PLATFORM = "macos_homebrew" }
|
||||||
|
|
||||||
|
[[actions]]
|
||||||
|
type = "pre-build"
|
||||||
|
command = ["make", "-C", "./build/gnat", "tools"]
|
||||||
|
|
||||||
|
[[depends-on]]
|
||||||
|
libsdl2 = "^2.0.0"
|
||||||
|
libsdl2_ttf = "^2.0.0"
|
||||||
|
libsdl2_image = "^2.0.0"
|
||||||
|
make = "*" # Required for post-fetch actions
|
||||||
|
|
||||||
|
[environment.'case(distribution)'.msys2.C_INCLUDE_PATH]
|
||||||
|
# sdlada expects SDL2 headers to be in the C_INCLUDE_PATH but the option
|
||||||
|
# used in the project file ("-I/usr/include/SDL2") doesn't work with msys2
|
||||||
|
append = "${DISTRIB_ROOT}/mingw64/include/SDL2"
|
||||||
|
|
||||||
|
[origin]
|
||||||
|
commit = "429c594de613c5ba2f0d7c59f8708956697e14f1"
|
||||||
|
url = "git+https://github.com/Lucretia/sdlada.git"
|
||||||
|
|
||||||
Reference in New Issue
Block a user