Alien::SDL3 - Build and install SDL3, SDL3_mixer, SDL3_image, and SDL3_ttf
use Alien::SDL3;
my $alien = Alien::SDL3->new;
say $alien->cflags;
say $alien->libs;
say $alien->ffi_lib;Alien::SDL3 acquires libsdl3, libsdl3_mixer, libsdl3_image, and libsdl3_ttf via
xrepo in a single build. It is a subclass of Alien::Xrepo::Base.
my $package = Alien::SDL3->package_name;Returns the primary xrepo package name, libsdl3.
my @packages = Alien::SDL3->new->package_names;Returns the xrepo package names installed by this distribution: libsdl3, libsdl3_mixer, libsdl3_image, and
libsdl3_ttf.
Options passed to Alien::Xrepo when each package is installed during the Build process.
my @infos = Alien::SDL3->new->package_infos;Returns an Alien::Xrepo::PackageInfo object for each installed package.
Compiler flags for all four libraries.
Linker flags for all four libraries.
Absolute paths to the shared library of each installed package.
The library files for all installed packages.
my $error = $alien->package_error('libsdl3_ttf');If a package failed to build and install (it is recorded as an error in ConfigData rather than aborting the
build), returns its error message, otherwise undef.
my @missing = $alien->missing_packages;Returns the package names that failed to install, so FFI wrappers can skip (or degrade around) a shared library that
was never built. When that happens, the failed package is also excluded from package_infos, cflags, libs,
ffi_libs, and dynamic_libs.
Alien::Xrepo::Base, Alien::Xrepo, Affix, SDL3
Copyright (C) Sanko Robinson.
This library is free software; you can redistribute it and/or modify it under the terms found in the Artistic License 2. Other copyrights, terms, and conditions may apply to data transmitted through this module.
Sanko Robinson <https://github.com/sanko>