Commit 28a0054b authored by Bernd Kuhls's avatar Bernd Kuhls Committed by Peter Korsgaard
Browse files

package/xbmc: Add optional support for libcap

parent e48cfc39
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -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