.\" -*- mode: troff; coding: utf-8 -*- .\" Automatically generated by Pod::Man 5.01 (Pod::Simple 3.43) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>. .ie n \{\ . ds C` "" . ds C' "" 'br\} .el\{\ . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "Alien::Build::Plugin::PkgConfig::LibPkgConf 3" .TH Alien::Build::Plugin::PkgConfig::LibPkgConf 3 2023-07-25 "perl v5.38.0" "User Contributed Perl Documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH NAME Alien::Build::Plugin::PkgConfig::LibPkgConf \- Probe system and determine library or tool properties using PkgConfig::LibPkgConf .SH VERSION .IX Header "VERSION" version 2.80 .SH SYNOPSIS .IX Header "SYNOPSIS" .Vb 4 \& use alienfile; \& plugin \*(AqPkgConfig::LibPkgConf\*(Aq => ( \& pkg_name => \*(Aqlibfoo\*(Aq, \& ); .Ve .SH DESCRIPTION .IX Header "DESCRIPTION" Note: in most case you will want to use Alien::Build::Plugin::PkgConfig::Negotiate instead. It picks the appropriate fetch plugin based on your platform and environment. In some cases you may need to use this plugin directly instead. .PP This plugin provides Probe and Gather steps for pkg-config based packages. It uses PkgConfig::LibPkgConf to accomplish this task. .PP This plugin is part of the Alien::Build core For Now, but may be removed in a future date. While It Seemed Like A Good Idea at the time, it may not be appropriate to keep it in core. If it is spun off it will get its own distribution some time in the future. .SH PROPERTIES .IX Header "PROPERTIES" .SS pkg_name .IX Subsection "pkg_name" The package name. If this is a list reference then .pc files with all those package names must be present. The first name will be the primary and used by default once installed. For the subsequent \f(CW\*(C`.pc\*(C'\fR files you can use the Alien::Base alt method to retrieve the alternate configurations once the Alien is installed. .SS atleast_version .IX Subsection "atleast_version" The minimum required version that is acceptable version as provided by the system. .SS exact_version .IX Subsection "exact_version" The exact required version that is acceptable version as provided by the system. .SS max_version .IX Subsection "max_version" The max required version that is acceptable version as provided by the system. .SS minimum_version .IX Subsection "minimum_version" Alias for \f(CW\*(C`atleast_version\*(C'\fR for backward compatibility. .SH METHODS .IX Header "METHODS" .SS available .IX Subsection "available" .Vb 1 \& my $bool = Alien::Build::Plugin::PkgConfig::LibPkgConf\->available; .Ve .PP Returns true if the necessary prereqs for this plugin are \fIalready\fR installed. .SH "SEE ALSO" .IX Header "SEE ALSO" Alien::Build::Plugin::PkgConfig::Negotiate, Alien::Build, alienfile, Alien::Build::MM, Alien .SH AUTHOR .IX Header "AUTHOR" Author: Graham Ollis .PP Contributors: .PP Diab Jerius (DJERIUS) .PP Roy Storey (KIWIROY) .PP Ilya Pavlov .PP David Mertens (run4flat) .PP Mark Nunberg (mordy, mnunberg) .PP Christian Walde (Mithaldu) .PP Brian Wightman (MidLifeXis) .PP Zaki Mughal (zmughal) .PP mohawk (mohawk2, ETJ) .PP Vikas N Kumar (vikasnkumar) .PP Flavio Poletti (polettix) .PP Salvador Fandiño (salva) .PP Gianni Ceccarelli (dakkar) .PP Pavel Shaydo (zwon, trinitum) .PP Kang-min Liu (劉康民, gugod) .PP Nicholas Shipp (nshp) .PP Juan Julián Merelo Guervós (JJ) .PP Joel Berger (JBERGER) .PP Petr Písař (ppisar) .PP Lance Wicks (LANCEW) .PP Ahmad Fatoum (a3f, ATHREEF) .PP José Joaquín Atria (JJATRIA) .PP Duke Leto (LETO) .PP Shoichi Kaji (SKAJI) .PP Shawn Laffan (SLAFFAN) .PP Paul Evans (leonerd, PEVANS) .PP Håkon Hægland (hakonhagland, HAKONH) .PP nick nauwelaerts (INPHOBIA) .PP Florian Weimer .SH "COPYRIGHT AND LICENSE" .IX Header "COPYRIGHT AND LICENSE" This software is copyright (c) 2011\-2022 by Graham Ollis. .PP This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.