diff options
| author | Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com> | 2020-02-05 03:32:03 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-02-04 11:32:03 -0800 |
| commit | fa022fb0fb85c627c8b55c574668b36cade71ac8 (patch) | |
| tree | ae370e32177287d27ca4ec3059a37082aa43b748 /ports | |
| parent | 85bf9d9d792e379e973d66c8af9f39d65d1d6d42 (diff) | |
| download | vcpkg-fa022fb0fb85c627c8b55c574668b36cade71ac8.tar.gz vcpkg-fa022fb0fb85c627c8b55c574668b36cade71ac8.zip | |
[tools] Add python64 bit. (#7964)
* [tools]Add python64 bit.
* [pybind11/shiva]Add version number.
* [duktape]Fix build error using python64 bit.
* [duktape]Fix python2 path.
* [duktape]Fix duketape build: using python2 tools.
* Change subdirs and archive names for PYTHON2 and PYTHON3
* [duktape] Update version info
* [shiva] Add homepage
* update baseline
* update baseline
Co-authored-by: Victor Romero <romerosanchezv@gmail.com>
Diffstat (limited to 'ports')
| -rw-r--r-- | ports/duktape/CMakeLists.txt | 2 | ||||
| -rw-r--r-- | ports/duktape/CONTROL | 8 | ||||
| -rw-r--r-- | ports/duktape/portfile.cmake | 14 | ||||
| -rw-r--r-- | ports/shiva/CONTROL | 3 | ||||
| -rw-r--r-- | ports/shiva/portfile.cmake | 2 |
5 files changed, 16 insertions, 13 deletions
diff --git a/ports/duktape/CMakeLists.txt b/ports/duktape/CMakeLists.txt index ebf2f32d8..56303d3d9 100644 --- a/ports/duktape/CMakeLists.txt +++ b/ports/duktape/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.14) +cmake_minimum_required(VERSION 3.13) set(duktape_MAJOR_VERSION 2) diff --git a/ports/duktape/CONTROL b/ports/duktape/CONTROL index 8311a60a0..64dcff2b2 100644 --- a/ports/duktape/CONTROL +++ b/ports/duktape/CONTROL @@ -1,4 +1,4 @@ -Source: duktape
-Version: 2.4.0-6
-Homepage: https://github.com/svaarala/duktape
-Description: Embeddable Javascript engine with a focus on portability and compact footprint.
+Source: duktape +Version: 2.4.0-7 +Homepage: https://github.com/svaarala/duktape +Description: Embeddable Javascript engine with a focus on portability and compact footprint. diff --git a/ports/duktape/portfile.cmake b/ports/duktape/portfile.cmake index 477c76c35..7647d0fc4 100644 --- a/ports/duktape/portfile.cmake +++ b/ports/duktape/portfile.cmake @@ -1,6 +1,4 @@ -include(vcpkg_common_functions) - -if(VCPKG_CMAKE_SYSTEM_NAME STREQUAL "Linux") +if(VCPKG_TARGET_IS_LINUX) message("${PORT} currently requires the following tools from the system package manager:\n python-yaml\n\nThis can be installed on Ubuntu systems via apt-get install python-yaml PYTHON2-yaml (depending on your current python default interpreter)") endif() @@ -16,7 +14,7 @@ file(COPY ${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt DESTINATION ${SOURCE_PATH}) file(COPY ${CMAKE_CURRENT_LIST_DIR}/duktapeConfig.cmake.in DESTINATION ${SOURCE_PATH}) file(COPY ${CMAKE_CURRENT_LIST_DIR}/usage DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT}) -if(VCPKG_TARGET_IS_WINDOWS) +if (VCPKG_TARGET_IS_WINDOWS) set(EXECUTABLE_SUFFIX ".exe") set(PYTHON_OPTION "") else() @@ -27,6 +25,7 @@ endif() vcpkg_find_acquire_program(PYTHON2) get_filename_component(PYTHON2_DIR "${PYTHON2}" DIRECTORY) vcpkg_add_to_path("${PYTHON2_DIR}") + if(NOT EXISTS ${PYTHON2_DIR}/easy_install${EXECUTABLE_SUFFIX}) if(NOT EXISTS ${PYTHON2_DIR}/Scripts/pip${EXECUTABLE_SUFFIX}) vcpkg_from_github( @@ -43,7 +42,11 @@ else() execute_process(COMMAND ${PYTHON2_DIR}/easy_install${EXECUTABLE_SUFFIX} pyyaml) endif() -execute_process(COMMAND ${PYTHON2} ${SOURCE_PATH}/tools/configure.py --source-directory ${SOURCE_PATH}/src-input --output-directory ${SOURCE_PATH}/src --config-metadata ${SOURCE_PATH}/config -DDUK_USE_FASTINT) +vcpkg_execute_required_process( + COMMAND ${PYTHON2} tools/configure.py --source-directory src-input --output-directory src --config-metadata config -DDUK_USE_FASTINT + WORKING_DIRECTORY ${SOURCE_PATH} + LOGNAME pre-configure +) if(VCPKG_LIBRARY_LINKAGE STREQUAL dynamic) set(DUK_CONFIG_H_PATH "${SOURCE_PATH}/src/duk_config.h") @@ -63,6 +66,7 @@ vcpkg_configure_cmake( ) vcpkg_install_cmake() +vcpkg_copy_pdbs() file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include) diff --git a/ports/shiva/CONTROL b/ports/shiva/CONTROL index 0ce81203d..2c235fd63 100644 --- a/ports/shiva/CONTROL +++ b/ports/shiva/CONTROL @@ -1,4 +1,5 @@ Source: shiva
-Version: 1.0-2
+Version: 1.0-3
+Homepage: https://github.com/Milerius/shiva
Description: Modern C++ Game Engine
Build-Depends: boost-stacktrace, boost-filesystem, boost-dll, entt, lua, luafilesystem (windows), sol2, pybind11, spdlog, nlohmann-json
diff --git a/ports/shiva/portfile.cmake b/ports/shiva/portfile.cmake index 372c318e0..72beec0e0 100644 --- a/ports/shiva/portfile.cmake +++ b/ports/shiva/portfile.cmake @@ -1,5 +1,3 @@ -include(vcpkg_common_functions)
-
vcpkg_find_acquire_program(PYTHON2)
vcpkg_from_github(
|
