Files
alire-index-community/index/alire-index-openglada.ads
T
2018-04-30 10:52:43 +02:00

54 lines
2.0 KiB
Ada

with Alire.Index.Libglfw3;
with Alire.Index.LibX11;
package Alire.Index.OpenGLAda is
function Project is
new Catalogued_Project ("Thick Ada binding for OpenGL and GLFW");
Prj_Repo : constant URL := "https://github.com/flyx/OpenGLAda.git";
Prj_Author : constant String := "Felix Krause <contact@flyx.org>";
Prj_Website : constant URL := "http://flyx.github.io/OpenGLAda/";
V_0_6 : constant Release :=
Project.Register
(V ("0.6"),
Git (Prj_Repo, "54a7a50cebab2cba0262c7f59b927e9ddf6e4649"),
Dependencies =>
On_Condition
(Operating_System = GNU_Linux,
Libglfw3.V_3.Within_Major And
LibX11.V_2.Within_Major),
Properties =>
Project_File ("opengl.gpr") and
Project_File ("opengl-glfw.gpr") and
Project_File ("opengl-soil.gpr") and
Project_File ("opengl-test.gpr") and
GPR_Scenario ("GLFW_Version", "2" or "3") and
GPR_Scenario ("Mode", "debug" or "release") and
GPR_Scenario ("Auto_Exceptions", "enabled" or "disabled") and
Executable ("gl_test-opengl3") and
Executable ("gl_test-context") and
Executable ("gl_test-vbos") and
Executable ("gl_test-shaders") and
Executable ("gl_test-framebuffers") and
Executable ("gl_test-immediate") and
Author (Prj_Author) and
Website (Prj_Website) and
License (MIT),
Private_Properties =>
On_Condition
(Operating_System = GNU_Linux, GPR_External ("Windowing_System", "x11")),
Available_When =>
Operating_System = GNU_Linux
);
end Alire.Index.OpenGLAda;