brltty: add optional at-spi2-core dependency
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Tue, 10 Jul 2018 18:22:26 +0000 (20:22 +0200)
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Tue, 10 Jul 2018 20:05:13 +0000 (22:05 +0200)
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
package/brltty/brltty.mk

index eb91ef8ff7bc5543e35fe732c6fbc49a9a0d11dc..df3e9c788890cb28a8d8e1795732142615c08ae2 100644 (file)
@@ -11,7 +11,8 @@ BRLTTY_INSTALL_STAGING_OPTS = INSTALL_ROOT=$(STAGING_DIR) install
 BRLTTY_INSTALL_TARGET_OPTS = INSTALL_ROOT=$(TARGET_DIR) install
 BRLTTY_LICENSE_FILES = LICENSE-GPL LICENSE-LGPL
 
-BRLTTY_DEPENDENCIES = $(TARGET_NLS_DEPENDENCIES) host-autoconf host-pkgconf
+BRLTTY_DEPENDENCIES = $(TARGET_NLS_DEPENDENCIES) host-autoconf host-pkgconf \
+       $(if $(BR2_PACKAGE_AT_SPI2_CORE),at-spi2-core)
 
 BRLTTY_CONF_OPTS = \
        --disable-java-bindings \