I finally succeeded to compile by adding -Dpsgplay=disabled and -include fmt/format.h to the PKGBUILD as follows:
build() {
cd "$srcdir/mpd-sacd/build"
_opts=(# in AUR, needs testing
#'-Dadplug=disabled'
# interferes with detection of alsa devices
'-Dsndio=disabled'
# exists in AUR, works, but we don't need it
'-Dshine=disabled'
# exists in AUR, won't build, don't need it
'-Dtremor=disabled'
'-Dpsgplay=disabled')
# not in official repo (and not libsidplayfp)
#'-Dsidplay=disabled'
# they say libsidplayfp is supported....
# DVD-Audio support re-enabled. "Worked on my machine" -Jay
# Use clang to match previous build environment; works with meson and avoids toolchain issues
env CC=clang CXX=clang++ CXXFLAGS="${CXXFLAGS} -include fmt/format.h" arch-meson .. "${_opts[@]}"
ninja
}
Hope this helps. I guess some of these can be removed as upstreams get updated :-)
Pinned Comments
dewdude commented on 2026-03-16 02:31 (UTC)
We're up to -8 now. If you noticed you skipped a few releases; you're right. Here's what happened:
The fork source moved from sourceforge to github. We had a new dependency. I fixed additional dependencies to enable more features. I had to tweak the PKGBUILD due to repo change.
-5, -6, and -7 were non-functioning PKGBUILDS due to having missed declared paths. Additionally, -5 had a dependency for shine that I later removed.
Things enabled:
SidPlay & AdPlug
I had issues with these last year when I tried them because....my testing for dependencies didn't check AUR.
The only things remaining disabled from when I adopted this are: sndio, tremor, shine. sndio was still causing issues with ALSA last I tried. Tremor and Shine are floating-point decoders for Vorbis and MP3; which we really don't need.
dewdude commented on 2026-02-03 15:38 (UTC)
FYI,
This fork sees infrequent updates. I have not had to force a rebuild in several months. Please do not let a lack of activity indicate abandonment. I use this myself and notice within a day or two of big system updates if it breaks. Poke me at my email if you notice it breaks before I do and I'll get on it. Sometimes I'm lazy getting pacman to do it's thing.
Archttila commented on 2024-04-28 17:34 (UTC) (edited on 2024-05-01 14:10 (UTC) by Archttila)
Please do not mark the package as out of date, because mpd-sacd is a fork of regular MPD