Skip to contentSkip to conversation

package/vlc: Add libsidplay2 as optional dependency

PATCH New Bernd Kuhls 2 participants 2 messages Jun 18, 2015 – Jun 28, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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]
---
 package/vlc/vlc.mk |    7 +++++++
 1 file changed, 7 insertions(+)
package/vlc/vlc.mk +7 -0
index acd67ee..515a5fb 100644
@@ -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
Signature · 1 line
1.7.10.4
#1 lore raw

PATCH 1/1 package/vlc: Add libsidplay2 as optional dependency

Dear Bernd Kuhls,

Quoted 8 lines · Bernd Kuhls

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]
Quoted 4 lines
---
 package/vlc/vlc.mk |    7 +++++++
 1 file changed, 7 insertions(+)

Applied, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com