diff options
author | Bernd Kuhls <bernd.kuhls@t-online.de> | 2016-02-28 21:18:24 +0100 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2016-03-05 15:01:53 +0100 |
commit | 0cc322eede944f05c65ca65f8c292c002a807ed9 (patch) | |
tree | 8bcb145b1acfbb2737eb75182813883c87644a71 | |
parent | ad1473886367f759b839fc989d1c15febff25f3a (diff) | |
download | buildroot-0cc322eede944f05c65ca65f8c292c002a807ed9.tar.gz buildroot-0cc322eede944f05c65ca65f8c292c002a807ed9.zip |
package/vlc: add optional support for libvncserver
When libvncserver was compiled before, vlc will use it as optional
dependency:
$ output/host/usr/bin/x86_64-linux-readelf -a output/target/usr/lib/vlc/plugins/access/libvnc_plugin.so | grep NEEDED
0x0000000000000001 (NEEDED) Shared library: [libvlccore.so.8]
0x0000000000000001 (NEEDED) Shared library: [librt.so.1]
0x0000000000000001 (NEEDED) Shared library: [libintl.so.8]
0x0000000000000001 (NEEDED) Shared library: [libdl.so.1]
0x0000000000000001 (NEEDED) Shared library: [libvncclient.so.0]
[...]
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r-- | package/vlc/vlc.mk | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/package/vlc/vlc.mk b/package/vlc/vlc.mk index 1bb2b93c1d..4affb8748f 100644 --- a/package/vlc/vlc.mk +++ b/package/vlc/vlc.mk @@ -272,6 +272,13 @@ else VLC_CONF_OPTS += --disable-upnp endif +ifeq ($(BR2_PACKAGE_LIBVNCSERVER),y) +VLC_CONF_OPTS += --enable-vnc +VLC_DEPENDENCIES += libvncserver +else +VLC_CONF_OPTS += --disable-vnc +endif + ifeq ($(BR2_PACKAGE_LIBVORBIS),y) VLC_CONF_OPTS += --enable-vorbis VLC_DEPENDENCIES += libvorbis |