From: Bernd Kuhls Date: Sun, 12 Aug 2018 20:29:30 +0000 (+0200) Subject: package/vlc: add optional dependency to libsecret X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=02cc1e770671ab65bc0b2767e4e60355af98e7d2;p=buildroot.git package/vlc: add optional dependency to libsecret Signed-off-by: Bernd Kuhls Signed-off-by: Thomas Petazzoni --- 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