Files
alire-index-community/index/alire-index-gnatcoll.ads
T
2018-10-16 17:32:02 +02:00

90 lines
2.9 KiB
Ada

with Ada.Directories;
package Alire.Index.GNATCOLL is
function Project is new Catalogued_Project
("GNAT Components Collection - Core packages");
Repo_AdaCore : constant URL := "https://github.com/AdaCore/gnatcoll-core.git";
-- Upstream
Repo_Alire : constant URL := "https://github.com/alire-project/gnatcoll-core.git";
-- For slim picks
Base : constant Release := Project.Unreleased
(Properties =>
Author ("AdaCore")
and Maintainer ("alejandro@mosteo.com")
and License (GPL_3_0)
and GPR_Scenario ("GNATCOLL_ATOMICS",
"intrinsic" or "mutex")
and GPR_Scenario ("GNATCOLL_OS",
"windows" or "unix" or "osx")
and GPR_Scenario ("BUILD",
"DEBUG" or "PROD")
and GPR_Scenario ("LIBRARY_TYPE",
"relocatable" or "static" or "static-pic"),
Private_Properties =>
GPR_External ("BUILD", "PROD") and
GPR_External ("LIBRARY_TYPE", "static-pic") and
Case_Operating_System_Is
((GNU_Linux => GPR_External ("GNATCOLL_OS", "unix"),
OSX => GPR_External ("GNATCOLL_OS", "osx"),
Windows => GPR_External ("GNATCOLL_OS", "windows"),
OS_Unknown => GPR_External ("GNATCOLL_OS", "ERROR"))));
package Regular is
package V_2018 is new Project_Release
(Base
.Renaming (GNATCOLL.Project)
.Replacing (Source_Archive
("http://mirrors.cdn.adacore.com/art/5b0819dfc7a447df26c27a99",
"gnatcoll-core-gpl-2018-20180524-src.tar.gz"))
.Extending
(Properties => Project_File (Ada.Directories.Compose
("gnatcoll-core-gpl-2018-src", "gnatcoll.gpr"))));
end Regular;
package Slim is
function Project is new Catalogued_Project
("GNAT Components Collection - Slim version (no dependencies)");
package V_20180425 is new Project_Release
(Base
.Renaming (GNATCOLL.Project)
.Replacing (Git (Repo_Alire,
"81bc37d7548fe40024eb0f647df65ec42f65443b")));
end Slim;
package Strings is
function Project is new Catalogued_Project
("GNAT Components Collection - Strings only");
package V_20180425 is new Project_Release
(Base
.Renaming (GNATCOLL.Project)
.Replacing (Git (Repo_Alire,
"7823e31add7133b9fbc6e037d9986a823e840dc0")));
end Strings;
-- package Test is
--
-- function Project is new Catalogued_Project
-- ("GNAT Components Collection - Testing renames");
--
-- package V_99999999 is new Project_Release
-- (Base
-- .Extending
-- (Dependencies =>
-- Slim.Project.Current));
--
-- end Test;
end Alire.Index.GNATCOLL;