package/xbmc: Add optional support for libcap

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Bernd Kuhls 2014-10-25 20:19:55 +02:00 committed by Peter Korsgaard
parent e48cfc39f1
commit 28a0054bea

View File

@ -63,6 +63,13 @@ XBMC_CONF_ENV += INCLUDES="-I$(STAGING_DIR)/usr/include/interface/vcos/pthreads
LIBS="-lvcos -lvchostif"
endif
ifeq ($(BR2_PACKAGE_LIBCAP),y)
XBMC_CONF_OPTS += --enable-libcap
XBMC_DEPENDENCIES += libcap
else
XBMC_CONF_OPTS += --disable-libcap
endif
ifeq ($(BR2_PACKAGE_XBMC_DBUS),y)
XBMC_DEPENDENCIES += dbus
XBMC_CONF_OPTS += --enable-dbus