Package Details: mpd-git 0.19.9.r485.gcd1148c-1

Git Clone URL: https://aur.archlinux.org/mpd-git.git (read-only)
Package Base: mpd-git
Description: Flexible, powerful, server-side application for playing music
Upstream URL: http://www.musicpd.org/
Licenses: GPL
Conflicts: mpd
Provides: mpd
Submitter: Slash
Maintainer: sudokode
Last Packager: sudokode
Votes: 100
Popularity: 0.287613
First Submitted: 2008-09-07 18:21
Last Updated: 2015-06-09 00:46

Required by (21)

Sources (6)

  • mpd-git
  • mpd-system.socket
  • mpd-user.socket
  • mpd.conf
  • mpd.service
  • mpd.tmpfile

Latest Comments

sudokode commented on 2015-11-14 06:01

1. The base-devel group is prerequisite for using the AUR.
2. No.

ggVGd commented on 2015-10-21 10:53

This package needs to depend on automake, autoconf and pkg-config.
Also, it builds fine for ARM, so 'armv7h' could be added to archs.

MoSal commented on 2015-09-19 17:28

I just realized this file is provided by upstream.

Apologies.

MoSal commented on 2015-09-19 17:25

Please Add User=mpd to the system service file, just like the stable version. Without it, finding ALSA devices fails in my system.

I still use an 'audio' group for permission handling instead of udev/systemd. Maybe that's why not everyone is seeing this.

sudokode commented on 2014-12-20 10:27

Added libupnp. Add provides for mpd.

Tomaash commented on 2014-11-14 20:08

You maybe should add libupnp as dependency, it won't start without it.

sudokode commented on 2014-11-11 03:19

Moved boost is makedeps and added boost-libs to deps.

sudokode commented on 2014-10-21 21:15

Okay. Not sure if --disable-aac removes the faad2 dep. I don't have a clean build environment at the moment.

iffer commented on 2014-10-21 20:56

Please update the pkgver to 0.19.1 and add --disable-aac to the configure-lines:

./configure \
… \
--disable-aac
make


See this thread for more info about the problem with aac:
https://bbs.archlinux.org/viewtopic.php?pid=1468312

iffer commented on 2014-10-21 20:51

Please update the pkgver to 0.19.1 and add --disable-aac to the configure-lines:

./configure \
… \
--disable-aac
make

Tomaash commented on 2014-09-22 08:44

There may be, and that's the reason it should provide mpd.

sudokode commented on 2014-09-14 16:19

Fixed the version issue.

Why does mpd-git have to provide mpd? That's only required when something is a dependency. Is there such a scenario?

flu commented on 2014-09-10 15:10

"v" pkgver prefix makes my AUR helper ask me to update every time. Could you strip it, please? Like ;s/^v//g

Dietr1ch commented on 2014-08-26 12:50

This should also provide mpd

blackhole commented on 2014-07-01 07:47

Now build fine with libnfs 1.9.4-1!

blackhole commented on 2014-06-23 08:35

The problem persists also with libnfs-git.
There is something wrong about Connection.cxx in /aur-mpd-git/src/mpd-git/src/lib/nfs/

------------
src/lib/nfs/Connection.cxx:112:9: error: ‘POLLOUT’ was not declared in this scope
((i & POLLOUT) ? SocketMonitor::WRITE : 0);
^
src/lib/nfs/Connection.cxx:113:1: error: body of constexpr function ‘constexpr unsigned int libnfs_to_events(int)’ not a return-statement
}
^
src/lib/nfs/Connection.cxx: In function ‘constexpr int events_to_libnfs(unsigned int)’:
src/lib/nfs/Connection.cxx:118:38: error: ‘POLLIN’ was not declared in this scope
return ((i & SocketMonitor::READ) ? POLLIN : 0) |
^
src/lib/nfs/Connection.cxx:119:33: error: ‘POLLOUT’ was not declared in this scope
((i & SocketMonitor::WRITE) ? POLLOUT : 0);
^
src/lib/nfs/Connection.cxx:120:1: error: body of constexpr function ‘constexpr int events_to_libnfs(unsigned int)’ not a return-statement
}
^
src/lib/nfs/Connection.cxx: In function ‘constexpr unsigned int libnfs_to_events(int)’:
src/lib/nfs/Connection.cxx:113:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
src/lib/nfs/Connection.cxx: In function ‘constexpr int events_to_libnfs(unsigned int)’:
src/lib/nfs/Connection.cxx:120:1: warning: control reaches end of non-void function [-Wreturn-type]
}

