gpg4libre: fix gpgme build dependencies

Change-Id: If71b144f008e35ee248421d922ab2a1a4463d093
Reviewed-on: https://gerrit.libreoffice.org/34361
Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
This commit is contained in:
Thorsten Behrens 2017-02-17 09:32:05 +01:00
parent f37fcda0e9
commit dc003d59ea
3 changed files with 26 additions and 2 deletions

View File

@ -3393,6 +3393,10 @@ endif # ENABLE_BREAKPAD
ifneq ($(SYSTEM_GPGME),)
gb_ExternalProject__use_gpgme:=
gb_ExternalProject__use_libassuan:=
gb_ExternalProject__use_libgpg-error:=
define gb_LinkTarget__use_gpgme
$(call gb_LinkTarget_set_include,$(1),\
$$(INCLUDE) \
@ -3407,6 +3411,19 @@ endef
else # NON-SYSTEM_GPGME
define gb_ExternalProject__use_gpgme
$(call gb_ExternalProject_use_external_project,$(1),gpgme)
endef
define gb_ExternalProject__use_libassuan
$(call gb_ExternalProject_use_external_project,$(1),libassuan)
endef
define gb_ExternalProject__use_libgpg-error
$(call gb_ExternalProject_use_external_project,$(1),libgpg-error)
endef
define gb_LinkTarget__use_gpgme
$(call gb_LinkTarget_set_include,$(1),\
-I$(call gb_UnpackedTarball_get_dir,gpgme)/lang/cpp/src \

View File

@ -9,14 +9,17 @@
$(eval $(call gb_ExternalProject_ExternalProject,gpgme))
$(eval $(call gb_ExternalProject_use_external_project,gpgme,libassuan))
$(eval $(call gb_ExternalProject_register_targets,gpgme,\
build \
))
$(eval $(call gb_ExternalProject_use_autoconf,gpgme,build))
$(eval $(call gb_ExternalProject_use_externals,gpgme,\
libgpg-error \
libassuan \
))
$(call gb_ExternalProject_get_state_target,gpgme,build):
$(call gb_ExternalProject_run,build,\
autoreconf \

View File

@ -15,6 +15,10 @@ $(eval $(call gb_ExternalProject_register_targets,libassuan,\
$(eval $(call gb_ExternalProject_use_autoconf,libassuan,build))
$(eval $(call gb_ExternalProject_use_externals,libassuan,\
libgpg-error \
))
$(call gb_ExternalProject_get_state_target,libassuan,build):
$(call gb_ExternalProject_run,build,\
autoreconf \