summaryrefslogtreecommitdiff
path: root/audio/musicpd/Makefile
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2019-07-15 13:47:14 +0000
committernia <nia@pkgsrc.org>2019-07-15 13:47:14 +0000
commit8ac10630fc58955c5c1fcfb447a4d824304519be (patch)
tree538aab3a9b132881c627c1c3a6f9c25e5fd9de1a /audio/musicpd/Makefile
parent8cae680c86c851cd42a9561f172740e759c3e90a (diff)
downloadpkgsrc-8ac10630fc58955c5c1fcfb447a4d824304519be.tar.gz
musicpd: Update to 0.21.11
changes in pkgsrc: * switch from libmad to libmpg123 for mp3 decoding. it's more actively maintained. * switch from libaudiofile to libsndfile for lossless formats. it's more actively maintained. * add more options, and try to clarify existing options to make it obvious what is being enabled. * enable ffmpeg by default so playing m4a files works * fix cdparanoia support ver 0.21.11 (2019/07/03) * input - tidal: deprecated because Tidal has changed the protocol * decoder - wildmidi: log error if library initialization fails * output - alsa: fix busy loop while draining - alsa: fix missing drain call - alsa: improve xrun-avoiding silence generator - alsa: log when generating silence due to slow decoder - alsa, osx: fix distortions with DSD_U32 and DoP on 32 bit CPUs * protocol - fix "list" with multiple "group" levels
Diffstat (limited to 'audio/musicpd/Makefile')
-rw-r--r--audio/musicpd/Makefile38
1 files changed, 28 insertions, 10 deletions
diff --git a/audio/musicpd/Makefile b/audio/musicpd/Makefile
index 7bbcecd4ae6..c1ca77e81f2 100644
--- a/audio/musicpd/Makefile
+++ b/audio/musicpd/Makefile
@@ -1,15 +1,13 @@
-# $NetBSD: Makefile,v 1.187 2019/07/01 04:07:57 ryoon Exp $
+# $NetBSD: Makefile,v 1.188 2019/07/15 13:47:14 nia Exp $
-DISTNAME= mpd-0.21.10
+DISTNAME= mpd-0.21.11
PKGNAME= ${DISTNAME:S/mpd/musicpd/}
-PKGREVISION= 1
CATEGORIES= audio
-MASTER_SITES= http://www.musicpd.org/download/mpd/0.21/
-#MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=musicpd/}
+MASTER_SITES= https://www.musicpd.org/download/mpd/0.21/
EXTRACT_SUFX= .tar.xz
MAINTAINER= pkgsrc-users@NetBSD.org
-HOMEPAGE= http://musicpd.org/
+HOMEPAGE= https://www.musicpd.org/
COMMENT= Remote controllable audio player
LICENSE= gnu-gpl-v2
@@ -21,6 +19,19 @@ USE_TOOLS+= pkg-config
USE_LANGUAGES= c c++
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
+
+# not available in pkgsrc?
+MESON_ARGS+= -Dnfs=disabled
+MESON_ARGS+= -Diso9660=disabled
+MESON_ARGS+= -Dsndio=disabled
+
# c++14
GCC_REQD+= 6
@@ -32,7 +43,7 @@ EGDIR= ${PREFIX}/share/examples/mpd
CONF_FILES= ${EGDIR}/mpd.conf ${PKG_SYSCONFDIR}/mpd.conf
RCD_SCRIPTS= mpd
-FILES_SUBST+= DEVOSSAUDIO=${DEVOSSAUDIO:Q}
+FILES_SUBST+= DEVOSSAUDIO=${DEVOSSAUDIO}
SUBST_CLASSES+= paths
SUBST_STAGE.paths= pre-configure
@@ -58,10 +69,17 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/doc/mpdconf.example ${DESTDIR}${EGDIR}
.include "../../devel/py-meson/build.mk"
+BUILDLINK_ABI_DEPENDS.flac+= flac>=1.2
+.include "../../audio/flac/buildlink3.mk"
+.include "../../audio/libopus/buildlink3.mk"
+.include "../../audio/mpg123/buildlink3.mk"
+.include "../../databases/sqlite3/buildlink3.mk"
.include "../../devel/boost-libs/buildlink3.mk"
-.include "../../textproc/icu/buildlink3.mk"
-.include "../../audio/libmad/buildlink3.mk"
+.include "../../devel/pcre/buildlink3.mk"
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
-
+.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"