Conversation
ports/blend2d/portfile.cmake
Outdated
There was a problem hiding this comment.
How about:
string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "static" BLEND2D_BUILD_STATIC)
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
OPTIONS
-DBLEND2D_BUILD_STATIC=${BLEND2D_BUILD_STATIC}
)|
Hi @Maximilian578, thanks for your new port. Here are the test results from the current CI system:
|
|
@grdowns , Hi.
Can you forward me anything more on the errors? |
|
@Maximilian578, thanks for your effort on this new port. I checked the test results from the current CI system again and all triplets build successfully except for arm64-windows, x64-uwp and arm-uwp. As blend2d does not support arm and uwp, it doesn't matter now. |
|
If the solution with asmjit sources and unavailability for arm and uwp is acceptable then this pr is ready for review and merge. EDIT: Merging this pr is taking a lot longer then i expected. I fixed static builds upstream, so i will update the port. If it passes CI tests except for arm and uwp then it is ready to merge. EDIT: Port updated. |
|
Hey @Maximilian578! Sorry for taking so long to get to this, and thanks for the patience. The PR looks good, but I think that the dependency handling as far as |
|
@grdowns locally I added asmjit feature and tried to make a patch for asmjit's CmakeLists.txt dependency but blend2d has trouble linking agains
EDIT: I decided to push wip commit for review but i think that what i came up with is not a sane solution. While embedding looks like a crutch it is saner. On a side note: Have embedding or dynamic-on-static dependencies been considered? Are those even feasible for a package manager? |
|
I reverted to old port implementation since according to author clang compiled windows binaries will be packed with headers and hosted for windows users when library comes out of beta, probably (reason for clang). So then the port will be chaged to use archive instead of github repo, but for now this is sufficient. |
- port version `beta_2019-04-30` - same versioning as in asmjit pakage with addition of `beta_` prefix
|
Hey @Maximilian578, sorry for the long delay. Those are very good points with respect to maintenance and linking/performance concerns, and so I believe the best way way to add this port is as-is. Thanks for your patience and thanks again for the new port contribution! |
Fixes #6051
beta_2019-04-22beta_prefixThe decision to download and copy another library to source is questionable but:
next-wipbranch of asmjit and only asmjitmasterbranch package is available at the moment.