Files
Stephane Carrez d483c6e4b3 lzmada 1.1.3, utilada 2.6.0 (#859)
* Ada Utility Library 2.6.0

- update crates for the new version of Ada Utility Library
- convert the crates to use nested crates

* Remove (temporarily) the utilada_aws-2.6.0 because building AWS fails
(the issue is not related to utilada_aws but it is caused by a bug in
the automated build which fails building AWS for Debian and Fedora,
see https://github.com/alire-project/alire/issues/1394)
2023-08-21 16:09:16 +02:00

55 lines
1.5 KiB
TOML

description = "Ada LZMA Library Binding"
name = "lzmada"
version = "1.1.3"
licenses = "MIT"
maintainers = ["Stephane.Carrez@gmail.com"]
maintainers-logins = ["stcarrez"]
authors = ["Stephane.Carrez@gmail.com"]
project-files = [".alire/lzmada.gpr"]
tags = ["compression", "lzma"]
website = "https://gitlab.com/stcarrez/ada-lzma"
long-description = """
A very thin Ada binding for the LZMA compression library.
Roughly speaking, import some package:
with Lzma.Base;
with Lzma.Container;
with Lzma.Check;
Then declare the LZMA stream:
Stream : aliased Lzma.Base.lzma_stream := Lzma.Base.LZMA_STREAM_INIT;
Initialize the LZMA stream as decoder (or as encoder):
Result := Lzma.Container.lzma_stream_decoder (Stream'Unchecked_Access,
Long_Long_Integer'Last,
Lzma.Container.LZMA_CONCATENATED);
Setup the stream 'next_out', 'avail_out', 'next_in' and 'avail_in' and call
the lzma_code operation with the action (Lzma.Base.LZMA_RUN or Lzma.Base.LZMA_FINISH):
Result := Lzma.Base.lzma_code (Stream'Unchecked_Access, Action);
Close the LZMA stream:
Lzma.Base.lzma_end (Stream'Unchecked_Access);
"""
[gpr-externals]
LZMA_BUILD = ["distrib", "debug", "optimize", "profile", "coverage"]
LZMA_LIBRARY_TYPE = ["relocatable", "static", "static-pic"]
[[depends-on]]
liblzma = "*"
[configuration]
disabled = true
[origin]
commit = "b1b687dbffd5edbd494eb9d40aabfa4d3c48dfaf"
url = "git+https://gitlab.com/stcarrez/ada-lzma.git"