20e6d46b68
ver 0.21.5 (2019/02/22) * protocol - fix deadlock in "albumart" command - fix "tagtypes disable" command * database - simple: fix assertion failure - fix assertion failures with mount points * storage - udisks: fix "AlreadyMounted" error - udisks: use relative path from mount URI - fix memory leak * input - buffer: fix crash bug when playing remote WAV file * tags - ape: map "Album Artist" * output - shout: add support for TLS * mixer - pulse: add "scale_volume" setting
66 lines
1.8 KiB
Makefile
66 lines
1.8 KiB
Makefile
# $NetBSD: Makefile,v 1.180 2019/02/24 15:32:06 wiz Exp $
|
|
|
|
DISTNAME= mpd-0.21.5
|
|
PKGNAME= ${DISTNAME:S/mpd/musicpd/}
|
|
CATEGORIES= audio
|
|
MASTER_SITES= http://www.musicpd.org/download/mpd/0.21/
|
|
#MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=musicpd/}
|
|
EXTRACT_SUFX= .tar.xz
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://musicpd.org/
|
|
COMMENT= Remote controllable audio player
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
TOOL_DEPENDS+= ${PYPKGPREFIX}-sphinx-[0-9]*:../../textproc/py-sphinx
|
|
|
|
CONFLICTS= mpd-[0-9]*
|
|
|
|
USE_TOOLS+= pkg-config
|
|
USE_LANGUAGES= c c++
|
|
MESON_ARGS+= -Ddocumentation=true
|
|
|
|
# c++14
|
|
GCC_REQD+= 6
|
|
|
|
CPPFLAGS.SunOS+= -std=gnu99 -D_XOPEN_SOURCE=600 -D__EXTENSIONS__
|
|
|
|
.include "options.mk"
|
|
|
|
EGDIR= ${PREFIX}/share/examples/mpd
|
|
CONF_FILES= ${EGDIR}/mpd.conf ${PKG_SYSCONFDIR}/mpd.conf
|
|
RCD_SCRIPTS= mpd
|
|
|
|
FILES_SUBST+= DEVOSSAUDIO=${DEVOSSAUDIO:Q}
|
|
|
|
SUBST_CLASSES+= paths
|
|
SUBST_STAGE.paths= pre-configure
|
|
SUBST_FILES.paths= mpd.conf
|
|
SUBST_MESSAGE.paths= Fixing path to sound device in example config.
|
|
SUBST_VARS.paths+= DEVOSSAUDIO
|
|
|
|
SUBST_CLASSES+= sphinx
|
|
SUBST_STAGE.sphinx= pre-configure
|
|
SUBST_FILES.sphinx= doc/meson.build
|
|
SUBST_MESSAGE.sphinx= Fixing sphinx binary name.
|
|
SUBST_SED.sphinx+= -e "s,sphinx-build,sphinx-build${PYVERSSUFFIX},"
|
|
|
|
LDFLAGS+= ${LIBOSSAUDIO}
|
|
|
|
INSTALLATION_DIRS= ${EGDIR}
|
|
|
|
post-extract:
|
|
${CP} ${FILESDIR}/mpd.conf ${WRKSRC}/mpd.conf
|
|
|
|
post-install:
|
|
${INSTALL_DATA} ${WRKSRC}/mpd.conf ${DESTDIR}${EGDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/doc/mpdconf.example ${DESTDIR}${EGDIR}
|
|
|
|
.include "../../devel/py-meson/build.mk"
|
|
.include "../../devel/boost-libs/buildlink3.mk"
|
|
.include "../../textproc/icu/buildlink3.mk"
|
|
.include "../../audio/libmad/buildlink3.mk"
|
|
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
|
|
|
|
.include "../../mk/oss.buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|