Package Details: mpd-git 0.22.8.r437.g36680607d-1

Git Clone URL: (read-only, click to copy)
Package Base: mpd-git
Description: Flexible, powerful, server-side application for playing music (from git)
Upstream URL:
Licenses: GPL2
Conflicts: mpd
Provides: mpd
Submitter: Slash
Maintainer: KokaKiwi
Last Packager: KokaKiwi
Votes: 103
Popularity: 0.000606
First Submitted: 2008-09-07 18:21 (UTC)
Last Updated: 2021-06-04 09:33 (UTC)

Dependencies (86)

Required by (45)

Sources (4)

Pinned Comments

Latest Comments

uint2048_t commented on 2021-08-15 16:31 (UTC)

Pipewire is now a dependency as of version 0.23

AkechiShiro commented on 2020-12-24 02:21 (UTC) (edited on 2020-12-24 03:05 (UTC) by AkechiShiro)

I've just had an error trying to do an update sudo pacman -Syu, some dependencies will be broken if icu is updated it seems :

error: failed to prepare transaction (could not satisfy dependencies)
:: installing icu (68.2-1) breaks dependency '' required by mpd-git
:: installing icu (68.2-1) breaks dependency '' required by mpd-git

Could this be fixed or is it absolutely necessary for mpd-git to work and built successfully that the version of icu is not changed ?

hk3wx commented on 2020-09-14 22:43 (UTC)

../ ERROR: Value "true" for combo option "Build documentation" is not one of the choices. Possible choices are: "enabled", "disabled", "auto".

A full log can be found at /home/hk3wx/.cache/yay/mpd-git/src/mpd/build/meson-logs/meson-log.txt ==> ERROR: A failure occurred in build(). Aborting...

ilyxa commented on 2019-07-06 13:05 (UTC)

Can you please add option -Dtremor=disabled and new arch (aarch64) to PKGBUILD?

Morganamilo commented on 2018-10-29 23:21 (UTC) (edited on 2018-10-29 23:22 (UTC) by Morganamilo)

meson configure build prints the current configuration. No need for it in build().

Just realised I have rights to actually make the change myself. Eh I'll let you do it anyway ;)

Calimero commented on 2018-02-22 15:17 (UTC)

It seems they have put their git server down and moved to github.

The official website now has a link that makes the upstream repo git+

sudokode commented on 2015-11-14 06:01 (UTC)

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

ggVGd commented on 2015-10-21 10:53 (UTC) (edited on 2015-10-21 15:48 (UTC) by ggVGd)

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 (UTC)

I just realized this file is provided by upstream. Apologies.

MoSal commented on 2015-09-19 17:25 (UTC)

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 (UTC)

Added libupnp. Add provides for mpd.

Tomaash commented on 2014-11-14 20:08 (UTC)

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

sudokode commented on 2014-11-11 03:19 (UTC)

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

sudokode commented on 2014-10-21 21:15 (UTC)

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 (UTC)

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:

Tomaash commented on 2014-09-22 08:44 (UTC)

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

sudokode commented on 2014-09-14 16:19 (UTC)

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?

Dietr1ch commented on 2014-08-26 12:50 (UTC)

This should also provide mpd

blackhole commented on 2014-07-01 07:47 (UTC)

Now build fine with libnfs 1.9.4-1!

blackhole commented on 2014-06-23 08:35 (UTC)

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 (UTC)

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

sudokode commented on 2014-06-21 17:42 (UTC)

Added boost to deps. Builds fine here.

blackhole commented on 2014-06-21 13:19 (UTC)

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 (UTC)

Add extra/boost for dependences.

sudokode commented on 2014-05-04 17:10 (UTC)

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 (UTC)

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 (UTC)

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

blackhole commented on 2014-02-27 12:15 (UTC)

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 (UTC)

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 (UTC)

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

Rasi commented on 2014-01-28 01:12 (UTC)

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

Reihar commented on 2013-12-08 14:52 (UTC)

I haven't been able to build for a few weeks. I get these errors every time :

misc commented on 2013-11-01 00:39 (UTC)

