vlc: add udev support
authorSimon Dawson <spdawson@gmail.com>
Thu, 16 Jan 2014 07:41:36 +0000 (07:41 +0000)
committerPeter Korsgaard <peter@korsgaard.com>
Thu, 16 Jan 2014 08:19:35 +0000 (09:19 +0100)
Signed-off-by: Simon Dawson <spdawson@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/vlc/vlc.mk

index ce51f37d902458c5c8a1b11efdc6d68acca9ac71..ec5727d8f33f87b43380c8b35b05aba5a066265f 100644 (file)
@@ -30,7 +30,6 @@ VLC_CONF_OPT += \
        --disable-goom \
        --disable-projectm \
        --disable-vsxu \
-       --disable-udev \
        --disable-mtp
 
 ifeq ($(BR2_PACKAGE_ALSA_LIB),y)
@@ -234,6 +233,13 @@ else
 VLC_CONF_OPT += --disable-tremor
 endif
 
+ifeq ($(BR2_PACKAGE_UDEV),y)
+VLC_CONF_OPT += --enable-udev
+VLC_DEPENDENCIES += udev
+else
+VLC_CONF_OPT += --disable-udev
+endif
+
 ifeq ($(BR2_PACKAGE_XLIB_LIBX11),y)
 VLC_CONF_OPT += --with-x
 VLC_DEPENDENCIES += xlib_libX11