All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/2] flite: depend on alsa-lib when available
@ 2014-05-01  3:17 Baruch Siach
  2014-05-01  3:17 ` [Buildroot] [PATCH 2/2] flite: fix static linking against alsa Baruch Siach
  2014-05-03 20:32 ` [Buildroot] [PATCH 1/2] flite: depend on alsa-lib when available Peter Korsgaard
  0 siblings, 2 replies; 8+ messages in thread
From: Baruch Siach @ 2014-05-01  3:17 UTC (permalink / raw)
  To: buildroot

The flite configure script detects the availability of alsa-lib. Add alsa-lib
to flite dependencies to make sure alsa-lib is always detected when
available.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
---
 package/flite/flite.mk | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/package/flite/flite.mk b/package/flite/flite.mk
index 7511b87731e7..08d2ce1622f9 100644
--- a/package/flite/flite.mk
+++ b/package/flite/flite.mk
@@ -38,4 +38,11 @@ define FLITE_EXTRACT_CMDS
 	$(RM) -rf $(BUILD_DIR)/$(subst .tar.bz2,,$(FLITE_SOURCE))
 endef
 
+ifeq ($(BR2_PACKAGE_ALSA_LIB),y)
+FLITE_DEPENDENCIES += alsa-lib
+FLITE_CONF_OPT += --with-audio=alsa
+else
+FLITE_CONF_OPT += --with-audio=oss
+endif
+
 $(eval $(autotools-package))
-- 
1.9.2

^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2014-05-22  9:54 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-01  3:17 [Buildroot] [PATCH 1/2] flite: depend on alsa-lib when available Baruch Siach
2014-05-01  3:17 ` [Buildroot] [PATCH 2/2] flite: fix static linking against alsa Baruch Siach
2014-05-02 21:47   ` Arnout Vandecappelle
2014-05-02 22:00     ` Arnout Vandecappelle
2014-05-04 11:04     ` Baruch Siach
2014-05-22  7:01   ` Baruch Siach
2014-05-22  9:54     ` Peter Korsgaard
2014-05-03 20:32 ` [Buildroot] [PATCH 1/2] flite: depend on alsa-lib when available Peter Korsgaard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.