Files
alire-index-community/index/native/alire-index-libsdl2.ads
T
2018-03-25 23:48:27 +02:00

33 lines
1.3 KiB
Ada

package Alire.Index.LibSDL2 is
function Project is new Catalogued_Project ("libsdl2",
"Simple DirectMedia Layer development files");
function Image is new Extension (Project,
"image",
"Image loading library for Simple DirectMedia Layer 2");
function TTF is new Extension (Project,
"ttf",
"TrueType Font library for Simple DirectMedia Layer 2");
SDL_V_2 : constant Release :=
Project.Register
(V ("2"),
Native ((Debian | Ubuntu => Packaged_As ("libsdl2-dev"),
others => Unavailable)));
SDL_Image_V_2 : constant Release :=
Image.Register
(V ("2"),
Native ((Debian | Ubuntu => Packaged_As ("libsdl2-image-dev"),
others => Unavailable)));
SDL_TTF_V_2 : constant Release :=
TTF.Register
(V ("2"),
Native ((Debian | Ubuntu => Packaged_As ("libsdl2-ttf-dev"),
others => Unavailable)));
end Alire.Index.LibSDL2;