-
Notifications
You must be signed in to change notification settings - Fork 6.7k
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
[opusfile] Generate .pc files and modernise portfile #29511
[opusfile] Generate .pc files and modernise portfile #29511
Conversation
This is needed for SDL_mixer. (see microsoft#29487)
- Use `${VERSION}` for the REF. - Use `vcpkg_check_features` to check for opusurl. - Replace deprecated functions with the ones from `vcpkg-cmake`. - Use `vcpkg_replace_string` to edit the header. - Use `vcpkg_install_copyright` to install the license.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You have modified or added at least one vcpkg.json where you should check the license
field.
If you feel able to do so, please consider adding a "license" field to the following files:
ports/opusfile/vcpkg.json
Valid values for the license field can be found in the documentation
I would assume that we also need debug variants of the pc files. |
44e956d
You're correct, I've added them in e7b683f. Thank you for the feedback! |
./vcpkg x-add-version --all
and committing the result.This PR allows the creating of .pc files for
opusfile
andopusurl
. This is needed for #29487.Additionally, the portfile was modernised to replace deprecated functions, use
${VERSION}
, and usevcpkg_
functions instead of doing things manually.There is also an issue building
opusurl
on Windows, but it does not seem to be related to this PR, as build was already failing on themaster
branch.