From patchwork Mon Dec 18 09:51:43 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mario Lang X-Patchwork-Id: 849952 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.138; helo=whitealder.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3z0btW4lwKz9s5L for ; Mon, 18 Dec 2017 20:52:35 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 4CBB586E26; Mon, 18 Dec 2017 09:52:31 +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 M-XrsXOOliBZ; Mon, 18 Dec 2017 09:52:28 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id B07BB869B9; Mon, 18 Dec 2017 09:52:28 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id A4C751C279E for ; Mon, 18 Dec 2017 09:52:26 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id A13512E72E for ; Mon, 18 Dec 2017 09:52:26 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9onX8vF8d2YA for ; Mon, 18 Dec 2017 09:52:25 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from ns3035380.ip-37-187-20.eu (familiekainz.at [37.187.20.171]) by silver.osuosl.org (Postfix) with ESMTP id 4C98C25D66 for ; Mon, 18 Dec 2017 09:52:25 +0000 (UTC) Received: from fx.tugraz.at (84-115-55-45.cable.dynamic.surfer.at [84.115.55.45]) by ns3035380.ip-37-187-20.eu (Postfix) with ESMTPS id F235C3FC32; Mon, 18 Dec 2017 10:52:22 +0100 (CET) Received: from mlang by fx.tugraz.at with local (Exim 4.89) (envelope-from ) id 1eQs5t-00040C-8o; Mon, 18 Dec 2017 10:52:21 +0100 From: Mario Lang To: buildroot@buildroot.org Date: Mon, 18 Dec 2017 10:51:43 +0100 Message-Id: <20171218095143.15343-1-mlang@blind.guru> X-Mailer: git-send-email 2.15.0 Subject: [Buildroot] [PATCH] package/brltty: disable features and add optional dependencies X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.24 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mario Lang MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" * --without-midi-package should fix a number of autobuild failures. * Disable a number of speech drivers to avoid build failures if they are installed on the host. * Optional dependency on espeak and flite fixes builds where espeak or flite are installed on the host. Signed-off-by: Mario Lang --- package/brltty/brltty.mk | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/package/brltty/brltty.mk b/package/brltty/brltty.mk index 5ce0684168..7214f10fa0 100644 --- a/package/brltty/brltty.mk +++ b/package/brltty/brltty.mk @@ -18,7 +18,10 @@ BRLTTY_CONF_OPTS = \ --disable-lisp-bindings \ --disable-ocaml-bindings \ --disable-python-bindings \ - --disable-tcl-bindings + --disable-tcl-bindings \ + --without-midi-package \ + --without-mikropuhe --without-speechd --without-swift \ + --without-theta --without-viavoice ifeq ($(BR2_PACKAGE_BLUEZ5_UTILS),y) BRLTTY_DEPENDENCIES += bluez5_utils @@ -27,6 +30,20 @@ else BRLTTY_CONF_OPTS += --without-bluetooth-package endif +ifeq ($(BR2_PACKAGE_ESPEAK),y) +BRLTTY_DEPENDENCIES += espeak +BRLTTY_CONF_OPTS += --with-espeak=$(TARGET_DIR)/usr +else +BRLTTY_CONF_OPTS += --without-espeak +endif + +ifeq ($(BR2_PACKAGE_FLITE),y) +BRLTTY_DEPENDENCIES += flite +BRLTTY_CONF_OPTS += --with-flite=$(STAGING_DIR)/usr +else +BRLTTY_CONF_OPTS += --without-flite +endif + ifeq ($(BR2_PACKAGE_ICU),y) BRLTTY_DEPENDENCIES += icu BRLTTY_CONF_OPTS += --enable-icu