]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
package/vlc: add optional dependency to libupnp18
authorBernd Kuhls <bernd.kuhls@t-online.de>
Sun, 17 Dec 2017 12:18:45 +0000 (13:18 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 18 Dec 2017 08:54:40 +0000 (09:54 +0100)
Upstream added support for libupnp-1.8:
http://git.videolan.org/?p=vlc/vlc-2.2.git;a=commit;h=825dca78be3a81e2a1c5d04137aa01b1cb32dfd3

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/vlc/vlc.mk

index 30520c30729525ffa2a238b80e62b8baa8600ed1..febd9e0319cbf3f271dac75e4bd7d8e6b8f109c3 100644 (file)
@@ -288,6 +288,13 @@ else
 VLC_CONF_OPTS += --disable-upnp
 endif
 
+ifeq ($(BR2_PACKAGE_LIBUPNP18),y)
+VLC_CONF_OPTS += --enable-upnp
+VLC_DEPENDENCIES += libupnp18
+else
+VLC_CONF_OPTS += --disable-upnp
+endif
+
 ifeq ($(BR2_PACKAGE_LIBVNCSERVER),y)
 VLC_CONF_OPTS += --enable-vnc
 VLC_DEPENDENCIES += libvncserver