From: Bernd Kuhls Date: Thu, 18 Jun 2015 20:19:41 +0000 (+0200) Subject: package/vlc: Add libsidplay2 as optional dependency X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b59567b38ece8de4c23fb04f55ab7c6d086b1fc5;p=buildroot.git package/vlc: Add libsidplay2 as optional dependency vlc has a sid plugin: $ output/host/usr/bin/i586-buildroot-linux-uclibc-readelf -a output/target/usr/lib/vlc/plugins/demux/libsid_plugin.so | grep NEEDED | grep sid 0x00000001 (NEEDED) Shared library: [libsidplay2.so.1] 0x00000001 (NEEDED) Shared library: [libresid-builder.so.0] Signed-off-by: Bernd Kuhls Signed-off-by: Thomas Petazzoni --- diff --git a/package/vlc/vlc.mk b/package/vlc/vlc.mk index bc2966eed0..4ef69aa44a 100644 --- a/package/vlc/vlc.mk +++ b/package/vlc/vlc.mk @@ -206,6 +206,13 @@ else VLC_CONF_OPTS += --disable-svg --disable-svgdec endif +ifeq ($(BR2_PACKAGE_LIBSIDPLAY2),y) +VLC_CONF_OPTS += --enable-sid +VLC_DEPENDENCIES += libsidplay2 +else +VLC_CONF_OPTS += --disable-sid +endif + ifeq ($(BR2_PACKAGE_LIBTHEORA),y) VLC_CONF_OPTS += --enable-theora VLC_DEPENDENCIES += libtheora