[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_minimum_required(VERSION 2022-10-12) # for ${VERSION}
|
|
|
|
|
|
|
|
vcpkg_download_distfile(tarball
|
|
|
|
URLS
|
|
|
|
"https://gnupg.org/ftp/gcrypt/libassuan/libassuan-${VERSION}.tar.bz2"
|
|
|
|
"https://mirrors.dotsrc.org/gcrypt/libassuan/libassuan-${VERSION}.tar.bz2"
|
|
|
|
"https://www.mirrorservice.org/sites/ftp.gnupg.org/gcrypt/libassuan/libassuan-${VERSION}.tar.bz2"
|
|
|
|
FILENAME "libassuan-${VERSION}.tar.bz2"
|
|
|
|
SHA512 70117f77aa43bbbe0ed28da5ef23834c026780a74076a92ec775e30f851badb423e9a2cb9e8d142c94e4f6f8a794988c1b788fd4bd2271e562071adf0ab16403
|
|
|
|
)
|
|
|
|
vcpkg_extract_source_archive(
|
|
|
|
SOURCE_PATH
|
|
|
|
ARCHIVE "${tarball}"
|
2020-12-23 15:19:18 +08:00
|
|
|
PATCHES
|
[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
|
|
|
cross-tools.patch
|
2020-12-23 15:19:18 +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()
|
|
|
|
|
2020-12-23 15:19:18 +08:00
|
|
|
vcpkg_configure_make(
|
2021-11-23 07:53:30 +08:00
|
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
[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
|
|
|
AUTOCONFIG
|
2020-12-23 15:19:18 +08:00
|
|
|
OPTIONS
|
|
|
|
--disable-doc
|
|
|
|
--disable-silent-rules
|
[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
|
|
|
OPTIONS_RELEASE
|
|
|
|
"GPG_ERROR_CONFIG=${CURRENT_INSTALLED_DIR}/tools/libgpg-error/bin/gpg-error-config"
|
|
|
|
OPTIONS_DEBUG
|
|
|
|
"GPG_ERROR_CONFIG=${CURRENT_INSTALLED_DIR}/tools/libgpg-error/debug/bin/gpg-error-config"
|
2020-12-23 15:19:18 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
vcpkg_install_make()
|
2022-01-26 02:31:15 +08:00
|
|
|
vcpkg_fixup_pkgconfig()
|
2020-12-23 15:19:18 +08:00
|
|
|
vcpkg_copy_pdbs()
|
|
|
|
|
[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_replace_string("${CURRENT_PACKAGES_DIR}/tools/${PORT}/bin/libassuan-config" "${CURRENT_INSTALLED_DIR}" "`dirname $0`/../../..")
|
2022-10-27 01:55:31 +08:00
|
|
|
if(NOT VCPKG_BUILD_TYPE)
|
[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_replace_string("${CURRENT_PACKAGES_DIR}/tools/${PORT}/debug/bin/libassuan-config" "${CURRENT_INSTALLED_DIR}" "`dirname $0`/../../../..")
|
|
|
|
endif()
|
|
|
|
|
|
|
|
if(NOT VCPKG_CROSSCOMPILING)
|
|
|
|
file(INSTALL
|
|
|
|
"${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-rel/src/mkheader${VCPKG_TARGET_SUFFIX}"
|
|
|
|
DESTINATION "${CURRENT_PACKAGES_DIR}/manual-tools/${PORT}"
|
|
|
|
USE_SOURCE_PERMISSIONS
|
|
|
|
)
|
|
|
|
vcpkg_copy_tool_dependencies("${CURRENT_PACKAGES_DIR}/manual-tools/${PORT}")
|
2022-10-27 01:55:31 +08:00
|
|
|
endif()
|
2021-11-23 07:53:30 +08:00
|
|
|
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
|
|
|
file(INSTALL "${SOURCE_PATH}/COPYING.LIB" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|