浏览代码

package/vlc: add optional dependency to libsecret

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Bernd Kuhls 7 年之前
父节点
当前提交
02cc1e7706
共有 1 个文件被更改,包括 7 次插入1 次删除
  1. 7 1
      package/vlc/vlc.mk

+ 7 - 1
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