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

[blend2d] Update to beta_2020-05-04 #11155

Merged
merged 1 commit into from
May 8, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions ports/blend2d/CONTROL
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
Source: blend2d
Version: beta_2020-04-19
Version: beta_2020-05-04
Homepage: https://github.com/blend2d/blend2d
Description: Beta 2D Vector Graphics Powered by a JIT Compiler
Default-Features: jit, logging
Default-Features: jit, logging, tls
Supports: !(arm|uwp)

Feature: jit
Description: Default feature. Enables jit pipeline compilation. Not supported for ARM and UWP.

Feature: logging
Description: Default feature. Enables logging.

Feature: tls
Description: Default feature. Enables use of thread_local feature. Disable for platforms where thread local storage is expensive or not supported.
23 changes: 11 additions & 12 deletions ports/blend2d/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -3,26 +3,26 @@ vcpkg_fail_port_install(ON_ARCH "arm" ON_TARGET "uwp")
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO blend2d/blend2d
REF b9eb3657be24a1ed5aded86ee065352c1703c9e0
SHA512 e5c0b447b3ae773d759149e9c43038fd05e8444a5b8013d81b444e825662eaa55c10105c3cd849495e243e62e1b2e53386055daacb36a271f594c462778ea255
REF 841360f653d8f2a749e40d4e31807dfac3d6df29
SHA512 4ea11a2b74aa824a92cdb221ef6d019218379639b0cb005294e95f51f88955e7ec4aba2c837ea756b118ae10280679b9ec6c9345e3b25ba08d7b6f935a85cf2b
HEAD_REF master
)

string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "static" BLEND2D_STATIC)

if(NOT ("jit" IN_LIST FEATURES))
set(BLEND2D_BUILD_NO_JIT TRUE)
endif()
if(NOT ("logging" IN_LIST FEATURES))
set(BLEND2D_BUILD_NO_LOGGING TRUE)
endif()
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
INVERTED_FEATURES
jit BLEND2D_NO_JIT
logging BLEND2D_NO_JIT_LOGGING
tls BLEND2D_NO_TLS
)

if(NOT BLEND2D_BUILD_NO_JIT)
vcpkg_from_github(
OUT_SOURCE_PATH ASMJIT_SOURCE_PATH
REPO asmjit/asmjit
REF d241dfb364ba8984f621331e889014507ecb5bfc
SHA512 345d9645f204b23e1fbedc4ab6a73790e07f8f91a953f8a89e053c3431a80c0a7430c7e2b2130d11d0029ee851f3bf1b046d7e1c9ba12396ffb9c9ee05403fc7
REF 80645e66a8ae85749937bda3b329388c8a76ea4c
SHA512 8e7b0aed14e8ce05e6e6b2eed77be23a81b9548a146aef187ac6beced3bc2a6cba92835718adb901a1ab983fab32f3e9f18061b157b2276bb1451a71ca1195b8
HEAD_REF master
)

Expand All @@ -38,8 +38,7 @@ vcpkg_configure_cmake(
PREFER_NINJA
OPTIONS
-DBLEND2D_STATIC=${BLEND2D_STATIC}
-DBLEND2D_BUILD_NO_JIT=${BLEND2D_BUILD_NO_JIT}
-DBLEND2D_BUILD_NO_LOGGING=${BLEND2D_BUILD_NO_LOGGING}
${FEATURE_OPTIONS}
)


Expand Down