From 50f4e300d1780c6caa6d47fa2e84e73456992d71 Mon Sep 17 00:00:00 2001 From: Alejandro R Mosteo Date: Tue, 8 May 2018 01:40:18 +0200 Subject: [PATCH] +zlib +zlib_ada +png_io --- index/alire-index-png_io.ads | 28 ++++++++++++++++++++++++++++ index/alire-index-zlib_ada.ads | 28 ++++++++++++++++++++++++++++ index/native/alire-index-zlib.ads | 14 ++++++++++++++ 3 files changed, 70 insertions(+) create mode 100644 index/alire-index-png_io.ads create mode 100644 index/alire-index-zlib_ada.ads create mode 100644 index/native/alire-index-zlib.ads diff --git a/index/alire-index-png_io.ads b/index/alire-index-png_io.ads new file mode 100644 index 00000000..86f4838e --- /dev/null +++ b/index/alire-index-png_io.ads @@ -0,0 +1,28 @@ +with Alire.Index.Zlib_Ada; + +package Alire.Index.PNG_IO is + + function Project is new Catalogued_Project + ("ZLib for Ada thick binding"); + + Repo : constant URL := "https://github.com/alire-project/png_io.git"; + + Base : constant Release := + Project.Unreleased + (Properties => + Executable ("png_chunks") and + Executable ("png_compare") and + Executable ("png_dump") and + Executable ("png_properties") and + Executable ("png_test") and + + Author ("Steve Sangwine") and + Website ("http://png-io.sourceforge.net/") and + License (GPL_3_0)); + + package V_4_6_0 is new Released + (Base + .Replacing (Git (Repo, "bb31fe1c1566e13339dec26ae359564364c00999")) + .Extending (Dependencies => Zlib_Ada.V_1_3_0.Within_Major)); + +end Alire.Index.PNG_IO; diff --git a/index/alire-index-zlib_ada.ads b/index/alire-index-zlib_ada.ads new file mode 100644 index 00000000..8fae07d3 --- /dev/null +++ b/index/alire-index-zlib_ada.ads @@ -0,0 +1,28 @@ +with Alire.Index.Zlib; + +package Alire.Index.ZLib_Ada is + + function Project is new Catalogued_Project + ("ZLib for Ada thick binding"); + + Repo : constant URL := "https://github.com/alire-project/zlib-ada.git"; + + Base : constant Release := + Project.Unreleased + (Properties => + Project_File ("zlib.gpr") and + Executable ("buffer_demo") and + Executable ("mtest") and + Executable ("read") and + Executable ("test") and + + Author ("Dmitriy Anisimkov") and + Website ("http://zlib-ada.sourceforge.net/") and + License (Unknown)); + + package V_1_3_0 is new Released + (Base + .Replacing (Git (Repo, "411c38a874a73692975fd4ccbc19f03769405dfe")) + .Extending (Dependencies => Zlib.V_1_2.Within_Major)); + +end Alire.Index.ZLib_Ada; diff --git a/index/native/alire-index-zlib.ads b/index/native/alire-index-zlib.ads new file mode 100644 index 00000000..8865dc13 --- /dev/null +++ b/index/native/alire-index-zlib.ads @@ -0,0 +1,14 @@ +package Alire.Index.ZLib is + + function Project is new Catalogued_Project + ("Library implementing the deflate method from gzip/PKZIP"); + + Base : constant Release := Project.Unreleased; + + package V_1_2 is new Released + (Base + .Replacing + (Native ((Debian | Ubuntu => Packaged_As ("zlib1g-dev"), + others => Unavailable)))); + +end Alire.Index.ZLib;