summaryrefslogtreecommitdiff
path: root/audio/musicpd/Makefile
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2019-10-24 21:23:13 +0000
committernia <nia@pkgsrc.org>2019-10-24 21:23:13 +0000
commit7b92dd477be61f2e8888f1d3725ff93d94892b20 (patch)
treedf6861b4fc18147aa2b258162792485845ad50c4 /audio/musicpd/Makefile
parent40cf7d765e661c522d1e9e93d791a9af613b553f (diff)
downloadpkgsrc-7b92dd477be61f2e8888f1d3725ff93d94892b20.tar.gz
musicpd: Update to 0.21.16
ver 0.21.16 (2019/10/16) * queue - fix relative destination offset when moving a range * storage - curl: request the "resourcetype" property to fix database update - curl: URL-encode more paths - curl: follow redirects for collections without trailing slash * update - fix crash when music_directory is not a directory * fix build with iconv() instead of ICU
Diffstat (limited to 'audio/musicpd/Makefile')
-rw-r--r--audio/musicpd/Makefile64
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"