Alien-Poppler

 view release on metacpan or  search on metacpan

alienfile  view on Meta::CPAN

	minimum_version => '0.52.0',
);

requires 'Alien::gmake';
requires 'Alien::Build::Plugin::Gather::Dino';
requires 'Alien::OpenJPEG';
requires 'Env::ShellWords' => '0.01';
requires 'Path::Tiny' => 0;
use Env qw($LDFLAGS);

# https://poppler.freedesktop.org/
share {
	plugin Download => (
		url => 'https://poppler.freedesktop.org/releases.html',
		version => qr/poppler-([\d.]+)\.tar\.xz/,
	);

	plugin Extract => 'tar.xz';

	# warn is fine here because this is part of configure-time
	eval {
		require Alien::OpenJPEG;
		$LDFLAGS .= ' ' . Alien::OpenJPEG->libs;
	} or warn "Unable to add to \$LDFLAGS ($LDFLAGS): $@";

lib/Alien/Poppler.pm  view on Meta::CPAN


=head1 METHODS

=head2 pdftotext_path

Returns a C<Str> which contains the absolute path
to the C<pdftotext> binary.

=head1 SEE ALSO

L<Poppler|https://poppler.freedesktop.org/>

L<Repository information|http://project-renard.github.io/doc/development/repo/p5-Alien-Poppler/>

=head1 AUTHOR

Zakariyya Mughal <zmughal@cpan.org>

=head1 COPYRIGHT AND LICENSE

This software is copyright (c) 2017 by Zakariyya Mughal.



( run in 0.315 second using v1.01-cache-2.11-cpan-299005ec8e3 )