diff options
author | Bernd Kuhls <bernd.kuhls@t-online.de> | 2016-02-28 21:18:27 +0100 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2016-03-05 15:02:30 +0100 |
commit | 35c14879c7d19c3d97f2c6a8828445c4b93d9472 (patch) | |
tree | 790bfab30497ea6c75970fdc608e4d6a18d7a407 | |
parent | e51db776cb4c24fcc12c720b1cc9c6f9b5c47606 (diff) | |
download | buildroot-35c14879c7d19c3d97f2c6a8828445c4b93d9472.tar.gz buildroot-35c14879c7d19c3d97f2c6a8828445c4b93d9472.zip |
package/vlc: add optional support for xcb-util-keysyms
When xcb-util-keysyms 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/control/libxcb_hotkeys_plugin.so | grep NEEDED | sort
[...]
0x0000000000000001 (NEEDED) Shared library: [libxcb-keysyms.so.1]
0x0000000000000001 (NEEDED) Shared library: [libxcb.so.1]
0x0000000000000001 (NEEDED) Shared library: [libXdmcp.so.6]
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 bf1ec45058..b67bd35551 100644 --- a/package/vlc/vlc.mk +++ b/package/vlc/vlc.mk @@ -393,6 +393,13 @@ else VLC_CONF_OPTS += --disable-udev endif +ifeq ($(BR2_PACKAGE_XCB_UTIL_KEYSYMS),y) +VLC_CONF_OPTS += --enable-xcb +VLC_DEPENDENCIES += xcb-util-keysyms +else +VLC_CONF_OPTS += --disable-xcb +endif + ifeq ($(BR2_PACKAGE_XLIB_LIBX11),y) VLC_CONF_OPTS += --with-x VLC_DEPENDENCIES += xlib_libX11 |