early-access version 2853

This commit is contained in:
pineappleEA
2022-07-23 03:01:36 +02:00
parent 1f2b5081b5
commit 1f111bb69c
8955 changed files with 418777 additions and 999 deletions

View File

@@ -0,0 +1,13 @@
diff --git a/src/Makefile.am b/src/Makefile.am
index 089bc97..2d31b6a 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -149,7 +149,7 @@ install-exec-hook:
endif
mkheader: mkheader.c Makefile
- $(CC_FOR_BUILD) -I. -I$(srcdir) -o $@ $(srcdir)/mkheader.c
+ $(CC_FOR_BUILD) -I. -I$(srcdir) $(CFLAGS) -o $@ $(srcdir)/mkheader.c
assuan.h: assuan.h.in mkheader $(parts_of_assuan_h)
./mkheader $(host_os) $(srcdir)/assuan.h.in \

View File

@@ -0,0 +1,11 @@
diff --git a/src/libassuan.pc.in b/src/libassuan.pc.in
index 4e952d7..83ba872 100644
--- a/src/libassuan.pc.in
+++ b/src/libassuan.pc.in
@@ -10,5 +10,5 @@ Description: IPC library for the GnuPG components
Requires: gpg-error
Version: @PACKAGE_VERSION@
Cflags: @LIBASSUAN_CONFIG_CFLAGS@
-Libs: @LIBASSUAN_CONFIG_LIBS@
+Libs: -L${libdir} @LIBASSUAN_CONFIG_LIBS@
URL: https://www.gnupg.org/related_software/libassuan/index.html

View File

@@ -0,0 +1,29 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO gpg/libassuan
REF libassuan-2.5.3
SHA512 5ec896eca6d9d7bec83aa400c8e2dc6f2b09c013050efb2125e2f2a4bd00f179723254483637ca4b7bc30bba951fc985e7ba7db98081606bb106caa7a2622dbe
HEAD_REF master
PATCHES
fix-pkgconfig.patch
fix-flags.patch
)
vcpkg_configure_make(
AUTOCONFIG
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
--disable-doc
--disable-silent-rules
--with-libgpg-error-prefix=${CURRENT_INSTALLED_DIR}/tools/libgpg-error
)
vcpkg_install_make()
vcpkg_fixup_pkgconfig()
vcpkg_copy_pdbs()
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/tools/libassuan/bin/libassuan-config" "${CURRENT_INSTALLED_DIR}" "`dirname $0`/../../..")
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/tools/libassuan/debug/bin/libassuan-config" "${CURRENT_INSTALLED_DIR}" "`dirname $0`/../../../..")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
file(INSTALL "${SOURCE_PATH}/COPYING.LIB" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)

11
externals/vcpkg/ports/libassuan/vcpkg.json vendored Executable file
View File

@@ -0,0 +1,11 @@
{
"name": "libassuan",
"version": "2.5.3",
"port-version": 4,
"description": "A library implementing the so-called Assuan protocol",
"homepage": "https://gnupg.org/software/libassuan/index.html",
"supports": "!windows",
"dependencies": [
"libgpg-error"
]
}