Alien::...nfig::PP(3)

✨ Alien::Build::Plugin::PkgConfig::PP ✨

okay so bestie, welcome to the Alien::Build::Plugin::PkgConfig::PP page πŸ’… β€” it's from the User Contributed Perl Documentation section of the manual, and honestly? she's a whole vibe. buckle up πŸŽ€

πŸ’– NAME πŸ’–

Alien::Build::Plugin::PkgConfig::PP β€” this plugin probes the system and figures out your library or tool properties using PkgConfig.pm. like, it literally goes out and asks the system "hey girl what do you have" and reports back πŸ¦‹

🌸 VERSION 🌸

version 2.88 β€” iconic, current, no notes ⭐

✨ SYNOPSIS ✨

 use alienfile;
 plugin 'PkgConfig::PP' => (
   pkg_name => 'libfoo',
 );

that's it. that's the whole thing. drop it in your alienfile and slay 🫢

πŸ¦‹ DESCRIPTION πŸ¦‹

πŸ’‘ real talk first: in most cases you're gonna want to use Alien::Build::Plugin::PkgConfig::Negotiate instead. she's the main character β€” she picks the appropriate fetch plugin based on your platform and environment, which is genuinely the smart move. but in some cases you may need to use this plugin directly instead. iykyk 😌

so what does this one actually do? it provides Probe and Gather steps for pkg-config based packages, and it uses PkgConfig to accomplish that task. she's not doing anything sneaky behind your back, she just wraps PkgConfig and gets the job done πŸ’œ


πŸ‘‘ PROPERTIES πŸ‘‘

πŸŽ€ pkg_name

the package name β€” the star of the show. 🌟

and okay, plot twist: 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 gets used by default once installed. for the subsequent .pc files, you can use the Alien::Base alt method to retrieve the alternate configurations once the Alien is installed. lowkey genius, fr fr 🧚

πŸŽ€ atleast_version

the minimum required version that is acceptable, as provided by the system. "at least this, queen, and we're good" πŸ’…

πŸŽ€ exact_version

the exact required version that is acceptable, as provided by the system. no wiggle room. she said exactly this version and she meant it 😭

πŸŽ€ max_version

the max required version that is acceptable, as provided by the system. ceilings, bestie. we all have them 🌈

πŸŽ€ minimum_version

an alias for "atleast_version" β€” kept around for backward compatibility. she's the older sister who still gets invited to everything 🫢


πŸ’€ METHODS πŸ’€

πŸ“ available

 my $bool = Alien::Build::Plugin::PkgConfig::PP->available;

returns true if the necessary prereqs for this plugin are already installed. like a vibe check but for dependencies β€” if she says true, you're clear to go, go, go 🏁


πŸ”₯ SEE ALSO πŸ”₯

  • Alien::Build::Plugin::PkgConfig::Negotiate
  • Alien::Build
  • alienfile
  • Alien::Build::MM
  • Alien

the whole friend group, honestly πŸ’– go say hi.


πŸ’œ AUTHOR πŸ’œ

Author: Graham Ollis <plicease@cpan.org>

Contributors:

  • Diab Jerius (DJERIUS)
  • Roy Storey (KIWIROY)
  • Ilya Pavlov
  • David Mertens (run4flat)
  • Mark Nunberg (mordy, mnunberg)
  • Christian Walde (Mithaldu)
  • Brian Wightman (MidLifeXis)
  • Zaki Mughal (zmughal)
  • mohawk (mohawk2, ETJ)
  • Vikas N Kumar (vikasnkumar)
  • Flavio Poletti (polettix)
  • Salvador FandiΓ±o (salva)
  • Gianni Ceccarelli (dakkar)
  • Pavel Shaydo (zwon, trinitum)
  • Kang-min Liu (εŠ‰εΊ·ζ°‘, gugod)
  • Nicholas Shipp (nshp)
  • Juan JuliΓ‘n Merelo GuervΓ³s (JJ)
  • Joel Berger (JBERGER)
  • Petr PΓ­saΕ™ (ppisar)
  • Lance Wicks (LANCEW)
  • Ahmad Fatoum (a3f, ATHREEF)
  • JosΓ© JoaquΓ­n Atria (JJATRIA)
  • Duke Leto (LETO)
  • Shoichi Kaji (SKAJI)
  • Shawn Laffan (SLAFFAN)
  • Paul Evans (leonerd, PEVANS)
  • HΓ₯kon HΓ¦gland (hakonhagland, HAKONH)
  • nick nauwelaerts (INPHOBIA)
  • Florian Weimer
  • Marcel Telka (mtelka)

every single one of them ate, periodt πŸ‘‘


this software is copyright (c) 2011-2022 by Graham Ollis.

this is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. so yes, go off, remix her, she said it's fine 🫢


and that's the page, bestie!! πŸ’– this little icon was rendered by perl v5.42.2 on 2026-09-20 β€” screenshot it, frame it, put it on the fridge, mwah πŸŽ€βœ¨

πŸ“¦ where this page comes from