Repository navigation
Questions/ideas regarding .pc files #7574
Replies: 3 comments 9 replies
|
xmake will handle these automatically when calling cmake/meson to install packages.; each package's pkgconfig is independent and should not be placed together. xmake/xmake/modules/package/tools/cmake.lua Lines 1015 to 1039 in c2dd419 |
|
Would it be a good idea for xmake to add being able to generate generic .pc files for packages installed from xrepo? It would need to handle several things, of which I understand the following at least:
Asking for the purpose of being able to easily generate .pc files into a specified path (not in cache), for specific (or all) xrepo packages, without relying on library-specific .pc.in or .pc files. |
|
I've since learnt that if no .pc file is made, usually a .pc file is generated by xmake. Can there be some in-built way of naming a package's .pc file? Example: libusb. Because libusb's .pc file should be named libusb-1.0.pc, but it is generated by xmake and ends up as just libusb.pc. I think there should be an elegant way to set the generated .pc file's name in a package's xmake.lua rather than copying libusb.pc as libusb-1.0.pc. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Asking because Ardour's build configuration step heavily relies on .pc files. I did briefly consider asking about something similar to the second question but for full packages to be copied to a file structure similar to how vcpkg's installed files and folders are structured, but it occurred to me to just ask about .pc files instead.
All reactions