All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/2] audiofile: new package
@ 2012-04-23 13:31 Gustavo Zacarias
  2012-04-23 13:31 ` [Buildroot] [PATCH 2/2] mpd: add audiofile support Gustavo Zacarias
  2012-04-25 10:10 ` [Buildroot] [PATCH 1/2] audiofile: new package Peter Korsgaard
  0 siblings, 2 replies; 4+ messages in thread
From: Gustavo Zacarias @ 2012-04-23 13:31 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
 package/multimedia/Config.in              |    1 +
 package/multimedia/audiofile/Config.in    |   11 +++++++++++
 package/multimedia/audiofile/audiofile.mk |   19 +++++++++++++++++++
 3 files changed, 31 insertions(+), 0 deletions(-)
 create mode 100644 package/multimedia/audiofile/Config.in
 create mode 100644 package/multimedia/audiofile/audiofile.mk

diff --git a/package/multimedia/Config.in b/package/multimedia/Config.in
index a05d1d9..effec38 100644
--- a/package/multimedia/Config.in
+++ b/package/multimedia/Config.in
@@ -1,6 +1,7 @@
 menu "Audio and video libraries and applications"
 source "package/multimedia/alsa-lib/Config.in"
 source "package/multimedia/alsa-utils/Config.in"
+source "package/multimedia/audiofile/Config.in"
 source "package/multimedia/aumix/Config.in"
 source "package/multimedia/faad2/Config.in"
 source "package/multimedia/flac/Config.in"
diff --git a/package/multimedia/audiofile/Config.in b/package/multimedia/audiofile/Config.in
new file mode 100644
index 0000000..fac7f47
--- /dev/null
+++ b/package/multimedia/audiofile/Config.in
@@ -0,0 +1,11 @@
+config BR2_PACKAGE_AUDIOFILE
+	bool "audiofile"
+	depends on BR2_INSTALL_LIBSTDCPP
+	help
+	  The Audio File Library handles reading and writing audio files
+	  in many common formats. 
+
+	  http://www.68k.org/~michael/audiofile/
+
+comment "audiofile requires a toolchain with C++ support enabled"
+	depends on !BR2_INSTALL_LIBSTDCPP
diff --git a/package/multimedia/audiofile/audiofile.mk b/package/multimedia/audiofile/audiofile.mk
new file mode 100644
index 0000000..a49cc3e
--- /dev/null
+++ b/package/multimedia/audiofile/audiofile.mk
@@ -0,0 +1,19 @@
+#############################################################
+#
+# audiofile
+#
+#############################################################
+
+AUDIOFILE_VERSION = 0.3.3
+AUDIOFILE_SITE = http://audiofile.68k.org
+AUDIOFILE_INSTALL_STAGING = YES
+AUDIOFILE_CONF_ENV = ac_cv_prog_cc_c99='-std=gnu99'
+
+# Useless and needs alsa-lib
+define AUDIOFILE_DISABLE_EXAMPLES
+	$(SED) 's/examples//' $(@D)/Makefile.in
+endef
+
+AUDIOFILE_POST_PATCH_HOOKS += AUDIOFILE_DISABLE_EXAMPLES
+
+$(eval $(call AUTOTARGETS))
-- 
1.7.3.4

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

* [Buildroot] [PATCH 2/2] mpd: add audiofile support
  2012-04-23 13:31 [Buildroot] [PATCH 1/2] audiofile: new package Gustavo Zacarias
@ 2012-04-23 13:31 ` Gustavo Zacarias
  2012-04-25 10:10   ` Peter Korsgaard
  2012-04-25 10:10 ` [Buildroot] [PATCH 1/2] audiofile: new package Peter Korsgaard
  1 sibling, 1 reply; 4+ messages in thread
From: Gustavo Zacarias @ 2012-04-23 13:31 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
 package/multimedia/mpd/Config.in |    7 +++++++
 package/multimedia/mpd/mpd.mk    |    5 +++++
 2 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/package/multimedia/mpd/Config.in b/package/multimedia/mpd/Config.in
index 27bd309..c7c0cd7 100644
--- a/package/multimedia/mpd/Config.in
+++ b/package/multimedia/mpd/Config.in
@@ -30,6 +30,13 @@ config BR2_PACKAGE_MPD_AO
 	help
 	  Enable libao output support.
 
+config BR2_PACKAGE_MPD_AUDIOFILE
+	bool "audiofile"
+	select BR2_PACKAGE_AUDIOFILE
+	help
+	  Enable audiofile input/streaming support.
+	  Select this if you want to play back WAV files.
+
 config BR2_PACKAGE_MPD_PULSEAUDIO
 	bool "pulseaudio"
 	select BR2_PACKAGE_PULSEAUDIO
diff --git a/package/multimedia/mpd/mpd.mk b/package/multimedia/mpd/mpd.mk
index 095bad6..43d429b 100644
--- a/package/multimedia/mpd/mpd.mk
+++ b/package/multimedia/mpd/mpd.mk
@@ -21,6 +21,11 @@ MPD_DEPENDENCIES += libao
 MPD_CONF_OPT += --enable-ao
 endif
 
+ifeq ($(BR2_PACKAGE_MPD_AUDIOFILE),y)
+MPD_DEPENDENCIES += audiofile
+MPD_CONF_OPT += --enable-audiofile
+endif
+
 ifeq ($(BR2_PACKAGE_MPD_PULSEAUDIO),y)
 MPD_DEPENDENCIES += pulseaudio
 MPD_CONF_OPT += --enable-pulse
-- 
1.7.3.4

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

* [Buildroot] [PATCH 1/2] audiofile: new package
  2012-04-23 13:31 [Buildroot] [PATCH 1/2] audiofile: new package Gustavo Zacarias
  2012-04-23 13:31 ` [Buildroot] [PATCH 2/2] mpd: add audiofile support Gustavo Zacarias
@ 2012-04-25 10:10 ` Peter Korsgaard
  1 sibling, 0 replies; 4+ messages in thread
From: Peter Korsgaard @ 2012-04-25 10:10 UTC (permalink / raw)
  To: buildroot

>>>>> "Gustavo" == Gustavo Zacarias <gustavo@zacarias.com.ar> writes:

 Gustavo> Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>

Committed, thanks.

-- 
Bye, Peter Korsgaard

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

* [Buildroot] [PATCH 2/2] mpd: add audiofile support
  2012-04-23 13:31 ` [Buildroot] [PATCH 2/2] mpd: add audiofile support Gustavo Zacarias
@ 2012-04-25 10:10   ` Peter Korsgaard
  0 siblings, 0 replies; 4+ messages in thread
From: Peter Korsgaard @ 2012-04-25 10:10 UTC (permalink / raw)
  To: buildroot

>>>>> "Gustavo" == Gustavo Zacarias <gustavo@zacarias.com.ar> writes:

 Gustavo> Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>

Committed, thanks.

-- 
Bye, Peter Korsgaard

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

end of thread, other threads:[~2012-04-25 10:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-23 13:31 [Buildroot] [PATCH 1/2] audiofile: new package Gustavo Zacarias
2012-04-23 13:31 ` [Buildroot] [PATCH 2/2] mpd: add audiofile support Gustavo Zacarias
2012-04-25 10:10   ` Peter Korsgaard
2012-04-25 10:10 ` [Buildroot] [PATCH 1/2] audiofile: new package 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.