Skip to content

Commit

Permalink
[scintilla] Upgrade to 4.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
ras0219-msft committed Feb 24, 2018
1 parent d90b38c commit 3638b0d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
2 changes: 1 addition & 1 deletion ports/scintilla/CONTROL
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Source: scintilla
Version: 3.7.6-1
Version: 4.0.3
Description: A free source code editing component for Win32, GTK+, and OS X
16 changes: 7 additions & 9 deletions ports/scintilla/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ endif()
include(vcpkg_common_functions)
set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}/scintilla)
vcpkg_download_distfile(ARCHIVE
URLS "http://www.scintilla.org/scintilla376.zip"
FILENAME "scintilla376.zip"
SHA512 618a50405eede3277d7696ac58122aeeb490d10ae392c60c7f78baaa96c965a8e1a599948e0ebd61bed7f75894b01bdf4574a0e5d0e20996bfdfb2e1bdb33203
URLS "http://www.scintilla.org/scintilla403.zip"
FILENAME "scintilla403.zip"
SHA512 51704651e99a6b51afff9957676afcf71fa1cc289c1713402c6e50c44a12ec956d5216751ebbbe6f251a23fa8c974510e7c9f37cb66f25f69c30e500e426baad
)
file(REMOVE_RECURSE ${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET})
vcpkg_extract_source_archive(${ARCHIVE} ${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET})
Expand Down Expand Up @@ -41,12 +41,10 @@ else()
set(BUILD_DIR_RELEASE "${BUILD_ARCH}/Release")
endif()

if(VCPKG_LIBRARY_LINKAGE MATCHES "dynamic")
file(INSTALL ${SOURCE_PATH}/win32/${BUILD_DIR_RELEASE}/SciLexer.dll DESTINATION ${CURRENT_PACKAGES_DIR}/bin)
file(INSTALL ${SOURCE_PATH}/win32/${BUILD_DIR_DEBUG}/SciLexer.dll DESTINATION ${CURRENT_PACKAGES_DIR}/debug/bin)
endif()
file(INSTALL ${SOURCE_PATH}/win32/${BUILD_DIR_RELEASE}/SciLexer.lib DESTINATION ${CURRENT_PACKAGES_DIR}/lib)
file(INSTALL ${SOURCE_PATH}/win32/${BUILD_DIR_DEBUG}/SciLexer.lib DESTINATION ${CURRENT_PACKAGES_DIR}/debug/lib)
file(INSTALL ${SOURCE_PATH}/win32/${BUILD_DIR_RELEASE}/SciLexer.dll DESTINATION ${CURRENT_PACKAGES_DIR}/bin)
file(INSTALL ${SOURCE_PATH}/win32/${BUILD_DIR_DEBUG}/SciLexer.dll DESTINATION ${CURRENT_PACKAGES_DIR}/debug/bin)
file(INSTALL ${SOURCE_PATH}/win32/${BUILD_DIR_RELEASE}/SciLexer.lib DESTINATION ${CURRENT_PACKAGES_DIR}/lib)
file(INSTALL ${SOURCE_PATH}/win32/${BUILD_DIR_DEBUG}/SciLexer.lib DESTINATION ${CURRENT_PACKAGES_DIR}/debug/lib)

# Handle PDBs

Expand Down

0 comments on commit 3638b0d

Please sign in to comment.