[gettext] Handle runtime for unix tools (#33030)

* [gettext] Handle runtime for unix tools

* CI

* CI

* CI

* CI

* CI
This commit is contained in:
Kai Pastor 2023-08-23 20:46:39 +02:00 committed by GitHub
parent ef3a0e1cb7
commit e91d6617db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 14 additions and 2 deletions

View File

@ -153,6 +153,13 @@ if(subdirs)
vcpkg_install_make()
vcpkg_copy_pdbs()
vcpkg_copy_tool_dependencies("${CURRENT_PACKAGES_DIR}/tools/${PORT}/bin")
file(GLOB unix_runtime LIST_DIRECTORIES false
"${CURRENT_PACKAGES_DIR}/lib/libgettext*${VCPKG_TARGET_SHARED_LIBRARY_SUFFIX}*"
"${CURRENT_PACKAGES_DIR}/lib/libtextstyle*${VCPKG_TARGET_SHARED_LIBRARY_SUFFIX}*"
)
if(unix_runtime)
file(INSTALL ${unix_runtime} DESTINATION "${CURRENT_PACKAGES_DIR}/tools/${PORT}/bin")
endif()
file(GLOB link_libs LIST_DIRECTORIES false "${CURRENT_PACKAGES_DIR}/lib/*" "${CURRENT_PACKAGES_DIR}/bin/*.dll")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/include" ${link_libs})
endif()

View File

@ -1,7 +1,7 @@
{
"name": "gettext",
"version": "0.21.1",
"port-version": 2,
"port-version": 3,
"description": "A GNU framework to help produce multi-lingual messages.",
"homepage": "https://www.gnu.org/software/gettext/",
"license": "GPL-3.0-only",

View File

@ -2842,7 +2842,7 @@
},
"gettext": {
"baseline": "0.21.1",
"port-version": 2
"port-version": 3
},
"gettext-libintl": {
"baseline": "0.21.1",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "20e8e3535959bba6066d8887bb1c95e622d86f5a",
"version": "0.21.1",
"port-version": 3
},
{
"git-tree": "0915f060ea0fb91c5a2356f2171de0a714e79437",
"version": "0.21.1",