Updated libidn2 to version 2.0.5.

This commit is contained in:
LazyHamster 2019-01-01 12:59:12 +03:00
parent ff9e982d26
commit 6f398da249
3 changed files with 8 additions and 8 deletions

View File

@ -1,4 +1,4 @@
Source: libidn2
Version: 2.0.4
Version: 2.0.5
Build-Depends: libiconv
Description: GNU Libidn is an implementation of the Stringprep, Punycode and IDNA 2003 specifications. Libidn's purpose is to encode and decode internationalized domain names.

View File

@ -670,7 +670,7 @@
/* #undef PACKAGE_PACKAGER_VERSION */
/* Define to the full name and version of this package. */
#define PACKAGE_STRING "libidn2 2.0.4"
#define PACKAGE_STRING "libidn2 @IDN2_VERSION@"
/* Define to the one symbol short name of this package. */
#define PACKAGE_TARNAME "libidn2"
@ -679,7 +679,7 @@
#define PACKAGE_URL "https://www.gnu.org/software/libidn/#libidn2"
/* Define to the version of this package. */
#define PACKAGE_VERSION "2.0.4"
#define PACKAGE_VERSION "@IDN2_VERSION@"
/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
'ptrdiff_t'. */
@ -771,7 +771,7 @@
/* Version number of package */
#define VERSION "2.0.4"
#define VERSION "@IDN2_VERSION@"
/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
'wchar_t'. */

View File

@ -1,21 +1,21 @@
include(vcpkg_common_functions)
set(IDN2_VERSION 2.0.4)
set(IDN2_VERSION 2.0.5)
set(IDN2_FILENAME libidn2-${IDN2_VERSION}.tar.gz)
set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/libidn2-${IDN2_VERSION})
vcpkg_download_distfile(ARCHIVE
URLS "http://ftp.gnu.org/gnu/libidn/${IDN2_FILENAME}"
FILENAME "${IDN2_FILENAME}"
SHA512 1e51bd4b8f8907531576291f1c2a8865d17429b4105418b4c98754eb982cd1cbb3adbeab4ec0c1c561d2dba11d876c7c09e5dc5b315c55a2c24986d7a2a3b4d2
SHA512 9d040d60de40316788825d8720d509d5b8a82287415e09e17792c2f32fad99ca77f43e55888b9484db69426eaa0ece59e9671eee9cc46411afbdb0f81af31a79
)
vcpkg_extract_source_archive(${ARCHIVE})
file(COPY ${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt DESTINATION ${SOURCE_PATH})
file(COPY ${CMAKE_CURRENT_LIST_DIR}/config.h DESTINATION ${SOURCE_PATH})
file(COPY ${CMAKE_CURRENT_LIST_DIR}/string.h DESTINATION ${SOURCE_PATH}/gl)
configure_file(${CMAKE_CURRENT_LIST_DIR}/config.h ${SOURCE_PATH})
function(simple_copy_template_header FILE_PATH BASE_NAME)
if(NOT EXISTS ${FILE_PATH}/${BASE_NAME}.h)
if(EXISTS ${FILE_PATH}/${BASE_NAME}.in.h)