-
Notifications
You must be signed in to change notification settings - Fork 897
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
Install headers and pkg-config files, MkII #3834
Conversation
I have no problem with the versions of my commits that appear here. Feel free to add a |
On #3325 I wrote:
What do maintainers think about that? This PR is changing the pkg-config API anyway, so if there was a time to make that change, now would probably be that time. |
I'd be okay with doing _ over -, I'll check with Neal to see if this is an okay change for Fedora. |
Does Meson's pkgconfig generator not support setting |
Not as far as I can see in https://mesonbuild.com/Pkgconfig-module.html. Does original freedesktop.org pkg-config support |
I believe the way the equivalent of Provides was traditionally implemented is as a symlink [edited to add] sdl12_compat.pc does have |
It was always part of the spec, but not implemented fully in |
Rebased and updated with the latest changes from the other two PRs. Did we ever make a call with the |
Well, I'm shipping |
Latest push is just a rebase, this PR now only depends on #3743 |
If you fix that comment and the commit commit names, I will merge it. |
Looks like Meson made the choice for us:
So I guess I need to revert that...? Also, what were the commit/comment changes I needed to make, I couldn't see them in this thread. |
Just make the commit names match up with the style of the rest of the repo. |
lol let's make it 0.231 or whatever then |
Latest push changes to be the '231' style, and adjusts the commit tag to use []. |
Zips can't preserve the symlink, so make the .tar.gz package with package_native.sh and zip that up instead.
This is necessary for compatibility with Meson's pkg module, which generates pkg-config metadata containing "-lNAME" where NAME is the first argument to shared_library(). Changing the name_prefix parameter would break that. Conversely, including .dll or .so in the first parameter would also break that, so remove the `+dll_ext` part (in practice this is not a functional change, because `dll_ext` is always set to an empty string). Signed-off-by: Simon McVittie <[email protected]>
One final nit, the tarball for Steam Runtime binaries contains a .git file inside of the include folder :P |
When building a game that has been ported to Linux using DXVK Native, these headers are necessary to provide the Direct3D and DXVK APIs. Signed-off-by: Simon McVittie <[email protected]>
This allows dependent projects to query the version and location of DXVK via the pkg-config interface. The include directories aren't yet set, because the headers aren't installed; that will follow in a subsequent commit. The naming of these pkg-config files is based on proposed Fedora packages for DXVK 2.0, and is not compatible with older Fedora packages for DXVK 1.x (which used the naming convention dxvk-native-d3d9 and so on). Packagers can create symlinks such as dxvk-native-d3d9.pc -> dxvk-d3d9.pc if they want to retain compatibility with older names. Signed-off-by: Simon McVittie <[email protected]>
Added an exclude_files to the directx install block to ignore a possible .git file when packaging a repo clone (shouldn't happen with source tarballs). |
This reworks #3325 to apply to the latest dxvk revision, and is based on #3738 and #3743. As a result, only the last 3 commits are actually for this specific PR.
CC @smcv, I had to adjust a few of the patches, so we'll need to re-confirm the signoffs for those.
Fixes #3323
Part of #3451
Supercedes #3325