blackhole commented on 2014-06-22 06:37

Same problem as before. Do I need libnfs-git?

sudokode commented on 2014-06-21 17:42

Added boost to deps. Builds fine here.

blackhole commented on 2014-06-21 13:19

Cannot build any more:
Makefile:7919: recipe for target 'src/lib/nfs/libinput_a-Connection.o' failed
make[1]: *** [src/lib/nfs/libinput_a-Connection.o] Error 1

k0ste commented on 2014-06-17 11:29

Add extra/boost for dependences.

sudokode commented on 2014-05-04 17:10

soxr is now enabled, lsr is disabled. I picked up the libsoxr-git package in the aur. Let me know if there are any issues.

blackhole commented on 2014-05-01 22:45

Now build fine.

I would like to see --enable-soxr by default in the PKGBUILD for very good libsox upsampling (better than libsamplerate and less CPU intensive)

sudokode commented on 2014-03-01 20:11

Realigned with package in [extra]. Builds fine here now. :S

blackhole commented on 2014-02-27 12:15

Cannot build:
^
Makefile:7550: recipe for target 'src/input/plugins/libinput_a-NfsInputPlugin.o' failed
make[1]: *** [src/input/plugins/libinput_a-NfsInputPlugin.o] Error 1

misc commented on 2014-02-09 06:44

musepack-tools is no longer a required dependency, neither is the sed entry in prepare() necessary.

Again, the PKGBUILD could use realignment with the official one in Extra.

Rasi commented on 2014-01-28 01:14

also this needs a seperate ./configure call after the autogen now...

Rasi commented on 2014-01-28 01:12

path for Cdio plugin changed to src/input/plugins/CdioParanoiaInputPlugin.cxx

Reihar commented on 2013-12-08 14:52

I haven't been able to build for a few weeks. I get these errors every time :
http://pastebin.archlinux.fr/477565

misc commented on 2013-11-01 00:39

That mpc error? It's due to two commits to configure.ac that can (yet) be reverted.

I've realigned the package to the mpd buildscript as found in extra, the PKGBUILD also contains said reverts:
http://www.mediafire.com/?j0mz9s6h6486mdk

Note to those with libmpdclient-git, you probably need to update that first.

sudokode commented on 2013-10-31 22:15

Took those out, but I wouldn't try updating. I've been getting a build error for the past 2 weeks.

misc commented on 2013-10-15 13:49

Both the "Fix missing macro" and "Fix tilde expansion" are now unnecessary and useless.

(Also, I've been able to compile without utvideo-git and libnut-git just fine.)

Anonymous comment on 2013-09-13 12:14

Needs utvideo-git and libnut-git AUR dependencies.

sudokode commented on 2013-09-11 00:03

Fixed the tilde expansion in mpd.conf and the proper project url is in there now.

adityarajbhatt commented on 2013-08-25 05:42

I think the upstream URL should be updated to git.musicmpd.org or something even deeper like /cgit/master/mpd.git. The existing URL mpd.wikia.com/wiki/Server redirects to http://www.musicpd.org/download/mpd/stable/ which is not the target of the PKGBUILD.

adityarajbhatt commented on 2013-08-25 05:31

I think the upstream URL should be updated to git.mpd.org.

misc commented on 2013-07-31 09:22

Needs musepack-tools instead of libmpcdec since yesterday.

Also, AVCODEC_MAX_AUDIO_FRAME_SIZE is still missing. extra/mpd has in prepare (changed to match the CXX filenames):

sed 's:cdio/paranoia.h:cdio/paranoia/paranoia.h:g' -i src/input/CdioParanoiaInputPlugin.cxx
sed 's:AVCODEC_MAX_AUDIO_FRAME_SIZE:192000:g' -i src/decoder/FfmpegDecoderPlugin.cxx

misc commented on 2013-07-31 09:12

Won't compile.

mpd dropped support for the "old api" of mpc yesterday ("pre-SV8 libmpcdec", whatever that means). So until Arch updates that: --disable-mpc

AVCODEC_MAX_AUDIO_FRAME_SIZE is still missing. From extra/mpd:
sed 's:AVCODEC_MAX_AUDIO_FRAME_SIZE:192000:g' -i src/decoder/ffmpeg_decoder_plugin.c

broken.pipe commented on 2013-07-13 07:56

missing dependency: yajl

misc commented on 2013-06-18 09:36

Until this is fixed in mpd, you're going to need something like this with ffmpeg-git:

sed '1i\
#define AVCODEC_MAX_AUDIO_FRAME_SIZE 192000' -i src/decoder/FfmpegDecoderPlugin.cxx

That's also the workaround the mplayer devs used, though they may have come up with a proper replacement by now.

jdevelop commented on 2013-05-17 18:42

If using ffmpeg-git, it is not possible to build mpd:

g++ -DHAVE_CONFIG_H -I. -DNDEBUG -I./src -pthread -isystem /usr/include/glib-2.0 -isystem /usr/lib/glib-2.0/include -DSYSTEM_CONFIG_FIL
E_LOCATION='"/etc/mpd.conf"' -I/usr/include -I/usr/include/opus -std=gnu++0x -march=x86-64 -mtune=generic -O2 -pipe -f
stack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -ffunction-sections -fdata-sections -fvisibility=hidden -fno-threadsafe-st
atics -fmerge-all-constants -fno-exceptions -fno-rtti -Wall -Wextra -Wmissing-declarations -Wshadow -Wpointer-arith -Wcast-qual -Wwrite-
strings -Wsign-compare -MT src/decoder/libdecoder_plugins_a-FfmpegDecoderPlugin.o -MD -MP -MF src/decoder/.deps/libdecoder_plugins_a-Ffm
pegDecoderPlugin.Tpo -c -o src/decoder/libdecoder_plugins_a-FfmpegDecoderPlugin.o `test -f 'src/decoder/FfmpegDecoderPlugin.cxx' || echo
'./'`src/decoder/FfmpegDecoderPlugin.cxx
src/decoder/FfmpegDecoderPlugin.cxx: In function ‘decoder_command ffmpeg_send_packet(decoder*, input_stream*, const AVPacket*, AVCodecCo
ntext*, const AVRational*, AVFrame*)’:
src/decoder/FfmpegDecoderPlugin.cxx:283:26: error: ‘AVCODEC_MAX_AUDIO_FRAME_SIZE’ was not declared in this scope
uint8_t aligned_buffer[(AVCODEC_MAX_AUDIO_FRAME_SIZE * 3) / 2 + 16];
^
src/decoder/FfmpegDecoderPlugin.cxx:284:36: error: ‘aligned_buffer’ was not declared in this scope
const size_t buffer_size = sizeof(aligned_buffer);
^
make[1]: *** [src/decoder/libdecoder_plugins_a-FfmpegDecoderPlugin.o] Error 1
make[1]: Leaving directory `/usr/aur/srcpackages/mpd-git/src/mpd-git'

For the moment I fixed the problem with adding disable-ffmpeg to build script.

sudokode commented on 2013-04-20 22:54

Done. Also removing that ugly epoch. Ignore the downgrade warning.

Rasi commented on 2013-04-20 21:03

lastfm support is deprecated, please remove it

sudokode commented on 2013-04-08 00:59

Updated for the new makepkg.

sudokode commented on 2013-02-12 22:47

Removed the sysvinit script.

sudokode commented on 2013-01-22 21:19

No idea why they haven't fixed this upstream yet. Looks like they're converting everything to C++? The patch below won't work because of this. There's a patch included now and should be applied automagically.

ianux commented on 2013-01-20 00:12

Here is the patch for libcdio-paranoia: http://dl.free.fr/rpFkWrXKn
sha256sum: 90e827a1d24a5739d7e6867c8fee6d58b8d449fe3e3c40b7732cadc06008d5aa

The lines
# patch for libcdio-paranoia
patch -p0 -i ${srcdir}/libcdio-paranoia.patch

should be added to the PKGBUILD file before the line
# Configure Source

ianux commented on 2013-01-20 00:07

Here is the patch for libcdio-paranoia: http://dl.free.fr/rpFkWrXKn
md5sum: bceeec493c4eb8e57e21b480d9ef009e

The lines
# patch for libcdio-paranoia
patch -p0 -i ${srcdir}/libcdio-paranoia.patch

should be added to the PKGBUILD file before the line
# Configure Source

mindthegap commented on 2013-01-18 09:07

Just in case someone runs over the same compiling error as me:

src/input/cdio_paranoia_input_plugin.c:38:27: fatal error: cdio/paranoia.h: No such file or directory

Replace line 38 in in mpd-git's source file

src/input/cdio_paranoia_input_plugin.c

with

#include <cdio/paranoia/paranoia.h>

The original line missed the paranoia sub-direcory.

derhamster commented on 2012-12-28 14:40

Oh and you should also explicitly create /var/lib/mpd the same way you create the playlists folder, so that the mpd user owns it and has write access inside.

derhamster commented on 2012-12-28 14:13

Please pass --sysconfdir=/etc to autogen.sh
mpd looks for /usr/etc/mpd.conf as the global config file otherwise

sudokode commented on 2012-10-31 18:28

It'd be nice if I included the system and user sockets. They're in there now and some other trivial changes.

sudokode commented on 2012-10-31 06:48

You can now run mpd as a user service with 'systemctl --user [start|enable] mpd.service'. There's also a socket included now for --system and --user. Enabling this will start mpd.service whenever a connection is made on port 6600 (by default). Be aware that this also includes things like conky, i.e. anything at all that makes a connection, not just an mpd client.

sudokode commented on 2012-10-14 15:05

Hokay.

Rasi commented on 2012-10-14 11:33

--disable-cue is not a valid option. Cue support does not rely on any external library anymore.


Also opus is now in official repositories. Why not enable it by default?

Rasi commented on 2012-10-14 10:45

--disable-cue is not a valid option. Cue support does not rely on any external library anymore.

Also, is there any reason why opus is not included? I know its an AUR dependency, but this package is from AUR anyway.

Rasi commented on 2012-10-14 10:42

Opus cannot be a optional dependency. Its needed at compile time.
--disable-cue is not a valid option. Cue support does not rely on any external library anymore.

graysky commented on 2012-10-07 19:01

I don't have the time to give this PKG the time it desires.

Mic92 or others - please adopt and take care of it :)

Mic92 commented on 2012-10-06 17:48

opus is at least an optional dependency now.

Anonymous comment on 2012-09-29 16:11

there is a patch mentioned in MPD maillist

http://sourceforge.net/mailarchive/message.php?msg_id=29896189

misc commented on 2012-09-28 20:15

I don't think that my Aug 12 comment still applies; the main.c error is a new one. disable-cue has apparently been removed, too.

graysky commented on 2012-09-28 19:47

@misc - Interesting. Not too much to do here then, no?

Anonymous comment on 2012-09-28 14:43

configure: error: cannot find sources (src/main.c) in . or ..

misc commented on 2012-08-12 19:03

Won't compile currently unless this comment is reverted:
http://git.musicpd.org/cgit/master/mpd.git/commit/?id=63a2ac21e1d8190448057fbf24d5ab948d3daff8

Apparently libmpdclient-git ( http://git.musicpd.org/cgit/master/libmpdclient.git ) hasn't yet been updated with the necessary chances.

graysky commented on 2012-07-10 13:53

Right you are... Will fix. The main ARCH package does this too. I Bugged it. https://bugs.archlinux.org/task/30621

Thanks.

misc commented on 2012-07-10 13:29

You're both en- and then disabling documentation :)

graysky commented on 2012-07-09 23:34

I got yer back ;)

Slash commented on 2012-07-09 23:33

I'm disowning this PKGBUILD because I am not able to spend the time needed to keep up to date with mpd developments and I no longer use it. Good luck to whoever adopts it!

graysky commented on 2012-07-08 15:11

I updated it... tarball is here: http://repo-ck.com/PKG_source/mpd-git/mpd-git-20120708-1.src.tar.gz

Plz review for accuracy and comment here when updated in the AUR and I will remove it from my temp url.

graysky commented on 2012-07-08 14:53

Package should be updated to include tmpfiles.d for systemd users. See the official mpd package.

graysky commented on 2012-07-08 14:46

Why is a git package flagged out-of-date?

misc commented on 2012-04-15 19:13

Updated the files to be in sync with the mpd package in extra: http://www.mediafire.com/?9hvhnxtue1d9605

The autogen.sh options should be checked again, though. I amended the git commands to only pull the relevant master branch, and clone the source only back to the latest commit (uses just ~ a fourth of the space).

misc commented on 2012-04-15 18:42

The PKGBUILD needs to be brought back in sync with the one in of mpd in extra again, esp. the systemd line.

Slash commented on 2012-03-03 22:22

Yeah, it looks like other deps are needed and I suspect it's a niche service for mpd users, so I added the --disable line to the configure.

misc commented on 2012-03-02 19:42

Needs --disable-soundcloud right now to compile for me. Also, I have to redownload the sources (even if they're latest) or makepkg aborts with dozens of forbidden dotfiles in .git.

Slash commented on 2012-02-27 22:45

Updated

linkmauve commented on 2012-02-23 13:16

Oh, and two other little things: the “ || return 1” after make isn’t needed since pacman 3.4.0, and in $makedepends only git is needed, the rest is in base-devel which is supposed installed by each ArchLinux user.

Slash commented on 2012-02-21 23:18

Thanks, updated.

linkmauve commented on 2012-02-19 11:08

Please remove the creation of $pkgdir/var/run/mpd in package(), this file is removed at each reboot since /var/run is now a symlink to /run which is a tmpfs.

deimos commented on 2012-02-18 01:14

latest pull requires libgme

mpd: error while loading shared libraries: libgme.so.0: cannot open shared object file: No such file or directory

deimos commented on 2012-02-18 01:13

latest pull requires libgme

[code]mpd: error while loading shared libraries: libgme.so.0: cannot open shared object file: No such file or directory[/code]

misc commented on 2012-01-30 17:32

Little patch to allow compilation with current ffmpeg-git:
http://pastebin.com/PPFPqNyu

Slash commented on 2011-08-27 20:55

@Mic92: Thanks, updated.

Mic92 commented on 2011-08-27 12:06

Please add "--disable-libwrap" to autoconfigure. Without this option all connection are refused on my machine.

skottish commented on 2011-05-21 15:30

This thread contains a link and a patch to get mpd-git building against present ffmpeg-git and libav-git:

https://bbs.archlinux.org/viewtopic.php?pid=937306

Slash commented on 2011-02-08 02:11

@avallac_h: Thanks, I updated the PKGBUILD.

Anonymous comment on 2011-02-06 09:08

Slash, please, look at this: http://projects.archlinux.org/svntogit/packages.git/tree/mpd/trunk/mpd
and this: http://projects.archlinux.org/svntogit/packages.git/tree/mpd/trunk/mpd.install
These scripts are more correct, than yours.

Rasi commented on 2010-09-28 15:53

httpd output does not really need any special extra packages and is very useful, since its set up in seconds.

xilef commented on 2010-09-12 07:17

Also depends on libmms.

Slash commented on 2010-09-02 23:22

I fixed the option. It was renamed here: http://git.musicpd.org/cgit/master/mpd.git/commit/?id=c959148ed1aae9b31a649a08f5dd8a51ef128942

I didn't add any more options. I don't think most people stream using mpd, so it wouldn't be fair to them to add more dependencies. If someone has any ideas on how to cleanly make everyone happy, in regards to the configure options, I'd like to know ;)

falconindy commented on 2010-08-31 20:57

--enable-zip is an invalid option. Not sure if/when it was a valid option, but --enable-bzip2 and --enable-zzip are listed in ./configure --help.

mar77i commented on 2010-08-24 13:27

using
--enable-vorbis-encoder \
--enable-sidplay \
--enable-shout \
--enable-httpd-output
locally for network output. would you consider to add these to the pkgbuild?

td123 commented on 2010-07-18 05:55

It seems that the git mirror is down...

zengeist commented on 2010-06-02 17:01

when recompliling - got error: ld: crtbegin.o: No such file: No such file or directory

Slash commented on 2010-05-30 01:34

If you get an error like this:

mpd: error while loading shared libraries: libmodplug.so.0: cannot open shared object file: No such file or directory

You will need to recompile.