aboutsummaryrefslogtreecommitdiff
path: root/multimedia/wireplumber/Makefile
blob: 2ecad6f3e3a49c808eeff4794a0c547916ba2c93 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
PORTNAME=	wireplumber
DISTVERSION=	0.4.90
CATEGORIES=	multimedia

MAINTAINER=	arrowd@FreeBSD.org
COMMENT=	Session and policy manager for PipeWire
WWW=		https://pipewire.pages.freedesktop.org/wireplumber/

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/LICENSE

LIB_DEPENDS=	libpipewire-0.3.so:multimedia/pipewire

USES=		gnome localbase:ldflags lua meson pkgconfig python:build

USE_GITLAB=	yes
GL_SITE=	https://gitlab.freedesktop.org
GL_ACCOUNT=	pipewire

USE_GNOME=	glib20

OPTIONS_DEFINE=	DOCS DOXYGEN NLS

DOXYGEN_BUILD_DEPENDS=	doxygen:devel/doxygen \
			g-ir-scanner:devel/gobject-introspection \
			sphinx-build:textproc/py-sphinx \
			${PYTHON_PKGNAMEPREFIX}breathe>0:devel/py-breathe@${PY_FLAVOR} \
			${PYTHON_PKGNAMEPREFIX}lxml>0:devel/py-lxml@${PY_FLAVOR} \
			${PYTHON_PKGNAMEPREFIX}sphinx_rtd_theme>0:textproc/py-sphinx_rtd_theme@${PY_FLAVOR}
DOXYGEN_MESON_ENABLED=	doc introspection
DOXYGEN_IMPLIES=	DOCS

NLS_USES=	gettext-runtime gettext-tools

MESON_ARGS=	-D system-lua=true \
		-D systemd=disabled \
		-D elogind=disabled

OPTIONS_SUB=	yes

PORTDOCS=	*

post-patch:
	${REINPLACE_CMD} -e "s|'python3'|'python${PYTHON_VER}'|" \
		${WRKSRC}/docs/meson.build

.include <bsd.port.mk>