From b59567b38ece8de4c23fb04f55ab7c6d086b1fc5 Mon Sep 17 00:00:00 2001 From: Bernd Kuhls Date: Thu, 18 Jun 2015 22:19:41 +0200 Subject: [PATCH] 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 --- package/vlc/vlc.mk | 7 +++++++ 1 file changed, 7 insertions(+) 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