Alien::...bPkgConf(3)
π Alien::Build::Plugin::PkgConfig::LibPkgConf β a lil guide bestie
okay so this is a page from the User Contributed Perl Documentation for Alien::Build::Plugin::PkgConfig::LibPkgConf. yes the name is a mouthful, we don't make the rules. pull up a chair πͺ
β¨ NAME β¨
Alien::Build::Plugin::PkgConfig::LibPkgConf β probe the system and figure out a library's or tool's properties, using PkgConfig::LibPkgConf. it's giving detective energy π
π VERSION π
version 2.88 β that's the one we're vibing with here.
πΈ SYNOPSIS πΈ
use alienfile;
plugin 'PkgConfig::LibPkgConf' => (
pkg_name => 'libfoo',
);
that's literally it. that's the whole setup. iconic.
π DESCRIPTION π
note, bestie: in most cases you're gonna want to use Alien::Build::Plugin::PkgConfig::Negotiate instead!! it picks the right fetch plugin based on your platform and environment, which is the lowkey smart move. sometimes though you gotta reach for this plugin directly instead. iykyk.
so what does this one do? it provides Probe and Gather steps for pkg-config based packages. it uses PkgConfig::LibPkgConf to get that job done. clean, simple, slay.
also, tea time β β this plugin is part of the Alien::Build core For Now, but it may be removed at some future date. while It Seemed Like A Good Idea at the time, it might not be appropriate to keep it in core forever. if it does get spun off, it'll get its own distribution sometime in the future. so likeβ¦ enjoy it while it's here π«Ά
π¦ PROPERTIES π¦
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 is the primary one 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. very demure, very mindful.
atleast_version
the minimum required version that is an acceptable version as provided by the system. the floor, basically. π
exact_version
the exact required version that is an acceptable version as provided by the system. no wiggle room, no negotiation, periodt. π―
max_version
the max required version that is an acceptable version as provided by the system. the ceiling. don't go past it. π«
minimum_version
alias for "atleast_version", kept around for backward compatibility. the og name, we still love her π
π₯ METHODS π₯
available
my $bool = Alien::Build::Plugin::PkgConfig::LibPkgConf->available;
returns true if the necessary prereqs for this plugin are already installed. a little vibe check for your system, if you will β¨
π SEE ALSO π
Alien::Build::Plugin::PkgConfig::NegotiateAlien::BuildalienfileAlien::Build::MMAlien
go read those too, they're the supporting cast and they ate π
π 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)
look at that list!! so many legends contributed to this, we love a collaborative moment π«Άβ¨
π COPYRIGHT AND LICENSE π
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. free as in freedom, bestie ποΈ
aaaaand that's the whole page!! π this one was generated by perl v5.42.3 on 2026-09-21, and it lives under the manual section Alien::...bPkgConf(3). thanks for reading, mwah π bye bestie!! πΈπ¦π
π¦ where this page comes from
- fedora 43: perl-Alien-Build 2.88-1.fc43 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- fedora 44: perl-Alien-Build 2.88-1.fc44 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms