[libgpg-error] Remove COPYING.LIB from lib folder (#18492)

* [libgpg-error] Remove COPYING.LIB from lib folder

* Update version files
This commit is contained in:
NancyLi1013 2021-06-19 01:57:11 +08:00 committed by GitHub
parent 926daf3fc2
commit 4ba9ac395d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 13 additions and 6 deletions

View File

@ -67,6 +67,7 @@ if(VCPKG_TARGET_IS_WINDOWS)
configure_file("${SOURCE_PATH}/src/gpg-error.pc.in" "${CURRENT_PACKAGES_DIR}/debug/lib/pkgconfig/gpg-error.pc" @ONLY)
vcpkg_fixup_pkgconfig()
vcpkg_copy_pdbs()
file(REMOVE "${CURRENT_PACKAGES_DIR}/lib/COPYING.LIB" "${CURRENT_PACKAGES_DIR}/debug/lib/COPYING.LIB")
else()
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
@ -74,8 +75,8 @@ else()
REF libgpg-error-${PACKAGE_VERSION}
SHA512 f5a1c1874ac1dee36ee01504f1ab0146506aa7af810879e192eac17a31ec81945fe850953ea1c57188590c023ce3ff195c7cab62af486b731fa1534546d66ba3
HEAD_REF master
PATCHES
add_cflags_to_tools.patch
PATCHES
add_cflags_to_tools.patch
)
vcpkg_configure_make(
@ -91,6 +92,6 @@ else()
vcpkg_fixup_pkgconfig()
vcpkg_copy_pdbs()
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/share/${PORT}/locale ${CURRENT_PACKAGES_DIR}/debug/share)
file(INSTALL ${SOURCE_PATH}/COPYING.LIB DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
endif()
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/share/${PORT}/locale" "${CURRENT_PACKAGES_DIR}/debug/share")
file(INSTALL "${SOURCE_PATH}/COPYING.LIB" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
endif()

View File

@ -1,6 +1,7 @@
{
"name": "libgpg-error",
"version": "1.42",
"port-version": 1,
"description": "A common dependency of all GnuPG components",
"homepage": "https://gnupg.org/software/libgpg-error/index.html",
"supports": "!(windows & (arm | arm64))"

View File

@ -3178,7 +3178,7 @@
},
"libgpg-error": {
"baseline": "1.42",
"port-version": 0
"port-version": 1
},
"libgpod": {
"baseline": "2019-08-29",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "b5abbf9cf832337e202ff5d8d4296025b47be1a0",
"version": "1.42",
"port-version": 1
},
{
"git-tree": "80b315c6991fd5092637d010433ebfcbcbfda92d",
"version": "1.42",