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:
WickedShell
2021-05-06 04:20:08 -07:00
committed by GitHub
parent 7072291467
commit c37a9c8328
2 changed files with 8 additions and 3 deletions
+1
View File
@@ -7,4 +7,5 @@ maintainers-logins = ["mosteo"]
[[external]]
kind = "system"
[external.origin."case(distribution)"]
"arch" = ["libx11"]
"debian|ubuntu" = ["libx11-dev"]
+7 -3
View File
@@ -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"