-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/Microsoft/vcpkg
- Loading branch information
Showing
7 changed files
with
80 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Source: chakracore | ||
Version: 1.2.0.0 | ||
Description: Core part of the Chakra Javascript engine |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
include(vcpkg_common_functions) | ||
find_program(POWERSHELL powershell) | ||
|
||
set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/ChakraCore-1.2.0.0) | ||
vcpkg_download_distfile(ARCHIVE_FILE | ||
URLS "https://github.com/Microsoft/ChakraCore/archive/v1.2.0.0.tar.gz" | ||
FILENAME "ChakraCore-1.2.0.0.tar.gz" | ||
SHA512 53e487028a30605a4e2589c40b65da060ca4884617fdba8877557e4db75f911be4433d260132cce3526647622bdc742a0aacda1443a16dfed3d3fdd442539528 | ||
) | ||
vcpkg_extract_source_archive(${ARCHIVE_FILE}) | ||
|
||
message(STATUS "Patching JavascriptPromise.cpp for https://github.com/Microsoft/ChakraCore/issues/1429") | ||
vcpkg_execute_required_process( | ||
COMMAND ${POWERSHELL} -command (gc lib/runtime/library/JavascriptPromise.cpp -encoding utf7) -replace('«', '^<^<') -replace('»', '^>^>') | Set-Content lib/runtime/library/JavascriptPromise.cpp | ||
WORKING_DIRECTORY ${SOURCE_PATH} | ||
) | ||
message(STATUS "Patching done.") | ||
|
||
vcpkg_build_msbuild( | ||
PROJECT_PATH ${SOURCE_PATH}/Build/Chakra.Core.sln | ||
) | ||
|
||
file(INSTALL | ||
${SOURCE_PATH}/lib/jsrt/ChakraCore.h | ||
${SOURCE_PATH}/lib/jsrt/ChakraCommon.h | ||
DESTINATION ${CURRENT_PACKAGES_DIR}/include | ||
) | ||
file(INSTALL | ||
${SOURCE_PATH}/Build/VcBuild/bin/${TRIPLET_SYSTEM_ARCH}_debug/ChakraCore.dll | ||
${SOURCE_PATH}/Build/VcBuild/bin/${TRIPLET_SYSTEM_ARCH}_debug/ChakraCore.pdb | ||
DESTINATION ${CURRENT_PACKAGES_DIR}/debug/bin | ||
) | ||
file(INSTALL | ||
${SOURCE_PATH}/Build/VcBuild/bin/${TRIPLET_SYSTEM_ARCH}_debug/Chakracore.lib | ||
DESTINATION ${CURRENT_PACKAGES_DIR}/debug/lib | ||
) | ||
file(INSTALL | ||
${SOURCE_PATH}/Build/VcBuild/bin/${TRIPLET_SYSTEM_ARCH}_release/ChakraCore.dll | ||
${SOURCE_PATH}/Build/VcBuild/bin/${TRIPLET_SYSTEM_ARCH}_release/ChakraCore.pdb | ||
DESTINATION ${CURRENT_PACKAGES_DIR}/bin | ||
) | ||
file(INSTALL | ||
${SOURCE_PATH}/Build/VcBuild/bin/${TRIPLET_SYSTEM_ARCH}_release/Chakracore.lib | ||
DESTINATION ${CURRENT_PACKAGES_DIR}/lib | ||
) | ||
file(INSTALL | ||
${SOURCE_PATH}/LICENSE.txt | ||
DESTINATION ${CURRENT_PACKAGES_DIR}/share/ChakraCore RENAME copyright) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
Source: harfbuzz | ||
Version: 1.3.2 | ||
Description: HarfBuzz OpenType text shaping engine | ||
Build-depends: ragel |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Source: rxcpp | ||
Version: 2.3.0 | ||
Description: Reactive Extensions for C++ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
include(${CMAKE_TRIPLET_FILE}) | ||
include(vcpkg_common_functions) | ||
set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/RxCpp-2.3.0) | ||
vcpkg_download_distfile(ARCHIVE_FILE | ||
URLS "https://github.com/Reactive-Extensions/RxCpp/archive/v2.3.0.tar.gz" | ||
FILENAME "RxCpp-2.3.0.tar.gz" | ||
SHA512 180cf36777b0c14e989b4b79f01fcda7ecabfe4b3cee3ad7343138497578af02745de63f74941ec228eac3fccca4a7dfdfdd1c4d16a89438022dca6f9968953f | ||
) | ||
vcpkg_extract_source_archive(${ARCHIVE_FILE}) | ||
|
||
file(INSTALL | ||
${SOURCE_PATH}/Rx/v2/src/rxcpp | ||
DESTINATION ${CURRENT_PACKAGES_DIR}/include | ||
) | ||
|
||
file(INSTALL | ||
${SOURCE_PATH}/Ix/CPP/src/cpplinq | ||
DESTINATION ${CURRENT_PACKAGES_DIR}/include | ||
) | ||
|
||
file(INSTALL | ||
${SOURCE_PATH}/license.md | ||
DESTINATION ${CURRENT_PACKAGES_DIR}/share/rxcpp RENAME copyright) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters