On Thu, Apr 19, 2012 at 4:13 PM, Christian Weisgerber <na...@mips.inka.de> wrote: > David Coppa <dco...@gmail.com> wrote: > >> By popular demand :), here's the diff to enable external libraries >> (FLAC, Ogg, Vorbis) support for audio/libsndfile. > > I'll be unpopular and say that I dislike this. The kitchen sink > approach in the audio area where everything depends on everything > else is terrible. > > What are we going to do about the inter-library dependencies? Are > we going to make sure that all instances of -lsndfile in ports are > replaced by "-lsndfile -lFLAC -lvorbis -logg -lm"? Are we going > to ignore this and rely on ldd(1) pulling in whatever is required? > (Won't work for static linking, but do we care?)
This is more or less the reason of the hack (using oggdec to convert oggs to wavs) I've done for my wip port of audio/mumble (see the other thread on ports@). Do you think is it reasonable (even if a bit ugly)? ciao David