That mpc error? It's due to two commits to that can (yet) be reverted. I've realigned the package to the mpd buildscript as found in extra, the PKGBUILD also contains said reverts: Note to those with libmpdclient-git, you probably need to update that first.

sudokode commented on 2013-10-31 22:15 (UTC)

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

commented on 2013-09-13 12:14 (UTC)

Needs utvideo-git and libnut-git AUR dependencies.

sudokode commented on 2013-09-11 00:03 (UTC)

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

adityarajbhatt commented on 2013-08-25 05:42 (UTC)

I think the upstream URL should be updated to or something even deeper like /cgit/master/mpd.git. The existing URL redirects to which is not the target of the PKGBUILD.

broken.pipe commented on 2013-07-13 07:56 (UTC)

missing dependency: yajl

jdevelop commented on 2013-05-17 18:42 (UTC)

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 (UTC)

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

Rasi commented on 2013-04-20 21:03 (UTC)

lastfm support is deprecated, please remove it

sudokode commented on 2013-04-08 00:59 (UTC)

Updated for the new makepkg.

sudokode commented on 2013-02-12 22:47 (UTC)

Removed the sysvinit script.

sudokode commented on 2013-01-22 21:19 (UTC)

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 (UTC)

Here is the patch for libcdio-paranoia: 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

mindthegap commented on 2013-01-18 09:07 (UTC)

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 (UTC)

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 (UTC)

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

sudokode commented on 2012-10-31 18:28 (UTC)

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 (UTC)

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 (UTC)


Rasi commented on 2012-10-14 11:33 (UTC)

--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?

graysky commented on 2012-10-07 19:01 (UTC)

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 (UTC)

opus is at least an optional dependency now.

commented on 2012-09-29 16:11 (UTC)

there is a patch mentioned in MPD maillist

misc commented on 2012-09-28 20:15 (UTC)

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 (UTC)

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

commented on 2012-09-28 14:43 (UTC)

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

misc commented on 2012-08-12 19:03 (UTC)

Won't compile currently unless this comment is reverted: Apparently libmpdclient-git ( ) hasn't yet been updated with the necessary chances.

graysky commented on 2012-07-10 13:53 (UTC)

Right you are... Will fix. The main ARCH package does this too. I Bugged it. Thanks.

misc commented on 2012-07-10 13:29 (UTC)

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

graysky commented on 2012-07-09 23:34 (UTC)

I got yer back ;)

Slash commented on 2012-07-09 23:33 (UTC)

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 (UTC)

I updated it... tarball is here: 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 (UTC)

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

misc commented on 2012-04-15 19:13 (UTC)

Updated the files to be in sync with the mpd package in extra: The 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).

Slash commented on 2012-03-03 22:22 (UTC)

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 (UTC)

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 (UTC)


linkmauve commented on 2012-02-23 13:16 (UTC)

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 (UTC)

Thanks, updated.

linkmauve commented on 2012-02-19 11:08 (UTC)

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 (UTC)

latest pull requires libgme mpd: error while loading shared libraries: cannot open shared object file: No such file or directory

Slash commented on 2011-08-27 20:55 (UTC)

@Mic92: Thanks, updated.

Mic92 commented on 2011-08-27 12:06 (UTC)

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

skottish commented on 2011-05-21 15:30 (UTC)

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

Slash commented on 2011-02-08 02:11 (UTC)

@avallac_h: Thanks, I updated the PKGBUILD.

commented on 2011-02-06 09:08 (UTC)

Slash, please, look at this: and this: These scripts are more correct, than yours.

Rasi commented on 2010-09-28 15:53 (UTC)

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 (UTC)

Also depends on libmms.

Slash commented on 2010-09-02 23:22 (UTC)

I fixed the option. It was renamed here: 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 (UTC)

--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 (UTC)

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 (UTC)

It seems that the git mirror is down...

zengeist commented on 2010-06-02 17:01 (UTC)

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

Slash commented on 2010-05-30 01:34 (UTC)

If you get an error like this: mpd: error while loading shared libraries: cannot open shared object file: No such file or directory You will need to recompile.