aboutsummaryrefslogtreecommitdiff
path: root/multimedia/playerctl/Makefile
blob: 11c57fcf7c9ddde77159cc1abede9fb2a542cdea (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
# Created by: Aaron LI <aly@aaronly.me>

PORTNAME=	playerctl
DISTVERSION=	2.3.1
PORTREVISION=	1
CATEGORIES=	multimedia audio
MASTER_SITES=	https://github.com/altdesktop/${PORTNAME}/releases/download/v${DISTVERSION}/

MAINTAINER=	aly@aaronly.me
COMMENT=	MPRIS command-line controller and library

LICENSE=	LGPL3+
LICENSE_FILE=	${WRKSRC}/COPYING

USES=		gnome meson pkgconfig tar:xz
USE_CSTD=	c99
USE_GNOME=	glib20
USE_LDCONFIG=	yes

MESON_ARGS+=	-Dbash-completions=true -Dzsh-completions=true

PLIST_SUB=	VERSION=${DISTVERSION}

OPTIONS_DEFINE=			DOCS INTROSPECTION
OPTIONS_SUB=			yes

DOCS_DESC=			Build GTK documentation
DOCS_BUILD_DEPENDS=		gtkdoc-scan:textproc/gtk-doc
DOCS_MESON_TRUE=		gtk-doc
DOCSDIR=			${PREFIX}/share/gtk-doc/html/${PORTNAME}

INTROSPECTION_DESC=		Build GObject Introspection
INTROSPECTION_USE=		gnome=introspection:build
INTROSPECTION_MESON_TRUE=	introspection

.include <bsd.port.mk>