[libgpg-error] Update to 1.54, modernize (#45100)

This commit is contained in:
Kai Pastor 2025-04-18 03:21:45 +02:00 committed by GitHub
parent 73fbcf784b
commit 8945a6d89c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 16 additions and 7 deletions

View File

@ -4,7 +4,7 @@ vcpkg_download_distfile(tarball
"https://mirrors.dotsrc.org/gcrypt/libgpg-error/libgpg-error-${VERSION}.tar.bz2"
"https://www.mirrorservice.org/sites/ftp.gnupg.org/gcrypt/libgpg-error/libgpg-error-${VERSION}.tar.bz2"
FILENAME "libgpg-error-${VERSION}.tar.bz2"
SHA512 4489f615c6a0389577a7d1fd7d3917517bb2fe032abd9a6d87dfdbd165dabcf53f8780645934020bf27517b67a064297475888d5b368176cf06bc22f1e735e2b
SHA512 b292ae516d5dddcfe761a2cac516a765ed0773f43afa5561d0f316962a71cab7cfa7ba5f36829faa5b814a33e3be5234d94b2592a570e471fedc2d2822fb49fa
)
vcpkg_extract_source_archive(
SOURCE_PATH
@ -34,16 +34,16 @@ if(VCPKG_TARGET_IS_EMSCRIPTEN)
vcpkg_list(APPEND options "--disable-threads")
endif()
vcpkg_configure_make(
AUTOCONFIG
vcpkg_make_configure(
SOURCE_PATH "${SOURCE_PATH}"
AUTORECONF
OPTIONS
${options}
--disable-doc
--disable-tests
)
vcpkg_install_make()
vcpkg_make_install()
vcpkg_fixup_pkgconfig()
vcpkg_copy_pdbs()
@ -62,4 +62,4 @@ if(NOT "nls" IN_LIST FEATURES)
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/share/${PORT}/locale")
endif()
file(INSTALL "${SOURCE_PATH}/COPYING.LIB" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/COPYING.LIB")

View File

@ -1,6 +1,6 @@
{
"name": "libgpg-error",
"version": "1.51",
"version": "1.54",
"description": "A runtime library for GnuPG and other software which likes to use it.",
"homepage": "https://gnupg.org/software/libgpg-error/",
"license": "LGPL-2.1-or-later",
@ -9,6 +9,10 @@
{
"name": "libgpg-error",
"host": true
},
{
"name": "vcpkg-make",
"host": true
}
],
"features": {

View File

@ -4725,7 +4725,7 @@
"port-version": 5
},
"libgpg-error": {
"baseline": "1.51",
"baseline": "1.54",
"port-version": 0
},
"libgpiod": {

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "3cd395686190a6e48eea8d9b98450c91cc0755ec",
"version": "1.54",
"port-version": 0
},
{
"git-tree": "241874200d1c1a5f852359a972a6d00c17275669",
"version": "1.51",