aboutsummaryrefslogtreecommitdiff
path: root/multimedia/mpvpaper/Makefile
blob: 4af7b444eb115a12804d01fc96027b9088aee0b1 (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
PORTNAME=	mpvpaper
DISTVERSION=	1.2.1
CATEGORIES=	multimedia

MAINTAINER=	jbeich@FreeBSD.org
COMMENT=	Video wallpaper for wlroots compositors

LICENSE=	GPLv3

BUILD_DEPENDS=	wayland-protocols>0:graphics/wayland-protocols
LIB_DEPENDS=	libwayland-egl.so:graphics/wayland \
		libmpv.so:multimedia/mpv

USES=		compiler:c11 gl meson pkgconfig
USE_GITHUB=	yes
USE_GL=		egl
GH_ACCOUNT=	GhostNaN
PLIST_FILES=	bin/${PORTNAME} \
		bin/${PORTNAME}-holder \
		share/man/man1/${PORTNAME}.1.gz

post-patch:
	@${REINPLACE_CMD} 's/pidof/pgrep/' ${WRKSRC}/src/main.c

post-install:
	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.man \
		${STAGEDIR}${PREFIX}/share/man/man1/${PORTNAME}.1

.include <bsd.port.mk>