# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortGroup compiler_blacklist_versions 1.0
PortGroup legacysupport 1.0
# note - versions 0.21.x and beyond require meson, and will require considerable
# rearrangement of the Portfile to support setting options in variants
# also, the audio output system changes to requiring 10.8+
set branch [join [lrange [split ${version} .] 0 1] .]
description Music Player Daemon
long_description Music Player Daemon (MPD) allows remote access for playing music \
(MP3, Ogg Vorbis, FLAC, AAC, Mod, and wave files) and managing \
playlists. MPD is designed for integrating a computer into a stereo \
system that provides control for music playback over a local network. \
It also makes a great desktop music player, especially if you are a \
console junkie, like frontend options, or restart X often.
homepage https://www.musicpd.org/
master_sites https://www.musicpd.org/download/${name}/${branch}/
checksums rmd160 9999090c99e7a0b55ea2b3a5bd8e3e6d8ceb1b9a \
sha256 8322764dc265c20f05c8c8fdfdd578b0722e74626bef56fcd8eebfb01acc58dc \
path:lib/pkgconfig/glib-2.0.pc:glib2 \
# revise Main.cxx with patch in future version 0.19.12 to allow compilation without inotify
--mandir=${prefix}/share/man \
# build fails against fluidsynth @2.0.3