summaryrefslogtreecommitdiff
path: root/wayland/xwayland/Makefile
blob: 3abb27c5d0a094d48ece7a1779010d263f289cbc (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
38
39
40
COMMENT =	the X.Org Xwayland server

DISTNAME =	xwayland-23.1.2

CATEGORIES =	wayland

HOMEPAGE =	https://gitlab.freedesktop.org/xorg/xserver

MAINTAINER =	xenocara@openbsd.org

# MIT
PERMIT_PACKAGE =	Yes

WANTLIB = GL Xau Xdmcp Xfont2 gbm xcvt drm kvm pthread c m
WANTLIB += pixman-1 xshmfence epoxy wayland-client

SITES =		${SITE_XORG:=xserver/}
EXTRACT_SUFX =		.tar.xz

MODULES =		devel/meson

BUILD_DEPENDS = 	wayland/wayland-protocols

RUN_DEPENDS =		devel/desktop-file-utils 

LIB_DEPENDS =		wayland/wayland \
			devel/libinput-openbsd

SEPARATE_BUILD =	yes

CONFIGURE_ARGS =	-Dxdm-auth-1=false \
			-Dsecure-rpc=false

DEBUG_PACKAGES = ${BUILD_PACKAGES}

post-install:
	rm ${PREFIX}/lib/xorg/protocol.txt
	rm ${PREFIX}/man/man1/Xserver.1

.include <bsd.port.mk>