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

[ffmpeg] fix up the pkgconfig files #15127

Merged
merged 3 commits into from
Dec 22, 2020

Conversation

JackBoosY
Copy link
Contributor

Since ffmpeg is built using cygin on windows, cygpath format is used instead of local path format when generating pkgconfig, fix this issue.

Fixes #15111.

@JackBoosY JackBoosY added category:port-bug The issue is with a library, which is something the port should already support info:internal This PR or Issue was filed by the vcpkg team. labels Dec 15, 2020
@JackBoosY
Copy link
Contributor Author

@jmoguillansky-gpsw Can you please test this PR?

Thanks.

Comment on lines +523 to +525
string(REGEX MATCH "${PATH_NAME}=[^\n]*\n" PATH_VALUE "${PKGCONFIG_CONTENT}")
string(REPLACE "${PATH_NAME}=" "" PATH_VALUE "${PATH_VALUE}")
string(REPLACE "\n" "" PATH_VALUE "${PATH_VALUE}")
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think regular expressions can be more beautiful, but I don’t know how to do it

@PhoebeHui PhoebeHui added the info:reviewed Pull Request changes follow basic guidelines label Dec 16, 2020
@jmoguillansky-gpsw
Copy link

@jmoguillansky-gpsw Can you please test this PR?

Thanks.

Thanks @JackBoos ,
I tried to test it but I get an unrelated error.

-- Downloading https://www.tortall.net/projects/yasm/snapshots/v1.3.0.6.g1962/yasm-1.3.0.6.g1962.exe... Failed. Status: 28;"Timeout was reached"
CMake Error at scripts/cmake/vcpkg_download_distfile.cmake:184 (message):

@JackBoosY
Copy link
Contributor Author

@jmoguillansky-gpsw Can you please try again?

Copy link
Member

@BillyONeal BillyONeal left a comment

Choose a reason for hiding this comment

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

This looks good to me but waiting to merge until the issue submitter confirms that the fix works for them

@jmoguillansky-gpsw
Copy link

jmoguillansky-gpsw commented Dec 22, 2020 via email

@BillyONeal BillyONeal merged commit b23b7ea into microsoft:master Dec 22, 2020
@BillyONeal
Copy link
Member

Thanks!

Jimmy-Hu added a commit to Jimmy-Hu/vcpkg that referenced this pull request Dec 22, 2020
[ffmpeg] fix up the pkgconfig files (microsoft#15127)
@JackBoosY JackBoosY deleted the dev/jack/15111 branch December 22, 2020 06:14
ryukw7 pushed a commit to ryukw7/vcpkg that referenced this pull request Dec 24, 2020
@jmoguillansky-gpsw
Copy link

jmoguillansky-gpsw commented Jan 25, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:port-bug The issue is with a library, which is something the port should already support info:internal This PR or Issue was filed by the vcpkg team. info:reviewed Pull Request changes follow basic guidelines
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ffmpeg pkg-config files generate cygwin paths
4 participants