[Buildroot] [git commit branch/2020.11.x] package/brltty: add polkit optional dependency

Peter Korsgaard peter at korsgaard.com
Thu Jan 28 17:02:03 UTC 2021


commit: https://git.buildroot.net/buildroot/commit/?id=c0162e6c7ae231aeeb3aef03ff025d3fb9428032
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2020.11.x

polkit is an optional dependency (enabled by default) since version 5.4:
https://github.com/brltty/brltty/commit/e62b3c925d03239a372d425fb87b2cac65d8ef19

Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
(cherry picked from commit 74c6a7e4dba6e81f5403476344b852119d7a53d8)
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
 package/brltty/brltty.mk | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/package/brltty/brltty.mk b/package/brltty/brltty.mk
index 4f40e65fc6..3924fa0c1a 100644
--- a/package/brltty/brltty.mk
+++ b/package/brltty/brltty.mk
@@ -96,6 +96,13 @@ else
 BRLTTY_CONF_OPTS += --without-rgx-package
 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)
 BRLTTY_DEPENDENCIES += systemd
 BRLTTY_CONF_OPTS += --with-service-package


More information about the buildroot mailing list