[vlc-devel] [PATCH] contrib: gpg-error: avoid building if already available

Alexandre Janniaux ajanni at videolabs.io
Thu Jan 9 11:12:12 CET 2020


---
 contrib/src/gpg-error/rules.mak | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/contrib/src/gpg-error/rules.mak b/contrib/src/gpg-error/rules.mak
index ea953f6e48..badf00cf57 100644
--- a/contrib/src/gpg-error/rules.mak
+++ b/contrib/src/gpg-error/rules.mak
@@ -5,6 +5,10 @@ GPGERROR_URL := ftp://ftp.gnupg.org/gcrypt/libgpg-error/libgpg-error-$(GPGERROR_
 $(TARBALLS)/libgpg-error-$(GPGERROR_VERSION).tar.bz2:
 	$(call download_pkg,$(GPGERROR_URL),gpg-error)
 
+ifeq ($(call need_pkg,"gpg-error >= 1.27"),)
+PKGS_FOUND += gpg-error
+endif
+
 .sum-gpg-error: libgpg-error-$(GPGERROR_VERSION).tar.bz2
 
 libgpg-error: libgpg-error-$(GPGERROR_VERSION).tar.bz2 .sum-gpg-error
-- 
2.24.1



More information about the vlc-devel mailing list