From patchwork Tue Jan 5 17:19:47 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabrice Fontaine X-Patchwork-Id: 1422604 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.137; helo=fraxinus.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=TnMmVl5x; dkim-atps=neutral Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4D9K5M2zh4z9sSs for ; Wed, 6 Jan 2021 04:20:39 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 8D68A86208; Tue, 5 Jan 2021 17:20:37 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1LJWHrNbMgVM; Tue, 5 Jan 2021 17:20:35 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 9CD888511C; Tue, 5 Jan 2021 17:20:35 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 2EF021BF3A1 for ; Tue, 5 Jan 2021 17:20:34 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 2B519859BE for ; Tue, 5 Jan 2021 17:20:34 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id p3H5jtnisZs3 for ; Tue, 5 Jan 2021 17:20:33 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f45.google.com (mail-wr1-f45.google.com [209.85.221.45]) by whitealder.osuosl.org (Postfix) with ESMTPS id 2FB40856F6 for ; Tue, 5 Jan 2021 17:20:33 +0000 (UTC) Received: by mail-wr1-f45.google.com with SMTP id w5so36883192wrm.11 for ; Tue, 05 Jan 2021 09:20:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=IfpA9J7AAbC6U52AcdiffT0qUDhYYnS9MaIxA7UhhHo=; b=TnMmVl5xGp1ah8v0iMoumU/6Pz5qVvvJHvLLw1xDQywY/mbyEdcAjNctyJ0REEC01F 4EpwTSZtqXxOfiScke2RxxZuZjZw7OOwp9/3lIP9NSQoafdb/7YjErY3qbLPgegs0r0F 6tR4hla7lXAx5J9Gf17iv5y+XsVQBKRLp/XTskWZg5DgJfBhrKyPx+vp4P+fsA8eMTM6 R4b5RiNLH3unNXIksLdA7valA2qp9arlDbyxc1RH64XnUjVl/Gvkax2caI9DErVn8yzn zUtdsGeJaEgO2kunWMdp/khXFhvqZDLCuFgx98t+YN955Qf9uDxy6bknp9QpTApS+3RC hmEw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=IfpA9J7AAbC6U52AcdiffT0qUDhYYnS9MaIxA7UhhHo=; b=M/PgIiqGE0IrIxQsQjedKwFGCPzXL98cyUiIdUJTqMM5VPg1liTPc6v1+TTCdOHjQG +QuqbOf5abuViP3I4ieHDRFDUvppqcBFaqCUS+lQSKKfbFz8oFpnDzhMlBQTcPRIz2Ao 3jvG+w7YvqFZ4z1im4qCiIV+vQ7ocOKZyjCPakOJ3/n5BL+sLYmUlT8IgQTUJzedHidi Drk9rAQ9VjTgaTpc23TZX/7rZeFrK89ZrERzvltUug6eSXjoxTszC9a54xQclRhlW3dm 4OrgTagBRgxrE/lzcP1GEsmNNTI9MZyIfmzRAlATqX8dLqDavPHkPXTtVX6jDBb8WhSb n5vQ== X-Gm-Message-State: AOAM532y4qGjC3uwFunFFstGZNAUc2PCfJbrJVvPJve0JQlW/pmi1qLm lZVGUXkdz11CRrIYZrrdMlnQANt2ggWTXw== X-Google-Smtp-Source: ABdhPJzoEzGLhUZc+McRdMJCPUP/GUmewxJE5OyChRFJTpeQbDyfWgVvyASIyWORrvXPd/l288hSTA== X-Received: by 2002:adf:c14d:: with SMTP id w13mr531918wre.383.1609867231500; Tue, 05 Jan 2021 09:20:31 -0800 (PST) Received: from kali.home (2a01cb0881b76d00c2afd0dfa851d2b9.ipv6.abo.wanadoo.fr. [2a01:cb08:81b7:6d00:c2af:d0df:a851:d2b9]) by smtp.gmail.com with ESMTPSA id w18sm653321wrn.2.2021.01.05.09.20.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Jan 2021 09:20:30 -0800 (PST) From: Fabrice Fontaine To: buildroot@buildroot.org Date: Tue, 5 Jan 2021 18:19:47 +0100 Message-Id: <20210105171947.4236-1-fontaine.fabrice@gmail.com> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 Subject: [Buildroot] [PATCH 1/1] package/brltty: add polkit optional dependency X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mario Lang , Fabrice Fontaine Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" polkit is an optional dependency (enabled by default) since version 5.4: https://github.com/brltty/brltty/commit/e62b3c925d03239a372d425fb87b2cac65d8ef19 Signed-off-by: Fabrice Fontaine --- 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