Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement pkg-config --variables equivalent #35

Open
dcbaker opened this issue Mar 6, 2024 · 0 comments
Open

Implement pkg-config --variables equivalent #35

dcbaker opened this issue Mar 6, 2024 · 0 comments

Comments

@dcbaker
Copy link
Collaborator

dcbaker commented Mar 6, 2024

CPS cps-org/cps#4 is a relevant question here.

There are a few cases that I know of that need to be solved:

  • To get the location of a binary tool with Qt you run pkg-config QtCore --variable bindir, then append the binary you want
  • To get the location of a binary with wayland_scanner you run pkg-config wayland-scanner --variable wayland_scanner
  • I see a number of pkgs looking at things like libdir, bindir, libexedir, as well as some custom directories like pluginsdir
  • One X11 package uses this to distinguish whether it was built with thread-local support

Some of this is custom data, but some of this may well just want to act as an interface proxy in cps-config to point to existing data, the wayland_scanner example might just somehow reference the wayland_scanner component.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant