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

[libmodplug] [ffmpeg] fix libmodplug .pc file for static windows build #18867

Merged
merged 14 commits into from
Jul 22, 2021

Conversation

mcmtroffaes
Copy link
Contributor

@mcmtroffaes mcmtroffaes commented Jul 8, 2021

  • What does your PR fix?

    Fixes the libmodplug .pc file on windows (user32 is needed). Patch has been posted upstream here: Fix Libs.private in .pc file. Konstanty/libmodplug#59 I've enabled windows static builds for the ffmpeg modplug feature as well.

  • Which triplets are supported/not supported? Have you updated the CI baseline?

    Libmodplug now additionally supports all static windows triplets.

  • Does your PR follow the maintainer guide?

    Yes, to the best of my knowledge.

  • If you have added/updated a port: Have you run ./vcpkg x-add-version --all and committed the result?

    Yes.

@NancyLi1013 NancyLi1013 self-assigned this Jul 9, 2021
Copy link
Contributor

@NancyLi1013 NancyLi1013 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you please update

file(COPY ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/libmodplug)
file(RENAME ${CURRENT_PACKAGES_DIR}/share/libmodplug/COPYING ${CURRENT_PACKAGES_DIR}/share/libmodplug/copyright)
as

file(INSTALL ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/{PORT} RENAME copyright)
?

@NancyLi1013 NancyLi1013 added requires:author-response category:port-feature The issue is with a library, which is requesting new capabilities that didn’t exist labels Jul 9, 2021
@dg0yt
Copy link
Contributor

dg0yt commented Jul 9, 2021

file(INSTALL ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/{PORT} RENAME copyright)

@NancyLi1013 Are you aware that the RENAME argument is not a documented feature? If it is meant to be used even more in vcpkg, a documentation request should be made at Kitware.

@mcmtroffaes
Copy link
Contributor Author

Could you please update

file(COPY ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/libmodplug)
file(RENAME ${CURRENT_PACKAGES_DIR}/share/libmodplug/COPYING ${CURRENT_PACKAGES_DIR}/share/libmodplug/copyright)

Done.

Are you aware that the RENAME argument is not a documented feature? If it is meant to be used even more in vcpkg, a documentation request should be made at Kitware.

Yes, that would be great.

@NancyLi1013
Copy link
Contributor

file(INSTALL ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/{PORT} RENAME copyright)

@NancyLi1013 Are you aware that the RENAME argument is not a documented feature? If it is meant to be used even more in vcpkg, a documentation request should be made at Kitware.

Thanks for pointing this out. @dg0yt Currently, there is no any documentation that declares how we should use RENAME in handling license. We suggest to handle like this is just to reduce codes.

You can also see this here.

@NancyLi1013 NancyLi1013 added info:reviewed Pull Request changes follow basic guidelines and removed requires:author-response labels Jul 9, 2021
@NancyLi1013
Copy link
Contributor

LGTM, thanks again for your fixes. @mcmtroffaes

@mcmtroffaes
Copy link
Contributor Author

Merged master & bumped port version.

@vicroms vicroms merged commit 5abd47d into microsoft:master Jul 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:port-feature The issue is with a library, which is requesting new capabilities that didn’t exist info:reviewed Pull Request changes follow basic guidelines
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants