-
Notifications
You must be signed in to change notification settings - Fork 7.2k
[zycore] Add new port #27195
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
[zycore] Add new port #27195
Conversation
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/zycore/vcpkg.json
Valid values for the license field can be found in the documentation
|
Please consider adding a "license" field to the |
Co-authored-by: JonLiu1993 <[email protected]>
|
Seems I submitted some redundant commits... Forgive me, I'm new to vcpkg😢. |
Co-authored-by: Florian Bernd <[email protected]>
|
Tetsed zycore:x64-windows usage successfully. |
ports/zycore/fix-install.patch
Outdated
| - ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} | ||
| - LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}) | ||
| + ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} | ||
| + LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} | ||
| + RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} |
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.
This patch can be minimized. We only need to insert RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} in the middle.
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.
Done
ports/zycore/portfile.cmake
Outdated
|
|
||
|
|
||
| vcpkg_cmake_config_fixup( | ||
| CONFIG_PATH lib/cmake/${PORT} |
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.
Please don't use the PORT variable here. CONFIG_PATH is a source path. It doesn't depend on the value of PORT but on the literal name chosen by the package.
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.
Done
ports/zycore/portfile.cmake
Outdated
| CONFIG_PATH lib/cmake/${PORT} | ||
| ) | ||
|
|
||
| configure_file(${SOURCE_PATH}/LICENSE "${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright" COPYONLY) |
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.
For consistency in all ports, I would prever to see copyrigh handled in the last line. The common pattern is file(INSTALL ... DESTINATION ... RENAME "copyright") but now there is also a vcpkg_install_copyright command.
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.
Done
8673956
dg0yt
left a comment
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.
Thanks for the update and the patience.
Describe the pull request
What does your PR fix?
Which triplets are supported/not supported? Have you updated the CI baseline?
all ,Yes
Does your PR follow the maintainer guide?
Yes
If you have added/updated a port: Have you run
./vcpkg x-add-version --alland committed the result?Yes
If you are still working on the PR, open it as a Draft: https://github.blog/2019-02-14-introducing-draft-pull-requests/