diff options
Diffstat (limited to 'audio/musicpd/Makefile')
-rw-r--r-- | audio/musicpd/Makefile | 64 |
1 files changed, 33 insertions, 31 deletions
diff --git a/audio/musicpd/Makefile b/audio/musicpd/Makefile index c14a225d89e..5004dd90abc 100644 --- a/audio/musicpd/Makefile +++ b/audio/musicpd/Makefile @@ -1,49 +1,52 @@ -# $NetBSD: Makefile,v 1.198 2019/10/21 22:15:10 adam Exp $ +# $NetBSD: Makefile,v 1.199 2019/10/24 21:23:13 nia Exp $ -DISTNAME= mpd-0.21.15 -PKGNAME= ${DISTNAME:S/mpd/musicpd/} -CATEGORIES= audio -MASTER_SITES= https://www.musicpd.org/download/mpd/0.21/ -EXTRACT_SUFX= .tar.xz +DISTNAME= mpd-0.21.16 +PKGNAME= ${DISTNAME:S/mpd/musicpd/} +CATEGORIES= audio +MASTER_SITES= https://www.musicpd.org/download/mpd/0.21/ +EXTRACT_SUFX= .tar.xz -MAINTAINER= pkgsrc-users@NetBSD.org -HOMEPAGE= https://www.musicpd.org/ -COMMENT= Remote controllable audio player -LICENSE= gnu-gpl-v2 +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= https://www.musicpd.org/ +COMMENT= Remote controllable audio player +LICENSE= gnu-gpl-v2 -PYTHON_VERSIONED_DEPENDENCIES= sphinx:tool +CONFLICTS= mpd-[0-9]* -CONFLICTS= mpd-[0-9]* +TOOL_DEPENDS+= ${PYPKGPREFIX}-sphinx-[0-9]*:../../textproc/py-sphinx -USE_TOOLS+= pkg-config -USE_LANGUAGES= c99 c++14 -MESON_ARGS+= -Ddocumentation=true +USE_TOOLS+= pkg-config +USE_LANGUAGES= c99 c++14 +MESON_ARGS+= -Ddocumentation=true # worrying libraries with limited maintainance: # - audiofile, many CVEs, no activity since 2016 # using sndfile instead # - mad, no release since 2004 # using mpg123 instead -MESON_ARGS+= -Dmad=disabled -MESON_ARGS+= -Daudiofile=disabled +MESON_ARGS+= -Dmad=disabled +MESON_ARGS+= -Daudiofile=disabled # not available in pkgsrc? -MESON_ARGS+= -Dnfs=disabled -MESON_ARGS+= -Diso9660=disabled -MESON_ARGS+= -Dsndio=disabled +MESON_ARGS+= -Dnfs=disabled +MESON_ARGS+= -Diso9660=disabled +MESON_ARGS+= -Dsndio=disabled # c++14 -GCC_REQD+= 6 +GCC_REQD+= 6 -CPPFLAGS.SunOS+= -std=gnu99 -D_XOPEN_SOURCE=600 -D__EXTENSIONS__ +.include "../../mk/oss.buildlink3.mk" -.include "options.mk" +LDFLAGS+= ${LIBOSSAUDIO} +FILES_SUBST+= DEVOSSAUDIO=${DEVOSSAUDIO} -EGDIR= ${PREFIX}/share/examples/mpd -CONF_FILES= ${EGDIR}/mpd.conf ${PKG_SYSCONFDIR}/mpd.conf -RCD_SCRIPTS= mpd +EGDIR= ${PREFIX}/share/examples/mpd +CONF_FILES= ${EGDIR}/mpd.conf ${PKG_SYSCONFDIR}/mpd.conf +RCD_SCRIPTS= mpd -FILES_SUBST+= DEVOSSAUDIO=${DEVOSSAUDIO} +CPPFLAGS.SunOS+= -std=gnu99 -D_XOPEN_SOURCE=600 -D__EXTENSIONS__ + +.include "options.mk" SUBST_CLASSES+= paths SUBST_STAGE.paths= pre-configure @@ -55,12 +58,12 @@ 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} +SUBST_SED.sphinx+= -e "s,sphinx-build,sphinx-build${PYVERSSUFFIX}," INSTALLATION_DIRS= ${EGDIR} +PYTHON_FOR_BUILD_ONLY= tool + post-extract: ${CP} ${FILESDIR}/mpd.conf ${WRKSRC}/mpd.conf @@ -81,6 +84,5 @@ BUILDLINK_ABI_DEPENDS.flac+= flac>=1.2 .include "../../security/libgcrypt/buildlink3.mk" .include "../../textproc/expat/buildlink3.mk" .include "../../textproc/icu/buildlink3.mk" -.include "../../mk/oss.buildlink3.mk" .include "../../mk/pthread.buildlink3.mk" .include "../../mk/bsd.pkg.mk" |