aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpravic <ehysta@gmail.com>2020-02-12 10:19:34 +0300
committerGitHub <noreply@github.com>2020-02-11 23:19:34 -0800
commit110ed91c05b2c2cfc3e3f1b84736fa607007a9ba (patch)
tree777382b5ca491bdcb2ef93dce1d9fc3c35579144
parentf0ea08adea05a506b4b370a9e32dda38212b0eff (diff)
downloadvcpkg-110ed91c05b2c2cfc3e3f1b84736fa607007a9ba.tar.gz
vcpkg-110ed91c05b2c2cfc3e3f1b84736fa607007a9ba.zip
[sciter] Update to 4.4.0.7.7393 (#10022)
-rw-r--r--ports/sciter/0001_patch_stdafx.patch12
-rw-r--r--ports/sciter/CONTROL2
-rw-r--r--ports/sciter/portfile.cmake33
3 files changed, 20 insertions, 27 deletions
diff --git a/ports/sciter/0001_patch_stdafx.patch b/ports/sciter/0001_patch_stdafx.patch
deleted file mode 100644
index b4a85d5d3..000000000
--- a/ports/sciter/0001_patch_stdafx.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff --git a/include/sciter-win-main.cpp b/include/sciter-win-main.cpp
-index 9f2699e..104b70a 100644
---- a/include/sciter-win-main.cpp
-+++ b/include/sciter-win-main.cpp
-@@ -1,4 +1,6 @@
--#include "stdafx.h"
-+// It is better to disable stdafx.h by default.
-+// And enable it explicitly via /Fstdafx.h compiler option (C/C++ - Advanced - Force Include File).
-+// #include "stdafx.h"
-
- #include <vector>
-
diff --git a/ports/sciter/CONTROL b/ports/sciter/CONTROL
index b835b87e1..a760561e9 100644
--- a/ports/sciter/CONTROL
+++ b/ports/sciter/CONTROL
@@ -1,5 +1,5 @@
Source: sciter
-Version: 4.2.6.9-2
+Version: 4.4.0.7
Homepage: https://github.com/c-smile/sciter-sdk
Description: Sciter is an embeddable HTML/CSS/scripting engine.
Supports: !uwp \ No newline at end of file
diff --git a/ports/sciter/portfile.cmake b/ports/sciter/portfile.cmake
index 05fb42408..f148d4148 100644
--- a/ports/sciter/portfile.cmake
+++ b/ports/sciter/portfile.cmake
@@ -9,22 +9,22 @@ endif()
# header-only library
set(VCPKG_POLICY_DLLS_WITHOUT_LIBS enabled)
-set(SCITER_REVISION c926703b2cce972875e7f6379c525eef66c95986)
-set(SCITER_SHA 9a87ce12db9b2ef1e3abce3e475a9413a8a9301bab3d17341c94d4281e3bf616347ba8a4089f756ec38fed311bb4ee9045c8f85d0c40039ed3c0b96413aceeb4)
+set(SCITER_REVISION 507dce1bed69d6ef7a0d5c7628cb7eb8680e0438)
+set(SCITER_SHA 24ccc7d09247ea84a5a3e3c479dc6eb99b4115a89fec8e766874f706addee163b327f5380632b554b02074423f97097f993f8d361d8948800f6477de2b4ab5b5)
if(VCPKG_TARGET_ARCHITECTURE STREQUAL x64)
- set(SCITER_ARCH 64)
+ set(SCITER_ARCH x64)
elseif(VCPKG_TARGET_ARCHITECTURE STREQUAL x86)
- set(SCITER_ARCH 32)
+ set(SCITER_ARCH x32)
endif()
+# check out the `https://github.com/c-smile/sciter-sdk/archive/${SCITER_REVISION}.tar.gz`
+# hash checksum can be obtained with `curl -L -o tmp.tgz ${URL} && vcpkg hash tmp.tgz`
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO c-smile/sciter-sdk
REF ${SCITER_REVISION}
SHA512 ${SCITER_SHA}
- PATCHES
- 0001_patch_stdafx.patch
)
# install include directory
@@ -51,9 +51,11 @@ file(COPY ${SOURCE_PATH}/widgets DESTINATION ${SCITER_SHARE})
# tools
if(VCPKG_CMAKE_SYSTEM_NAME STREQUAL Linux AND VCPKG_TARGET_ARCHITECTURE STREQUAL x64)
- set(SCITER_BIN ${SOURCE_PATH}/bin.gtk/x64)
+ set(SCITER_BIN ${SOURCE_PATH}/bin.lnx/x64)
+
+ file(INSTALL ${SOURCE_PATH}/bin.lnx/packfolder DESTINATION ${SCITER_TOOLS} ${TOOL_PERMS})
+ file(INSTALL ${SOURCE_PATH}/bin.lnx/tiscript DESTINATION ${SCITER_TOOLS} ${TOOL_PERMS})
- file(INSTALL ${SCITER_BIN}/packfolder DESTINATION ${SCITER_TOOLS} ${TOOL_PERMS})
file(INSTALL ${SCITER_BIN}/usciter DESTINATION ${SCITER_TOOLS} ${TOOL_PERMS})
file(INSTALL ${SCITER_BIN}/inspector DESTINATION ${SCITER_TOOLS} ${TOOL_PERMS})
file(INSTALL ${SCITER_BIN}/libsciter-gtk.so DESTINATION ${SCITER_TOOLS})
@@ -65,6 +67,8 @@ elseif(VCPKG_CMAKE_SYSTEM_NAME STREQUAL Darwin)
set(SCITER_BIN ${SOURCE_PATH}/bin.osx)
file(INSTALL ${SCITER_BIN}/packfolder DESTINATION ${SCITER_TOOLS} ${TOOL_PERMS})
+ file(INSTALL ${SCITER_BIN}/tiscript DESTINATION ${SCITER_TOOLS} ${TOOL_PERMS})
+
file(INSTALL ${SCITER_BIN}/inspector.app DESTINATION ${SCITER_TOOLS})
file(INSTALL ${SCITER_BIN}/sciter.app DESTINATION ${SCITER_TOOLS})
file(INSTALL ${SCITER_BIN}/sciter-osx-64.dylib DESTINATION ${SCITER_TOOLS})
@@ -73,14 +77,15 @@ elseif(VCPKG_CMAKE_SYSTEM_NAME STREQUAL Darwin)
file(INSTALL ${SCITER_BIN}/sciter-osx-64.dylib DESTINATION ${CURRENT_PACKAGES_DIR}/debug/bin)
else()
- set(SCITER_BIN ${SOURCE_PATH}/bin/${SCITER_ARCH})
+ set(SCITER_BIN ${SOURCE_PATH}/bin.win/${SCITER_ARCH})
+ set(SCITER_BIN32 ${SOURCE_PATH}/bin.win/x32)
- file(INSTALL ${SOURCE_PATH}/bin/packfolder.exe DESTINATION ${SCITER_TOOLS})
- file(INSTALL ${SOURCE_PATH}/bin/tiscript.exe DESTINATION ${SCITER_TOOLS})
+ file(INSTALL ${SOURCE_PATH}/bin.win/packfolder.exe DESTINATION ${SCITER_TOOLS})
+ file(INSTALL ${SOURCE_PATH}/bin.win/tiscript.exe DESTINATION ${SCITER_TOOLS})
- file(INSTALL ${SCITER_BIN}/sciter.exe DESTINATION ${SCITER_TOOLS})
- file(INSTALL ${SCITER_BIN}/inspector.exe DESTINATION ${SCITER_TOOLS})
- file(INSTALL ${SCITER_BIN}/sciter.dll DESTINATION ${SCITER_TOOLS})
+ file(INSTALL ${SCITER_BIN32}/wsciter.exe DESTINATION ${SCITER_TOOLS})
+ file(INSTALL ${SCITER_BIN32}/inspector.exe DESTINATION ${SCITER_TOOLS})
+ file(INSTALL ${SCITER_BIN32}/sciter.dll DESTINATION ${SCITER_TOOLS})
file(INSTALL ${SCITER_BIN}/sciter.dll DESTINATION ${CURRENT_PACKAGES_DIR}/bin)
file(INSTALL ${SCITER_BIN}/sciter.dll DESTINATION ${CURRENT_PACKAGES_DIR}/debug/bin)