2e097bfb6b
ver 0.20.15 (2018/01/05) * queue: fix crash after seek failure * resampler - soxr: clear internal state after manual song change * state file - make mount point restore errors non-fatal - fix crash when restoring mounts with incompatible database plugin * Android - build without Ant - fix for SIGSYS crash ver 0.20.14 (2018/01/01) * database - simple: fix file corruption in the presence of mount points * archive - bz2: fix deadlock - reduce lock contention, fixing lots of xrun problems * fix Solaris build failure ver 0.20.13 (2017/12/18) * output - osx: set up ring buffer to hold at least 100ms * mixer - alsa: fix rounding errors * database - simple: don't purge mount points on update/rescan - simple: fix "mount" bug caused by bad compiler optimization - simple: fix "lsinfo" into mount points - upnp: work around libupnp 1.6.24 API breakage * queue: fix spuriously misplaced prioritized songs * save and restore mountpoints within the state file * include Windows cross-build script in source tarball * fix Windows build failures
58 lines
1.4 KiB
Makefile
58 lines
1.4 KiB
Makefile
# $NetBSD: Makefile,v 1.157 2018/01/10 10:36:39 wiz Exp $
|
|
|
|
DISTNAME= mpd-0.20.15
|
|
PKGNAME= ${DISTNAME:S/mpd/musicpd/}
|
|
CATEGORIES= audio
|
|
MASTER_SITES= http://www.musicpd.org/download/mpd/0.20/
|
|
#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
|
|
|
|
CONFLICTS= mpd-[0-9]*
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_LIBTOOL= yes
|
|
USE_TOOLS+= pkg-config
|
|
USE_LANGUAGES= c c++
|
|
|
|
# c++14
|
|
GCC_REQD+= 4.9
|
|
|
|
# MacOS X audio output is no longer enabled by default.
|
|
CONFIGURE_ARGS.Darwin+= --enable-osx
|
|
|
|
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= post-patch
|
|
SUBST_FILES.paths= mpd.conf
|
|
SUBST_SED.paths= -e 's,@DEVOSSAUDIO@,${DEVOSSAUDIO},'
|
|
|
|
LDFLAGS+= ${LIBOSSAUDIO}
|
|
|
|
INSTALLATION_DIRS= ${EGDIR}
|
|
|
|
post-extract:
|
|
${CP} ${FILESDIR}/mpd.conf ${WRKSRC}/mpd.conf
|
|
|
|
post-install:
|
|
${INSTALL_DATA} ${WRKSRC}/mpd.conf ${DESTDIR}${EGDIR}
|
|
|
|
.include "../../devel/boost-libs/buildlink3.mk"
|
|
.include "../../textproc/icu/buildlink3.mk"
|
|
.include "../../audio/libmad/buildlink3.mk"
|
|
|
|
.include "../../mk/oss.buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|