NAME

Alien::libsdl2 - Find or download and install libsdl2

SYNOPSIS

    use strict;
    use warnings;
    use ExtUtils::MakeMaker;
    use Config;
    use Alien::Base::Wrapper ();
    WriteMakefile(
      Alien::Base::Wrapper->new('Alien::libsdl2')->mm_args2(
        ...
        CONFIGURE_REQUIRES => {
          'Alien::libsdl2' => '0'
        },
        ...
      ),
    );

DESCRIPTION

This package can be used by other CPAN modules that require libsdl2.

SEE ALSO

libsdl2
Alien::SDL2 - Ancient Alien for SDL2 (builds w/ SDL2-2.0.0 from 2013)

Platform Support

This dist has been tested on various modern versions of perl on Windows Server 2019, Ubuntu (20.04.2), and OSX (10.15.7). See https://github.com/sanko/Alien-libsdl2/actions

On OSX and *nix, libsdl2 is built from source.

On Windows, prebuilt shared libraries are downloaded from libsdl.org and installed.

LICENSE

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.

AUTHOR

Sanko Robinson <sanko@cpan.org>