Skip to contentSkip to conversation

mpd: default to tremor input plugin

PATCH New Gustavo Zacarias 2 participants 4 messages Feb 25, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 mpd: default to tremor input plugin

MPD requires at least one input plugin to build. If there's none selected default to tremor (vorbis).

---
 package/multimedia/mpd/Config.in |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
package/multimedia/mpd/Config.in +1 -0
index 9404082..049c0fc 100644
@@ -4,6 +4,7 @@ menuconfig BR2_PACKAGE_MPD
 	depends on BR2_USE_WCHAR
 	select BR2_PACKAGE_LIBGLIB2
 	select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
+	select BR2_PACKAGE_MPD_TREMOR if !(BR2_PACKAGE_MPD_MAD || BR2_PACKAGE_MPD_MPG123 || BR2_PACKAGE_MPD_VORBIS || BR2_PACKAGE_MPD_WAVPACK || BR2_PACKAGE_MPD_FLAC || BR2_PACKAGE_MPD_MUSEPACK || BR2_PACKAGE_MPD_FFMPEG)
 	help
 	  MPD is a flexible, powerful, server-side application
 	  for playing music. Through plugins and libraries
Signature · 1 line
1.7.3.4
#1 lore raw

PATCH 2/3 mpd: forcibly disable oggflac without flac

If flac and libogg were both built but flac isn't selected in mpd it will be picked up anyway.
Forcibly disable oggflac support if flac support is disabled for consistency.

---
 package/multimedia/mpd/mpd.mk |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
package/multimedia/mpd/mpd.mk +1 -1
index 3653152..d6658ae 100644
@@ -35,7 +35,7 @@ endif
 ifeq ($(BR2_PACKAGE_MPD_FLAC),y)
 MPD_DEPENDENCIES += flac
 else
-MPD_CONF_OPT += --without-flac
+MPD_CONF_OPT += --without-flac --disable-oggflac
 endif
 
 ifeq ($(BR2_PACKAGE_MPD_CURL),y)
Signature · 1 line
1.7.3.4
#2 lore raw

PATCH 3/3 mpd: move ffmpeg option up

In reply to Gustavo Zacarias

Move the ffmpeg option up to keep the pretty sort order.

---
 package/multimedia/mpd/Config.in |   22 +++++++++++-----------
 1 files changed, 11 insertions(+), 11 deletions(-)
package/multimedia/mpd/Config.in +11 -11
index 049c0fc..b3491f2 100644
@@ -56,6 +56,17 @@ config BR2_PACKAGE_MPD_FLAC
 	  Enable flac input/streaming support.
 	  Select this if you want to play back FLAC files.
 
+config BR2_PACKAGE_MPD_FFMPEG
+	bool "ffmpeg"
+	select BR2_PACKAGE_FFMPEG
+	depends on BR2_LARGEFILE
+	help
+	  Enable ffmpeg input support.
+	  Select this if you want to play back files supported by ffmpeg.
+
+comment "ffmpeg support requires a toolchain with LARGEFILE support"
+	depends on !BR2_LARGEFILE
+
 config BR2_PACKAGE_MPD_LAME
 	bool "lame"
 	select BR2_PACKAGE_LAME
@@ -147,17 +158,6 @@ config BR2_PACKAGE_MPD_WAVPACK
 	  Enable wavpack input support.
 	  Select this if you want to play back WV files.
 
-config BR2_PACKAGE_MPD_FFMPEG
-	bool "ffmpeg"
-	select BR2_PACKAGE_FFMPEG
-	depends on BR2_LARGEFILE
-	help
-	  Enable ffmpeg input support.
-	  Select this if you want to play back files supported by ffmpeg.
-
-comment "ffmpeg support requires a toolchain with LARGEFILE support"
-	depends on !BR2_LARGEFILE
-
 endif
 
 comment "mpd requires a toolchain with C++ and WCHAR support"
Signature · 1 line
1.7.3.4
#3 lore raw

PATCH 1/3 mpd: default to tremor input plugin

In reply to Gustavo Zacarias
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Gustavo" == Gustavo Zacarias <[email protected]> writes:

Gustavo> MPD requires at least one input plugin to build. Gustavo> If there's none selected default to tremor (vorbis).

Committed all 3, thanks.

Signature · 1 line
Bye, Peter Korsgaard