[libiconv] use vcpkg_install_copyright() (#32475)

- [x] Changes comply with the [maintainer
guide](https://github.com/microsoft/vcpkg-docs/blob/main/vcpkg/contributing/maintainer-guide.md)
- [ ] ~~SHA512s are updated for each updated download~~
- [ ] ~~The "supports" clause reflects platforms that may be fixed by
this new version~~
- [ ] ~~Any fixed [CI
baseline](https://github.com/microsoft/vcpkg/blob/master/scripts/ci.baseline.txt)
entries are removed from that file.~~
- [ ] ~~Any patches that are no longer applied are deleted from the
port's directory.~~
- [x] The version database is fixed by rerunning `./vcpkg x-add-version
--all` and committing the result.
- [x] Only one version is added to each modified port's versions file.

---------

Co-authored-by: jim wang <122244446+jimwang118@users.noreply.github.com>
This commit is contained in:
Marc 2024-03-11 21:03:12 +01:00 committed by GitHub
parent 377ccc2a4f
commit 0741a592e0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 11 additions and 15 deletions

View File

@ -50,19 +50,10 @@ file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/share/${PORT}") # share contains un
# Please keep, the default usage is broken
file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
file(READ "${SOURCE_PATH}/COPYING.LIB" copying_lib)
file(READ "${SOURCE_PATH}/COPYING" copying_tool)
file(WRITE "${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright" "
# Handle copyright
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/COPYING.LIB" "${SOURCE_PATH}/COPYING" COMMENT "
The libiconv and libcharset libraries and their header files are under LGPL,
see COPYING.LIB below.
The iconv program and the documentation are under GPL, see COPYING below.
# COPYING.LIB
${copying_lib}
# COPYING
${copying_tool}
")
The iconv program and the documentation are under GPL, see COPYING below.")

View File

@ -1,7 +1,7 @@
{
"name": "libiconv",
"version": "1.17",
"port-version": 2,
"port-version": 3,
"description": "GNU Unicode text conversion",
"homepage": "https://www.gnu.org/software/libiconv/",
"license": null

View File

@ -4474,7 +4474,7 @@
},
"libiconv": {
"baseline": "1.17",
"port-version": 2
"port-version": 3
},
"libics": {
"baseline": "1.6.6",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "0d6e7ebdbfeca59f047e66f632d1d38c2659fc14",
"version": "1.17",
"port-version": 3
},
{
"git-tree": "6103c3aaaf279f20df4c758fd25d5954c8582cbd",
"version": "1.17",