summaryrefslogtreecommitdiff
path: root/x11/wcm/Makefile
blob: 36bfd0fb1af74823bee7d71b55c0941c9fa1c839 (plain)
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

PORTNAME=	wcm
DISTVERSIONPREFIX=	v
DISTVERSION=	0.7.0
CATEGORIES=	x11

MAINTAINER=	jbeich@FreeBSD.org
COMMENT=	Wayfire Config Manager

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/LICENSE

BUILD_DEPENDS=	evdev-proto>0:devel/evdev-proto \
		wayfire>0:x11-wm/wayfire
LIB_DEPENDS=	libevdev.so:devel/libevdev \
		libwf-config.so:devel/wf-config \
		libwayland-client.so:graphics/wayland
RUN_DEPENDS=	wayfire>0:x11-wm/wayfire

CONFLICTS_INSTALL=	wcmcommander # bin/wcm

USES=		compiler:c++17-lang gnome meson pkgconfig
USE_GITHUB=	yes
USE_GNOME=	gtk30 libxml2
GH_ACCOUNT=	WayfireWM
DATADIR=	${PREFIX}/share/wayfire
INSTALLS_ICONS=	yes

OPTIONS_DEFINE=	WFSHELL
OPTIONS_DEFAULT=WFSHELL
OPTIONS_SUB=	yes

WFSHELL_DESC=			Build with wf-shell support
WFSHELL_BUILD_DEPENDS=		wf-shell>0:x11/wf-shell
WFSHELL_MESON_ENABLED=		wf_shell

.include <bsd.port.mk>