Mpd

From Genunix

mpd - A jukebox server that controls music playback (MP3, Ogg, Flac, AAC, Mod, wave)

Contents

Rating

4 points (out of 4)

Rating scheme: 4 points means the source builds seamlessly on Solaris Express (OpenSolaris). Points are subtracted as follows:

  • Minus 1 if the source doesn't come with an automated way to localize the build (e.g. configure)
  • Minus 1 if the source won't compile with Sun's cc (this usually means the code is gcc-centric)
  • Minus 1 if a minor patch is required, or
  • Minus 2 if a major patch(es) is required

How to build mpd-0.12.0 on Solaris Express

Build Environment (platform, compiler, tools, PATH, ld)

Configure and compile steps (on x86 hardware)

/usr/bin/bzip2 -dc mpd-0.12.0.tar.bz2 | /usr/sfw/bin/gtar xf -

cd mpd-0.12.0


export CFLAGS="-i -xO4 -xspace -xstrconst -xpentium -mr"
export LDFLAGS="-Wl,-zignore -Wl,-zcombreloc -Wl,-Bdirect"

# Note: mp3 decoding and id3tag support is not configured 
# in here (it probably should be though)

./configure --prefix=/usr  \
            --mandir=/usr/share/man  \
	    --enable-ao          \
	    --disable-id3

make

Other configure options

output of ./configure --help

Directory paths that mpd installs to

bin
share/doc/mpd
share/man/man1
share/man/man5

Other 3rd party software mpd requires

BuildRequires: libao
Requires: libao