[Buildroot] [PATCH/next v2 18/23] package/vlc: add optional dependency to libsecret

Bernd Kuhls bernd.kuhls at t-online.de
Sun Aug 12 20:29:30 UTC 2018


Signed-off-by: Bernd Kuhls <bernd.kuhls at t-online.de>
---
 package/vlc/vlc.mk | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/package/vlc/vlc.mk b/package/vlc/vlc.mk
index fab08b950d..f777d86bda 100644
--- a/package/vlc/vlc.mk
+++ b/package/vlc/vlc.mk
@@ -74,7 +74,6 @@ VLC_CONF_OPTS += \
 	--disable-notify \
 	--disable-projectm \
 	--disable-schroedinger \
-	--disable-secret \
 	--disable-soxr \
 	--disable-shine \
 	--disable-shout \
@@ -338,6 +337,13 @@ else
 VLC_CONF_OPTS += --disable-samplerate
 endif
 
+ifeq ($(BR2_PACKAGE_LIBSECRET),y)
+VLC_CONF_OPTS += --enable-secret
+VLC_DEPENDENCIES += libsecret
+else
+VLC_CONF_OPTS += --disable-secret
+endif
+
 ifeq ($(BR2_PACKAGE_LIBSSH2),y)
 VLC_CONF_OPTS += --enable-sftp
 VLC_DEPENDENCIES += libssh2
-- 
2.18.0



More information about the buildroot mailing list