[utf8proc] update to 2.7.0 (#25088)

* utf8proc update to 2.7.0

* update versions

* format patch

* overwrite version

* add license

* update version
This commit is contained in:
Frank 2022-06-07 00:42:50 +08:00 committed by GitHub
parent afe45473f4
commit d431830118
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 22 additions and 17 deletions

View File

@ -1,8 +1,8 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index ea6b80e..5e5e829 100644
index edf1d80..bf9d982 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -22,7 +22,7 @@ add_library (utf8proc
@@ -26,7 +26,7 @@ add_library (utf8proc
)
# expose header path, for when this is part of a larger cmake project
@ -11,17 +11,16 @@ index ea6b80e..5e5e829 100644
if (BUILD_SHARED_LIBS)
# Building shared library
@@ -51,10 +51,13 @@ set_target_properties (utf8proc PROPERTIES
if (UTF8PROC_INSTALL)
@@ -57,10 +57,12 @@ if (UTF8PROC_INSTALL)
include(GNUInstallDirs)
install(FILES utf8proc.h DESTINATION "${CMAKE_INSTALL_FULL_INCLUDEDIR}")
install(TARGETS utf8proc
+ EXPORT unofficial-utf8proc-config
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib
ARCHIVE DESTINATION lib)
ARCHIVE DESTINATION "${CMAKE_INSTALL_FULL_LIBDIR}"
LIBRARY DESTINATION "${CMAKE_INSTALL_FULL_LIBDIR}"
RUNTIME DESTINATION "${CMAKE_INSTALL_FULL_BINDIR}"
)
+ install(EXPORT unofficial-utf8proc-config DESTINATION share/unofficial-utf8proc)
+
install(
FILES
"${PROJECT_SOURCE_DIR}/utf8proc.h"
configure_file(libutf8proc.pc.cmakein libutf8proc.pc @ONLY)
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/libutf8proc.pc" DESTINATION "${CMAKE_INSTALL_FULL_LIBDIR}/pkgconfig")
endif()

View File

@ -1,8 +1,8 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO JuliaLang/utf8proc
REF 3203baa7374d67132384e2830b2183c92351bffc # v2.6.1
SHA512 582831c4c2d118f1c6f9e6de812878b96428d8fa1b9a2bbca32633a3853cb1981c917c724d2a8db51282ed13fd1654ca45f5d227731f5b90b17e7fc3acc93b07
REF 8ca6144c85c165987cb1c5d8395c7314e13d4cd7 # v2.7.0
SHA512 a33e2335e9978e7a49bc0ecf9128abd93466d9daffb052f9db88097e771588547df6ba07b6028c77621e60f3b85eab78a368d9b8266ecb97ad7bdfae2b4866fc
PATCHES
export-cmake-targets.patch
)

View File

@ -1,8 +1,9 @@
{
"name": "utf8proc",
"version": "2.6.1",
"version": "2.7.0",
"description": "Clean C library for processing UTF-8 Unicode data.",
"homepage": "https://github.com/JuliaLang/utf8proc",
"license": "MIT",
"dependencies": [
{
"name": "vcpkg-cmake",

View File

@ -7281,7 +7281,7 @@
"port-version": 0
},
"utf8proc": {
"baseline": "2.6.1",
"baseline": "2.7.0",
"port-version": 0
},
"utfcpp": {

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "e50e6a4b5de0d3eab7fe13920d1358b83230fd36",
"version": "2.7.0",
"port-version": 0
},
{
"git-tree": "659423c8c76de9194980ba25a2755bde258ed173",
"version": "2.6.1",