Skip to contentSkip to conversation

flac: needs wchar

PATCH New Gustavo Zacarias 2 participants 2 messages Apr 15, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 flac: needs wchar

Fixes:
http://autobuild.buildroot.net/results/873/873a1b3551c5fe04fa477fd682ff91fecdd41606/

---
 package/flac/Config.in                         | 4 ++++
 package/gstreamer/gst-plugins-good/Config.in   | 4 ++++
 package/gstreamer1/gst1-plugins-good/Config.in | 4 ++++
 package/minidlna/Config.in                     | 5 +++--
 package/mpd/Config.in                          | 2 +-
 5 files changed, 16 insertions(+), 3 deletions(-)
package/flac/Config.in +4 -0
index 06f170b..267acb7 100644
@@ -1,6 +1,10 @@
 config BR2_PACKAGE_FLAC
 	bool "flac"
+	depends on BR2_USE_WCHAR
 	help
 	  FLAC is an Open Source lossless audio codec.
 
 	  http://flac.sourceforge.net/
+
+comment "flac needs a toolchain w/ wchar"
+	depends on !BR2_USE_WCHAR
package/gstreamer/gst-plugins-good/Config.in +4 -0
index 254dbcb..9c2b884 100644
@@ -183,8 +183,12 @@ config BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_CAIRO
 
 config BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_FLAC
 	bool "flac (libFLAC)"
+	depends on BR2_USE_WCHAR # flac
 	select BR2_PACKAGE_FLAC
 
+comment "flac needs a toolchain w/ wchar"
+	depends on !BR2_USE_WCHAR
+
 config BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_GDKPIXBUF
 	bool "gdkpixbuf"
 	depends on BR2_USE_WCHAR # gdk-pixbuf -> libglib2
package/gstreamer1/gst1-plugins-good/Config.in +4 -0
index 818412c..9fd6114 100644
@@ -281,10 +281,14 @@ config BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_CAIRO
 
 config BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_FLAC
 	bool "flac (libFLAC)"
+	depends on BR2_USE_WCHAR # flac
 	select BR2_PACKAGE_FLAC
 	help
 	  The FLAC Lossless compressor Codec
 
+comment "flac needs a toolchain w/ wchar"
+	depends on !BR2_USE_WCHAR
+
 config BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_GDKPIXBUF
 	bool "gdkpixbuf"
 	select BR2_PACKAGE_GDK_PIXBUF
package/minidlna/Config.in +3 -2
index 02720e9..4a46b0c 100644
@@ -2,6 +2,7 @@ config BR2_PACKAGE_MINIDLNA
 	bool "minidlna"
 	depends on BR2_LARGEFILE # ffmpeg
 	depends on BR2_INET_IPV6 # ffmpeg
+	depends on BR2_USE_WCHAR # flac
 	depends on BR2_USE_MMU # fork
 	depends on BR2_TOOLCHAIN_HAS_THREADS
 	select BR2_PACKAGE_FFMPEG
@@ -20,6 +21,6 @@ config BR2_PACKAGE_MINIDLNA
 
 	  http://minidlna.sourceforge.net/
 
-comment "minidlna needs a toolchain w/ largefile, IPv6, threads"
+comment "minidlna needs a toolchain w/ largefile, IPv6, threads, wchar"
 	depends on BR2_USE_MMU
-	depends on !(BR2_LARGEFILE && BR2_INET_IPV6 && BR2_TOOLCHAIN_HAS_THREADS)
+	depends on !(BR2_LARGEFILE && BR2_INET_IPV6 && BR2_TOOLCHAIN_HAS_THREADS && BR2_USE_WCHAR)
package/mpd/Config.in +1 -1
index 063c65d..7237b89 100644
@@ -1,7 +1,7 @@
 menuconfig BR2_PACKAGE_MPD
 	bool "mpd"
 	depends on BR2_INSTALL_LIBSTDCPP
-	depends on BR2_USE_WCHAR # libglib2
+	depends on BR2_USE_WCHAR # libglib2, flac
 	depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2
 	depends on BR2_USE_MMU # libglib2
 	# avr32, sparc & CS powerpc gcc are too old
Signature · 1 line
1.8.3.2
#1 lore raw

PATCH 1/1 flac: needs wchar

Dear Gustavo Zacarias,

Quoted 11 lines · Gustavo Zacarias

Fixes:
http://autobuild.buildroot.net/results/873/873a1b3551c5fe04fa477fd682ff91fecdd41606/

---
 package/flac/Config.in                         | 4 ++++
 package/gstreamer/gst-plugins-good/Config.in   | 4 ++++
 package/gstreamer1/gst1-plugins-good/Config.in | 4 ++++
 package/minidlna/Config.in                     | 5 +++--
 package/mpd/Config.in                          | 2 +-
 5 files changed, 16 insertions(+), 3 deletions(-)

Applied, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com