pkgconf
brew install pkgconf
v2.5.1
ISC
C library and CLI tool for querying compiler and linker flags from pkg-config metadata files.
Why you might care
pkgconf is a drop-in replacement for pkg-config that's faster and more robust, used during build configuration to discover dependencies and their compilation flags. It's a core build dependency for projects using Meson or other modern build systems, and provides libpkgconf for programmatic access.
110.2k
30-day installs · #34
372.0k
90-day · #38
1.8M
365-day · #21
632
★ GitHub stars · updated 1d ago
Links
- https://github.com/pkgconf/pkgconf
- GitHub: pkgconf/pkgconf
- Brew formula source: Formula/p/pkgconf.rb
Blurb generated by claude-haiku-4-5 on today.
Raw metadata
{
"aliases": [
"pkg-config",
"pkgconfig"
],
"alternatives": [
"pkg-config",
"pkg-check"
],
"build_dependencies": [],
"categories": [
"build-system",
"library",
"sysadmin"
],
"caveats": null,
"conflicts_with": [],
"dependencies": [],
"deprecated": 0,
"deprecation_reason": null,
"desc": "Package compiler and linker metadata toolkit",
"disable_reason": null,
"disabled": 0,
"enrichment_fetched_at": "2026-06-20T23:40:37+00:00",
"first_seen": "2026-06-20T23:34:18+00:00",
"full_name": "pkgconf",
"github_default_branch": "master",
"github_last_commit_at": "2026-06-19T06:15:27Z",
"github_readme_excerpt": "# pkgconf [](https://github.com/pkgconf/pkgconf/actions/workflows/test.yml)\n\n`pkgconf` is a program which helps to configure compiler and linker flags for\ndevelopment libraries. It is a superset of the functionality provided by\npkg-config from freedesktop.org, but does not provide bug-compatibility with\nthe original pkg-config.\n\n`libpkgconf` is a library which provides access to most of `pkgconf`\u0027s functionality, \nto allow other tooling such as compilers and IDEs to discover and use libraries \nconfigured by pkgconf.\n\n`bomtool` and `spdxtool` are programs generating software bill of materials (SBOM)\nfor a given set of pkg-config modules, in the SPDX 2.0 and SPDX Lite 3.0.1 format,\nrespectively. The output of these tools can then be translated into other SBOM\nformats as necessary.\n\n## release tarballs\n\nRelease tarballs are available on [distfiles.ariadne.space][distfiles].\n\n [distfiles]: https://distfiles.ariadne.space/pkgconf/\n\n## build system setup\n\npkgconf uses [Meson](https://mesonbuild.com) as its build system.\n\n\u003e **Note:** The autotools build system is deprecated as of pkgconf 3.0 and will be\n\u003e removed in pkgconf 3.1. New build configurations should use Meson or Muon.\n\nIf you would like to use the git sources directly, or a snapshot of the sources from\nGitHub, Meson can be used directly without any additional bootstrap step.\n\n## pkgconf-lite\n\nIf you only need the original pkg-config functionality, there is also pkgconf-lite,\nwhich builds the `pkgconf` frontend and relevant portions of `libpkgconf` functionality\ninto a single binary:\n\n $ make -f Makefile.lite\n\n## why `pkgconf` over original `pkg-config`?\n\npkgconf builds a flattened directed dependency graph, which allows for more insight\ninto relationships between dependencies, allowing for some link-time dependency\noptimization, which allows for the user to more conservatively link their binaries,\nwhich may be helpful in some",
"github_repo": "pkgconf/pkgconf",
"github_stars": 632,
"github_topics": [],
"homepage": "https://github.com/pkgconf/pkgconf",
"homepage_og_description": null,
"homepage_og_image": null,
"homepage_title": null,
"installs_30d": 110171,
"installs_365d": 1827692,
"installs_90d": 371981,
"keg_only": 0,
"keg_only_reason": null,
"last_seen": "2026-06-20T23:34:18+00:00",
"license": "ISC",
"llm_generated_at": "2026-06-20T23:42:16+00:00",
"llm_model": "claude-haiku-4-5",
"name": "pkgconf",
"oldnames": [],
"one_liner": "C library and CLI tool for querying compiler and linker flags from pkg-config metadata files.",
"optional_dependencies": [],
"rank_30d": 34,
"rank_365d": 21,
"rank_90d": 38,
"raw_hash": "b0bf03d08dbc1979",
"recommended_dependencies": [],
"revision": 0,
"ruby_source_path": "Formula/p/pkgconf.rb",
"tap": "homebrew/core",
"test_dependencies": [],
"uses_from_macos": [],
"version_head": "HEAD",
"version_stable": "2.5.1",
"versioned_formulae": [],
"why_use_this": "pkgconf is a drop-in replacement for pkg-config that\u0027s faster and more robust, used during build configuration to discover dependencies and their compilation flags. It\u0027s a core build dependency for projects using Meson or other modern build systems, and provides libpkgconf for programmatic access."
}