[Buildroot] [PATCH 1/1] package/vlc: Add libsidplay2 as optional dependency

Bernd Kuhls bernd.kuhls at t-online.de
Thu Jun 18 20:19:41 UTC 2015


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 <bernd.kuhls at t-online.de>
---
 package/vlc/vlc.mk |    7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/package/vlc/vlc.mk b/package/vlc/vlc.mk
index acd67ee..515a5fb 100644
--- a/package/vlc/vlc.mk
+++ b/package/vlc/vlc.mk
@@ -203,6 +203,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
-- 
1.7.10.4



More information about the buildroot mailing list