Openglada: Correct libx11 version (#276)
* Openglada: Correct libx11 version * Index x11 on Arch * Fix openglada 0.6 dependencies * Set windowing system on Windows/macOS * Fix gnat dependency to all platforms Co-authored-by: Alejandro R. Mosteo <amosteo@unizar.es>
This commit is contained in:
@@ -7,4 +7,5 @@ maintainers-logins = ["mosteo"]
|
||||
[[external]]
|
||||
kind = "system"
|
||||
[external.origin."case(distribution)"]
|
||||
"arch" = ["libx11"]
|
||||
"debian|ubuntu" = ["libx11-dev"]
|
||||
|
||||
@@ -10,16 +10,20 @@ maintainers-logins = ["flyx"]
|
||||
project-files = ["opengl.gpr", "opengl-glfw.gpr", "opengl-soil.gpr", "opengl-test.gpr"]
|
||||
|
||||
[[depends-on]]
|
||||
gnat = "<8"
|
||||
[depends-on."case(os)".linux]
|
||||
libglfw3 = "^3"
|
||||
libx11 = "^2"
|
||||
libx11 = "^1"
|
||||
|
||||
[gpr-externals]
|
||||
Auto_Exceptions = ["enabled", "disabled"]
|
||||
GLFW_Version = ["2", "3"]
|
||||
Mode = ["debug", "release"]
|
||||
[gpr-set-externals."case(os)".linux]
|
||||
Windowing_System = "x11"
|
||||
|
||||
[gpr-set-externals."case(os)"]
|
||||
linux = { Windowing_System = "x11" }
|
||||
macos = { Windowing_System = "quartz" }
|
||||
windows = { Windowing_System = "windows" }
|
||||
|
||||
[origin]
|
||||
url = "https://github.com/flyx/OpenGLAda/archive/v0.6.tar.gz"
|
||||
|
||||
Reference in New Issue
Block a user