[libgpg-error,libgcrpyt,libassuan,gpgme] Update, official mirrors, mingw, cross builds (#27668)
* Use VERSION
* Add nls feature and gettext deps
* Fix export of libintl dep
* Fix mingw on windows
* Fix crossbuilds
* Cleanup
* Keep translations for nls
* Add license
* [shiftmedia-libgpg-error] Split from pristine source port, update
* [libgpg-error] Update, official tarballs, cross builds
* [libgcrypt] Official tarballs, fix cross builds
* [libgcrypt] Update copyright
* [libassuan] Update, official tarballs, cross builds
* [gpgme] Update, cleanup
* [gpgme] Update copyright
* Update versions
* [shiftmedia-libgcrypt] Update
* No port libgpg
* Add missing version file
* Use make OPTIONS
* Update versions
* Revise build-tools pattern
2022-11-15 07:12:05 +08:00
|
|
|
vcpkg_download_distfile(tarball
|
|
|
|
URLS
|
|
|
|
"https://gnupg.org/ftp/gcrypt/libgpg-error/libgpg-error-${VERSION}.tar.bz2"
|
|
|
|
"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"
|
2023-10-04 11:34:51 +08:00
|
|
|
SHA512 bbb4b15dae75856ee5b1253568674b56ad155524ae29a075cb5b0a7e74c4af685131775c3ea2226fff2f84ef80855e77aa661645d002b490a795c7ae57b66a30
|
[libgpg-error,libgcrpyt,libassuan,gpgme] Update, official mirrors, mingw, cross builds (#27668)
* Use VERSION
* Add nls feature and gettext deps
* Fix export of libintl dep
* Fix mingw on windows
* Fix crossbuilds
* Cleanup
* Keep translations for nls
* Add license
* [shiftmedia-libgpg-error] Split from pristine source port, update
* [libgpg-error] Update, official tarballs, cross builds
* [libgcrypt] Official tarballs, fix cross builds
* [libgcrypt] Update copyright
* [libassuan] Update, official tarballs, cross builds
* [gpgme] Update, cleanup
* [gpgme] Update copyright
* Update versions
* [shiftmedia-libgcrypt] Update
* No port libgpg
* Add missing version file
* Use make OPTIONS
* Update versions
* Revise build-tools pattern
2022-11-15 07:12:05 +08:00
|
|
|
)
|
|
|
|
vcpkg_extract_source_archive(
|
|
|
|
SOURCE_PATH
|
|
|
|
ARCHIVE "${tarball}"
|
|
|
|
PATCHES
|
|
|
|
cross-tools.patch
|
2023-10-04 11:34:51 +08:00
|
|
|
gpgrt-config.patch
|
[libgpg-error,libgcrpyt,libassuan,gpgme] Update, official mirrors, mingw, cross builds (#27668)
* Use VERSION
* Add nls feature and gettext deps
* Fix export of libintl dep
* Fix mingw on windows
* Fix crossbuilds
* Cleanup
* Keep translations for nls
* Add license
* [shiftmedia-libgpg-error] Split from pristine source port, update
* [libgpg-error] Update, official tarballs, cross builds
* [libgcrypt] Official tarballs, fix cross builds
* [libgcrypt] Update copyright
* [libassuan] Update, official tarballs, cross builds
* [gpgme] Update, cleanup
* [gpgme] Update copyright
* Update versions
* [shiftmedia-libgcrypt] Update
* No port libgpg
* Add missing version file
* Use make OPTIONS
* Update versions
* Revise build-tools pattern
2022-11-15 07:12:05 +08:00
|
|
|
pkgconfig-libintl.patch
|
|
|
|
)
|
2021-06-03 08:53:16 +08:00
|
|
|
|
[libgpg-error,libgcrpyt,libassuan,gpgme] Update, official mirrors, mingw, cross builds (#27668)
* Use VERSION
* Add nls feature and gettext deps
* Fix export of libintl dep
* Fix mingw on windows
* Fix crossbuilds
* Cleanup
* Keep translations for nls
* Add license
* [shiftmedia-libgpg-error] Split from pristine source port, update
* [libgpg-error] Update, official tarballs, cross builds
* [libgcrypt] Official tarballs, fix cross builds
* [libgcrypt] Update copyright
* [libassuan] Update, official tarballs, cross builds
* [gpgme] Update, cleanup
* [gpgme] Update copyright
* Update versions
* [shiftmedia-libgcrypt] Update
* No port libgpg
* Add missing version file
* Use make OPTIONS
* Update versions
* Revise build-tools pattern
2022-11-15 07:12:05 +08:00
|
|
|
vcpkg_list(SET options)
|
|
|
|
if("nls" IN_LIST FEATURES)
|
|
|
|
vcpkg_list(APPEND options "--enable-nls")
|
|
|
|
else()
|
|
|
|
set(ENV{AUTOPOINT} true) # true, the program
|
|
|
|
vcpkg_list(APPEND options "--disable-nls")
|
|
|
|
endif()
|
2021-06-03 08:53:16 +08:00
|
|
|
|
[libgpg-error,libgcrpyt,libassuan,gpgme] Update, official mirrors, mingw, cross builds (#27668)
* Use VERSION
* Add nls feature and gettext deps
* Fix export of libintl dep
* Fix mingw on windows
* Fix crossbuilds
* Cleanup
* Keep translations for nls
* Add license
* [shiftmedia-libgpg-error] Split from pristine source port, update
* [libgpg-error] Update, official tarballs, cross builds
* [libgcrypt] Official tarballs, fix cross builds
* [libgcrypt] Update copyright
* [libassuan] Update, official tarballs, cross builds
* [gpgme] Update, cleanup
* [gpgme] Update copyright
* Update versions
* [shiftmedia-libgcrypt] Update
* No port libgpg
* Add missing version file
* Use make OPTIONS
* Update versions
* Revise build-tools pattern
2022-11-15 07:12:05 +08:00
|
|
|
if(VCPKG_CROSSCOMPILING)
|
|
|
|
set(ENV{HOST_TOOLS_PREFIX} "${CURRENT_HOST_INSTALLED_DIR}/manual-tools/${PORT}")
|
|
|
|
endif()
|
2021-06-03 08:53:16 +08:00
|
|
|
|
[libgpg-error,libgcrpyt,libassuan,gpgme] Update, official mirrors, mingw, cross builds (#27668)
* Use VERSION
* Add nls feature and gettext deps
* Fix export of libintl dep
* Fix mingw on windows
* Fix crossbuilds
* Cleanup
* Keep translations for nls
* Add license
* [shiftmedia-libgpg-error] Split from pristine source port, update
* [libgpg-error] Update, official tarballs, cross builds
* [libgcrypt] Official tarballs, fix cross builds
* [libgcrypt] Update copyright
* [libassuan] Update, official tarballs, cross builds
* [gpgme] Update, cleanup
* [gpgme] Update copyright
* Update versions
* [shiftmedia-libgcrypt] Update
* No port libgpg
* Add missing version file
* Use make OPTIONS
* Update versions
* Revise build-tools pattern
2022-11-15 07:12:05 +08:00
|
|
|
vcpkg_configure_make(
|
|
|
|
AUTOCONFIG
|
|
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
|
|
|
OPTIONS
|
|
|
|
${options}
|
|
|
|
--disable-tests
|
|
|
|
--disable-doc
|
|
|
|
)
|
2021-06-03 08:53:16 +08:00
|
|
|
|
[libgpg-error,libgcrpyt,libassuan,gpgme] Update, official mirrors, mingw, cross builds (#27668)
* Use VERSION
* Add nls feature and gettext deps
* Fix export of libintl dep
* Fix mingw on windows
* Fix crossbuilds
* Cleanup
* Keep translations for nls
* Add license
* [shiftmedia-libgpg-error] Split from pristine source port, update
* [libgpg-error] Update, official tarballs, cross builds
* [libgcrypt] Official tarballs, fix cross builds
* [libgcrypt] Update copyright
* [libassuan] Update, official tarballs, cross builds
* [gpgme] Update, cleanup
* [gpgme] Update copyright
* Update versions
* [shiftmedia-libgcrypt] Update
* No port libgpg
* Add missing version file
* Use make OPTIONS
* Update versions
* Revise build-tools pattern
2022-11-15 07:12:05 +08:00
|
|
|
vcpkg_install_make()
|
|
|
|
vcpkg_fixup_pkgconfig()
|
|
|
|
vcpkg_copy_pdbs()
|
2021-06-03 08:53:16 +08:00
|
|
|
|
[libgpg-error,libgcrpyt,libassuan,gpgme] Update, official mirrors, mingw, cross builds (#27668)
* Use VERSION
* Add nls feature and gettext deps
* Fix export of libintl dep
* Fix mingw on windows
* Fix crossbuilds
* Cleanup
* Keep translations for nls
* Add license
* [shiftmedia-libgpg-error] Split from pristine source port, update
* [libgpg-error] Update, official tarballs, cross builds
* [libgcrypt] Official tarballs, fix cross builds
* [libgcrypt] Update copyright
* [libassuan] Update, official tarballs, cross builds
* [gpgme] Update, cleanup
* [gpgme] Update copyright
* Update versions
* [shiftmedia-libgcrypt] Update
* No port libgpg
* Add missing version file
* Use make OPTIONS
* Update versions
* Revise build-tools pattern
2022-11-15 07:12:05 +08:00
|
|
|
if(NOT VCPKG_CROSSCOMPILING)
|
|
|
|
file(INSTALL
|
2023-10-04 11:34:51 +08:00
|
|
|
"${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-rel/src/mkerrcodes${VCPKG_TARGET_EXECUTABLE_SUFFIX}"
|
|
|
|
"${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-rel/src/mkheader${VCPKG_TARGET_EXECUTABLE_SUFFIX}"
|
[libgpg-error,libgcrpyt,libassuan,gpgme] Update, official mirrors, mingw, cross builds (#27668)
* Use VERSION
* Add nls feature and gettext deps
* Fix export of libintl dep
* Fix mingw on windows
* Fix crossbuilds
* Cleanup
* Keep translations for nls
* Add license
* [shiftmedia-libgpg-error] Split from pristine source port, update
* [libgpg-error] Update, official tarballs, cross builds
* [libgcrypt] Official tarballs, fix cross builds
* [libgcrypt] Update copyright
* [libassuan] Update, official tarballs, cross builds
* [gpgme] Update, cleanup
* [gpgme] Update copyright
* Update versions
* [shiftmedia-libgcrypt] Update
* No port libgpg
* Add missing version file
* Use make OPTIONS
* Update versions
* Revise build-tools pattern
2022-11-15 07:12:05 +08:00
|
|
|
DESTINATION "${CURRENT_PACKAGES_DIR}/manual-tools/${PORT}"
|
|
|
|
USE_SOURCE_PERMISSIONS
|
2021-06-03 08:53:16 +08:00
|
|
|
)
|
[libgpg-error,libgcrpyt,libassuan,gpgme] Update, official mirrors, mingw, cross builds (#27668)
* Use VERSION
* Add nls feature and gettext deps
* Fix export of libintl dep
* Fix mingw on windows
* Fix crossbuilds
* Cleanup
* Keep translations for nls
* Add license
* [shiftmedia-libgpg-error] Split from pristine source port, update
* [libgpg-error] Update, official tarballs, cross builds
* [libgcrypt] Official tarballs, fix cross builds
* [libgcrypt] Update copyright
* [libassuan] Update, official tarballs, cross builds
* [gpgme] Update, cleanup
* [gpgme] Update copyright
* Update versions
* [shiftmedia-libgcrypt] Update
* No port libgpg
* Add missing version file
* Use make OPTIONS
* Update versions
* Revise build-tools pattern
2022-11-15 07:12:05 +08:00
|
|
|
vcpkg_copy_tool_dependencies("${CURRENT_PACKAGES_DIR}/manual-tools/${PORT}")
|
|
|
|
endif()
|
2021-06-03 08:53:16 +08:00
|
|
|
|
[libgpg-error,libgcrpyt,libassuan,gpgme] Update, official mirrors, mingw, cross builds (#27668)
* Use VERSION
* Add nls feature and gettext deps
* Fix export of libintl dep
* Fix mingw on windows
* Fix crossbuilds
* Cleanup
* Keep translations for nls
* Add license
* [shiftmedia-libgpg-error] Split from pristine source port, update
* [libgpg-error] Update, official tarballs, cross builds
* [libgcrypt] Official tarballs, fix cross builds
* [libgcrypt] Update copyright
* [libassuan] Update, official tarballs, cross builds
* [gpgme] Update, cleanup
* [gpgme] Update copyright
* Update versions
* [shiftmedia-libgcrypt] Update
* No port libgpg
* Add missing version file
* Use make OPTIONS
* Update versions
* Revise build-tools pattern
2022-11-15 07:12:05 +08:00
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
|
|
|
if(NOT "nls" IN_LIST FEATURES)
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/share/${PORT}/locale")
|
2021-11-12 05:37:34 +08:00
|
|
|
endif()
|
[libgpg-error,libgcrpyt,libassuan,gpgme] Update, official mirrors, mingw, cross builds (#27668)
* Use VERSION
* Add nls feature and gettext deps
* Fix export of libintl dep
* Fix mingw on windows
* Fix crossbuilds
* Cleanup
* Keep translations for nls
* Add license
* [shiftmedia-libgpg-error] Split from pristine source port, update
* [libgpg-error] Update, official tarballs, cross builds
* [libgcrypt] Official tarballs, fix cross builds
* [libgcrypt] Update copyright
* [libassuan] Update, official tarballs, cross builds
* [gpgme] Update, cleanup
* [gpgme] Update copyright
* Update versions
* [shiftmedia-libgcrypt] Update
* No port libgpg
* Add missing version file
* Use make OPTIONS
* Update versions
* Revise build-tools pattern
2022-11-15 07:12:05 +08:00
|
|
|
|
|
|
|
file(INSTALL "${SOURCE_PATH}/COPYING.LIB" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|