2023-11-07 23:37:56 +01:00
|
|
|
# $NetBSD: Makefile,v 1.41 2023/11/07 22:37:56 wiz Exp $
|
2004-04-30 12:49:25 +02:00
|
|
|
|
2021-12-07 19:17:56 +01:00
|
|
|
DISTNAME= mpc-0.34
|
2023-08-14 07:23:45 +02:00
|
|
|
PKGREVISION= 3
|
2004-04-30 12:49:25 +02:00
|
|
|
CATEGORIES= audio
|
2019-12-04 12:37:16 +01:00
|
|
|
MASTER_SITES= https://www.musicpd.org/download/mpc/0/
|
2013-12-06 14:39:34 +01:00
|
|
|
EXTRACT_SUFX= .tar.xz
|
2004-04-30 12:49:25 +02:00
|
|
|
|
2004-08-14 15:25:41 +02:00
|
|
|
MAINTAINER= simonb@NetBSD.org
|
2019-12-04 12:37:16 +01:00
|
|
|
HOMEPAGE= https://musicpd.org/
|
2004-04-30 12:49:25 +02:00
|
|
|
COMMENT= Command-line client for musicpd
|
2011-02-27 16:08:16 +01:00
|
|
|
LICENSE= gnu-gpl-v2
|
2004-04-30 12:49:25 +02:00
|
|
|
|
2023-05-16 18:42:13 +02:00
|
|
|
TOOL_DEPENDS+= ${PYPKGPREFIX}-sphinx>=7.0:../../textproc/py-sphinx
|
2021-12-07 19:17:56 +01:00
|
|
|
# added as of 0.34. not sure why, but meson complains if it's missing
|
|
|
|
TOOL_DEPENDS+= rsync-[0-9]*:../../net/rsync
|
|
|
|
|
2011-02-27 16:06:06 +01:00
|
|
|
USE_TOOLS+= pkg-config
|
2004-04-30 12:49:25 +02:00
|
|
|
|
2019-11-10 12:27:07 +01:00
|
|
|
LDFLAGS+= ${BUILDLINK_LDADD.iconv}
|
2012-01-11 20:38:24 +01:00
|
|
|
|
2019-12-04 12:37:16 +01:00
|
|
|
SUBST_CLASSES+= sphinx
|
|
|
|
SUBST_STAGE.sphinx= pre-configure
|
|
|
|
SUBST_FILES.sphinx= meson.build
|
|
|
|
SUBST_MESSAGE.sphinx= Fixing sphinx binary name.
|
|
|
|
SUBST_SED.sphinx+= -e "s,sphinx-build,sphinx-build-${PYVERSSUFFIX},"
|
|
|
|
|
2022-07-10 21:13:22 +02:00
|
|
|
PYTHON_FOR_BUILD_ONLY= tool
|
2023-11-07 23:37:56 +01:00
|
|
|
PYTHON_VERSIONS_INCOMPATIBLE= 27 38
|
2019-03-27 10:53:18 +01:00
|
|
|
|
2019-10-07 11:28:09 +02:00
|
|
|
.include "../../devel/meson/build.mk"
|
2021-12-07 19:17:56 +01:00
|
|
|
BUILDLINK_API_DEPENDS.libmpdclient+= libmpdclient>=2.16
|
2011-02-27 16:06:06 +01:00
|
|
|
.include "../../audio/libmpdclient/buildlink3.mk"
|
2004-05-05 11:29:11 +02:00
|
|
|
.include "../../converters/libiconv/buildlink3.mk"
|
2022-07-10 21:13:22 +02:00
|
|
|
.include "../../lang/python/pyversion.mk"
|
2004-04-30 12:49:25 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|