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

[x265] fix android library build #39314

Closed
wants to merge 5 commits into from

Conversation

foobra
Copy link
Contributor

@foobra foobra commented Jun 16, 2024

[ √] Changes comply with the maintainer guide.
[ √] SHA512s are updated for each updated download.
[ √] The "supports" clause reflects platforms that may be fixed by this new version.
[ √] Any fixed CI baseline entries are removed from that file.
[√ ] Any patches that are no longer applied are deleted from the port's directory.
[√ ] The version database is fixed by rerunning ./vcpkg x-add-version --all and committing the result.
[ √] Only one version is added to each modified port's versions file.

ports/x265/fix-android-build.diff Outdated Show resolved Hide resolved
ports/x265/vcpkg.json Outdated Show resolved Hide resolved
@LilyWangLL LilyWangLL self-assigned this Jun 17, 2024
@LilyWangLL LilyWangLL added the category:port-feature The issue is with a library, which is requesting new capabilities that didn’t exist label Jun 17, 2024
@LilyWangLL
Copy link
Contributor

Note: I will be converting your PR to draft status. When you respond, please revert to "ready for review". That way, I can be aware that you've responded since you can't modify the tags.

@LilyWangLL LilyWangLL marked this pull request as draft June 17, 2024 08:08
@foobra foobra marked this pull request as ready for review June 20, 2024 05:11
fix homepage

Co-authored-by: Kai Pastor <dg0yt@darc.de>
@LilyWangLL
Copy link
Contributor

Please fix the CI error as below message:

##[error]versions/x-/x265.json(2,): error : while parsing versions for x265 from version/x-/x265.json
Version 3.5#2 was not found in versions file for x265.
Run:
vcpkg x-add-version x265
to add the new port version.

Comment on lines +9 to +12
- list(APPEND PLATFORM_LIBS pthread)
+ if(NOT ANDROID)
+ list(APPEND PLATFORM_LIBS pthread)
+ endif()
Copy link
Contributor

Choose a reason for hiding this comment

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

The proper fix is to properly provide the flags as needed and available from FindThreads.cmake. And this must also go to the pc file. I think I will create an alternative PR.

Copy link
Contributor

Choose a reason for hiding this comment

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

See #39450.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

cool, I will close this PR if your PR merged

BillyONeal pushed a commit that referenced this pull request Jun 25, 2024
Fixes build errors on android due to wrong pthread flags and 32 bit API
level requirements (`ftello`).

Alternative to #39314.
@BillyONeal
Copy link
Member

Closing this PR at your request in #39314 (comment) . Thanks for your contribution!

@BillyONeal BillyONeal closed this Jun 25, 2024
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants