[Buildroot] [git commit branch/2020.02.x] package/vlc: enable gnutls if selected

Peter Korsgaard peter at korsgaard.com
Sun May 10 19:12:04 UTC 2020


commit: https://git.buildroot.net/buildroot/commit/?id=d883e860b1d874f867d729962da2d340eae69855
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2020.02.x

Signed-off-by: Michele Comignano <comick at gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998 at free.fr>
(cherry picked from commit 8d3a5da8848cc4f90ebcde46b594c28466641a9f)
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
 package/vlc/vlc.mk | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/package/vlc/vlc.mk b/package/vlc/vlc.mk
index 801b99f884..76650eef7a 100644
--- a/package/vlc/vlc.mk
+++ b/package/vlc/vlc.mk
@@ -567,4 +567,11 @@ ifeq ($(BR2_PACKAGE_ZLIB),y)
 VLC_DEPENDENCIES += zlib
 endif
 
+ifeq ($(BR2_PACKAGE_GNUTLS),y)
+VLC_CONF_OPTS += --enable-gnutls
+VLC_DEPENDENCIES += gnutls
+else
+VLC_CONF_OPTS += --disable-gnutls
+endif
+
 $(eval $(autotools-package))


More information about the buildroot mailing list