Commit 4d1118e2 authored by Peter Korsgaard's avatar Peter Korsgaard
Browse files

mpd: fix build with tremor support



Tremor needs the common ogg support (in _ogg_common.c) to get built,
similar to how it is done when libvorbis is used.

Signed-off-by: default avatarPeter Korsgaard <jacmet@sunsite.dk>
parent a219ed3f
Loading
Loading
Loading
Loading
+20 −0
Original line number Diff line number Diff line
[PATCH] configure: tremor needs common ogg support just like libvorbis does

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
 configure.ac |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: mpd-0.16.2/configure.ac
===================================================================
--- mpd-0.16.2.orig/configure.ac
+++ mpd-0.16.2/configure.ac
@@ -1081,7 +1081,7 @@
 fi
 
 AM_CONDITIONAL(HAVE_OGG_COMMON,
-	  test x$enable_vorbis = xyes || test x$enable_oggflac = xyes || test x$enable_flac = xyes)
+	  test x$enable_vorbis = xyes || test x$enable_tremor = xyes || test x$enable_oggflac = xyes || test x$enable_flac = xyes)
 
 AM_CONDITIONAL(HAVE_FLAC_COMMON,
 	  test x$enable_flac = xyes || test x$enable_oggflac = xyes)
+1 −0
Original line number Diff line number Diff line
@@ -6,6 +6,7 @@

MPD_VERSION = 0.16.2
MPD_SITE = http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/musicpd
MPD_AUTORECONF = YES
MPD_DEPENDENCIES = host-pkg-config libglib2

# Some options need an explicit --disable or --enable