+ adacurses, gtkada, eagle lander, steamsky

This commit is contained in:
Alejandro R Mosteo
2018-03-08 17:17:26 +01:00
parent a676dcb9eb
commit 601155b54e
6 changed files with 139 additions and 28 deletions
Vendored
+1 -1
+46
View File
@@ -0,0 +1,46 @@
with Alire.Index.NcursesAda;
package Alire.Index.Adacurses is
Name : constant String := "adacurses";
Desc : constant String := "Wrapper on different packagings of NcursesAda";
Repo : constant String := "https://github.com/alire-project/adacurses-wrapper.git";
Comments : constant Conditional.Properties :=
Comment ("AdaCurses is the project name used by upstream, thus adacurses.gpr") and
Comment ("However, some distros (e.g., Debian family) use ncursesada.gpr") and
Comment ("This package wraps these differences so clients can always safely use adacurses");
V_6 : constant Release :=
Register (Name,
V ("6.0+20170708-2"),
Desc,
Git (Repo, "4ccb20409becb50c0b5fd29effb676b650608326"),
Dependencies =>
On_Condition
(Distribution_Is (Debian) or Distribution_Is (Ubuntu),
When_True => When_Available (Within_Major (NcursesAda.V_5)),
When_False => Unavailable),
Properties =>
Comments
);
V_5_9 : constant Release :=
Register (Name,
V ("5.9+20140726-1build1"),
Desc,
Git (Repo, "4ccb20409becb50c0b5fd29effb676b650608326"),
Dependencies =>
On_Condition
(Distribution_Is (Debian) or Distribution_Is (Ubuntu),
When_True => When_Available (Within_Major (NcursesAda.V_3)),
When_False => Unavailable),
Properties =>
Comments
);
end Alire.Index.Adacurses;
+32
View File
@@ -0,0 +1,32 @@
with Alire.Index.GtkAda;
package Alire.Index.Eagle_Lander is
Prj_Name : constant Project_Name := "eagle_lander";
Prj_Desc : constant Project_Description := "Apollo 11 lunar lander simulator (Ada/Gtk/Cairo)";
Prj_Repo : constant URL := "https://github.com/alire-project/eagle-lander.git";
Prj_Author : constant String := "Fabien Chouteau";
Prj_Website : constant URL := "https://blog.adacore.com/make-with-ada-the-eagle-has-landed";
V_1_0 : constant Release :=
Register (Prj_Name,
V ("1.0"),
Prj_Desc,
Git (Prj_Repo, "5a3bcc61eff4d60d2b741add7841410ce539d0b8"),
Dependencies =>
Within_Major (Alire.Index.GtkAda.V_16_1),
Properties =>
Project_File ("lunar_lander.gpr") and
Author (Prj_Author) and
Website (Prj_Website) and
License (GPL_3_0),
Private_Properties =>
GPR_File ("lunar_lander.gpr")
);
end Alire.Index.Eagle_Lander;
+43
View File
@@ -0,0 +1,43 @@
with Alire.Index.Adacurses;
with Alire.Index.GtkAda;
package Alire.Index.Steamsky is
Prj_Name : constant Project_Name := "steamsky";
Prj_Desc : constant Project_Description := "Roguelike in sky with steampunk theme";
Prj_Repo : constant URL := "https://github.com/thindil/steamsky.git";
Prj_Author : constant String := "Bartek Jasicki";
Prj_Website : constant URL := "https://thindil.github.io/steamsky/";
V_2_1_Dev : constant Release :=
Register (Prj_Name,
V ("2.1-dev"),
Prj_Desc,
Git (Prj_Repo, "faee42a72506f2522d3db9c714d0b0a001c0032d"),
Dependencies =>
Within_Major (Alire.Index.GtkAda.V_16_1),
Properties =>
Author (Prj_Author) and
Website (Prj_Website) and
License (GPL_3_0)
);
V_2_0_2 : constant Release :=
Register (Prj_Name,
V ("2.0.2"),
Prj_Desc,
Git (Prj_Repo, "8b4dd319c3199f4b770e39de13f9ef3d9020266f"),
Dependencies =>
Within_Major (Alire.Index.Adacurses.V_6),
Properties =>
Author (Prj_Author) and
Website (Prj_Website) and
License (GPL_3_0)
);
end Alire.Index.Steamsky;
-27
View File
@@ -1,27 +0,0 @@
with Alire.Index.NcursesAda;
package Alire.Index.Adacurses is
Name : constant String := "adacurses";
Desc : constant String := "Wrapper on different packagings of NcursesAda";
Repo : constant String := "https://github.com/alire-project/adacurses-wrapper.git";
V_6 : constant Release :=
Register (Name,
V ("6.0+20170708-2"),
Desc,
Git (Repo, "4ccb20409becb50c0b5fd29effb676b650608326"),
Dependencies =>
On_Condition
(Distribution_Is (Debian) or Distribution_Is (Ubuntu),
When_True => When_Available (Within_Major (NcursesAda.V_5)),
When_False => Unavailable),
Properties =>
Comment ("AdaCurses is the project name used by upstream, thus adacurses.gpr") and
Comment ("However, some distros (e.g., Debian family) use ncursesada.gpr") and
Comment ("This package wraps these differences so clients can always safely use adacurses")
);
end Alire.Index.Adacurses;
+17
View File
@@ -0,0 +1,17 @@
package Alire.Index.GtkAda is
Name : constant String := "gtkada";
Desc : constant String := "Ada binding for the GTK+ GUI";
V_16_1 : constant Release :=
Register (Name,
V ("16.1"),
Desc,
Native ((Debian | Ubuntu => Packaged_As ("libgtkada16.1.0-dev"),
others => Unavailable)),
Available_When => Compiler_Is_Native
-- Unfortunately packaged libs can't be used with non-platform compilers due to .ali clashes
);
end Alire.Index.GtkAda;