The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Alien::VideoLAN::LibVLC - Find installed libvlc.

VERSION

Version 0.04

SYNOPSIS

    use Alien::VideoLAN::LibVLC;
    my %x = Alien::VideoLAN::LibVLC->find_libvlc();
    print $x{version};

    my %y = Alien::VideoLAN::LibVLC->find_libvlc(version => '>= 1.1.9');

METHODS

find_libvlc

    Alien::VideoLAN::LibVLC->find_libvlc();
    Alien::VideoLAN::LibVLC->find_libvlc(version => '>= 1.1.9');
    Alien::VideoLAN::LibVLC->find_libvlc(version => '= 1.1.10',
                                         suppress_error_message => 1);

Finds installed libvlc.

If version parameter is specified, required version is needed. Check documentation of pkg-config for format of version.

If suppress_error_message parameter is specified and is true, nothing will be put to STDERR if libvlc is not found.

Returns hash with following fields:

  • version

    a string with version.

  • cflags

    arrayref of strings, e.g. ['-I/foo/bar']

  • ldflags

    arrayref of strings, e.g. ['-L/foo/baz', '-lvlc']

If libvlc of specified version isn't found, croaks.

AUTHOR

Alexey Sokolov, <alexey at alexeysokolov.co.cc>

BUGS

Please report any bugs or feature requests to bug-alien-videolan-libvlc at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Alien-VideoLAN-LibVLC. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

You can find documentation for this module with the perldoc command.

    perldoc Alien::VideoLAN::LibVLC

You can also look for information at:

SEE ALSO

http://www.videolan.org/vlc/

http://www.videolan.org/vlc/libvlc.html

Alien

LICENSE AND COPYRIGHT

Copyright 2011 Alexey Sokolov.

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.