mirror of https://github.com/microsoft/vcpkg.git
[ncurses] Update to 6.5 (#47458)
Co-authored-by: toge <toge.mail@gmail.com>
This commit is contained in:
parent
e852b184b0
commit
6421c16ca7
|
|
@ -5,7 +5,7 @@ vcpkg_download_distfile(
|
|||
"ftp://ftp.invisible-island.net/ncurses/ncurses-${VERSION}.tar.gz"
|
||||
"https://ftp.gnu.org/gnu/ncurses/ncurses-${VERSION}.tar.gz"
|
||||
FILENAME "ncurses-${VERSION}.tgz"
|
||||
SHA512 1c2efff87a82a57e57b0c60023c87bae93f6718114c8f9dc010d4c21119a2f7576d0225dab5f0a227c2cfc6fb6bdbd62728e407f35fce5bf351bb50cf9e0fd34
|
||||
SHA512 fc5a13409d2a530a1325776dcce3a99127ddc2c03999cfeb0065d0eee2d68456274fb1c7b3cc99c1937bc657d0e7fca97016e147f93c7821b5a4a6837db821e8
|
||||
)
|
||||
|
||||
vcpkg_extract_source_archive(
|
||||
|
|
@ -37,6 +37,12 @@ if(VCPKG_TARGET_IS_MINGW)
|
|||
)
|
||||
endif()
|
||||
|
||||
if("check-size" IN_LIST FEATURES)
|
||||
list(APPEND OPTIONS
|
||||
--enable-check-size
|
||||
)
|
||||
endif()
|
||||
|
||||
vcpkg_cmake_get_vars(cmake_vars_file)
|
||||
include("${cmake_vars_file}")
|
||||
|
||||
|
|
@ -54,6 +60,8 @@ vcpkg_configure_make(
|
|||
OPTIONS
|
||||
${OPTIONS}
|
||||
--disable-db-install
|
||||
--disable-pkg-ldflags
|
||||
--disable-rpath-hack
|
||||
--enable-pc-files
|
||||
--without-ada
|
||||
--without-debug # "lib model"
|
||||
|
|
@ -64,9 +72,17 @@ vcpkg_configure_make(
|
|||
--with-pkg-config-libdir=libdir
|
||||
)
|
||||
vcpkg_install_make()
|
||||
|
||||
vcpkg_fixup_pkgconfig()
|
||||
|
||||
file(GLOB pcfiles_release "${CURRENT_PACKAGES_DIR}/lib/pkgconfig/*.pc")
|
||||
foreach(file IN LISTS pcfiles_release)
|
||||
vcpkg_replace_string("${file}" [[ "-I${prefix}/include"]] "")
|
||||
endforeach()
|
||||
file(GLOB pcfiles_debug "${CURRENT_PACKAGES_DIR}/debug/lib/pkgconfig/*.pc")
|
||||
foreach(file IN LISTS pcfiles_debug)
|
||||
vcpkg_replace_string("${file}" [[ "-I${prefix}/../include"]] "")
|
||||
endforeach()
|
||||
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin")
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/bin")
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
||||
|
|
|
|||
|
|
@ -1,8 +1,10 @@
|
|||
{
|
||||
"name": "ncurses",
|
||||
"version": "6.4",
|
||||
"port-version": 3,
|
||||
"description": "Free software emulation of curses in System V Release 4.0, and more",
|
||||
"version": "6.5",
|
||||
"description": [
|
||||
"Free software emulation of curses in System V Release 4.0, and more.",
|
||||
"This port installs a wide character configuration (ncursesw)."
|
||||
],
|
||||
"homepage": "https://invisible-island.net/ncurses/announce.html",
|
||||
"license": "MIT",
|
||||
"supports": "!windows | mingw",
|
||||
|
|
@ -11,5 +13,10 @@
|
|||
"name": "vcpkg-cmake-get-vars",
|
||||
"host": true
|
||||
}
|
||||
]
|
||||
],
|
||||
"features": {
|
||||
"check-size": {
|
||||
"description": "Detect screensize of serial terminals"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -32,7 +32,9 @@ set(FIND_PACKAGES "" CACHE STRING "List of packages to be found and used")
|
|||
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}")
|
||||
foreach(package ${FIND_PACKAGES})
|
||||
set(extra_args "")
|
||||
if(package STREQUAL "ICU")
|
||||
if(package STREQUAL "Curses")
|
||||
set(CURSES_NEED_WIDE 1)
|
||||
elseif(package STREQUAL "ICU")
|
||||
set(extra_args COMPONENTS uc)
|
||||
endif()
|
||||
string(TOUPPER "${package}" package_upper)
|
||||
|
|
|
|||
|
|
@ -60,7 +60,7 @@ else()
|
|||
set(tool_names cmake cmake-gui ctest cpack)
|
||||
if(VCPKG_TARGET_IS_WINDOWS)
|
||||
list(APPEND tool_names cmcldeps)
|
||||
else()
|
||||
elseif(NOT VCPKG_TARGET_IS_ANDROID)
|
||||
list(APPEND tool_names ccmake)
|
||||
endif()
|
||||
vcpkg_copy_tools(TOOL_NAMES ${tool_names} AUTO_CLEAN)
|
||||
|
|
|
|||
|
|
@ -6669,8 +6669,8 @@
|
|||
"port-version": 0
|
||||
},
|
||||
"ncurses": {
|
||||
"baseline": "6.4",
|
||||
"port-version": 3
|
||||
"baseline": "6.5",
|
||||
"port-version": 0
|
||||
},
|
||||
"ndis-driver-library": {
|
||||
"baseline": "1.2.0",
|
||||
|
|
|
|||
|
|
@ -1,5 +1,10 @@
|
|||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "ed26b2981b8cd1da1da7f35bee17631fa5da0131",
|
||||
"version": "6.5",
|
||||
"port-version": 0
|
||||
},
|
||||
{
|
||||
"git-tree": "7b3a246cf66808e473b8cc1ff06e1a8a185b712d",
|
||||
"version": "6.4",
|
||||
|
|
|
|||
Loading…
Reference in New Issue