package/brltty: add polkit optional dependency

polkit is an optional dependency (enabled by default) since version 5.4:
e62b3c925d

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 74c6a7e4db)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Fabrice Fontaine 2021-01-05 18:19:47 +01:00 committed by Peter Korsgaard
parent 19aa4e9ee7
commit c0162e6c7a

View File

@ -96,6 +96,13 @@ else
BRLTTY_CONF_OPTS += --without-rgx-package BRLTTY_CONF_OPTS += --without-rgx-package
endif endif
ifeq ($(BR2_PACKAGE_POLKIT),y)
BRLTTY_DEPENDENCIES += polkit
BRLTTY_CONF_OPTS += --enable-polkit
else
BRLTTY_CONF_OPTS += --disable-polkit
endif
ifeq ($(BR2_PACKAGE_SYSTEMD),y) ifeq ($(BR2_PACKAGE_SYSTEMD),y)
BRLTTY_DEPENDENCIES += systemd BRLTTY_DEPENDENCIES += systemd
BRLTTY_CONF_OPTS += --with-service-package BRLTTY_CONF_OPTS += --with-service-package