فهرست منبع

package/vlc: add optional dependency to libsoxr

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Bernd Kuhls 7 سال پیش
والد
کامیت
1291938c6c
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-soxr \
 	--disable-shine \
 	--disable-shout \
 	--disable-skins2 \
@@ -344,6 +343,13 @@ else
 VLC_CONF_OPTS += --disable-secret
 endif
 
+ifeq ($(BR2_PACKAGE_LIBSOXR),y)
+VLC_CONF_OPTS += --enable-soxr
+VLC_DEPENDENCIES += libsoxr
+else
+VLC_CONF_OPTS += --disable-soxr
+endif
+
 ifeq ($(BR2_PACKAGE_LIBSSH2),y)
 VLC_CONF_OPTS += --enable-sftp
 VLC_DEPENDENCIES += libssh2