summaryrefslogtreecommitdiff
path: root/x11-servers/xwayland/Makefile
blob: 218dbcb9a34ea6a4a616dc625a97fa83b4c961bb (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
# $FreeBSD$

PORTNAME=	xwayland
PORTVERSION=	1.19.1

COMMENT=	X Clients under Wayland

LICENSE=	MIT

BUILD_DEPENDS=	${LOCALBASE}/libdata/pkgconfig/wayland-protocols.pc:graphics/wayland-protocols
LIB_DEPENDS=	libwayland-client.so:graphics/wayland \
		libinput.so:x11/libinput

MASTERDIR=	${.CURDIR}/../xorg-server
DESCR=		${.CURDIR}/pkg-descr
DISTINFO_FILE=	${.CURDIR}/distinfo
PATCHDIR=	${.CURDIR}/files

SLAVE_PORT=	yes
OPTIONS_EXCLUDE=DEVD HAL SUID

USE_XORG=	x11 xext xfont2
USE_GL+=	egl gbm

CONFIGURE_ARGS+=	--disable-docs --disable-devel-docs \
			--enable-xwayland --disable-xorg --disable-xvfb --disable-xnest \
			--disable-xquartz --disable-xwin

PLIST_FILES=	bin/Xwayland

EXTRA_PATCHES=	${MASTERDIR}/files/patch-CVE-2017-12176 \
		${MASTERDIR}/files/patch-CVE-2017-12177 \
		${MASTERDIR}/files/patch-CVE-2017-12178 \
		${MASTERDIR}/files/patch-CVE-2017-12179 \
		${MASTERDIR}/files/patch-CVE-2017-12183 \
		${MASTERDIR}/files/patch-CVE-2017-1218x \
		${MASTERDIR}/files/patch-CVE-2017-1218y \
		${MASTERDIR}/files/patch-CVE-2017-13721 \
		${MASTERDIR}/files/patch-CVE-2017-13723 \
		${MASTERDIR}/files/patch-os_io.c

do-install:
	cd ${WRKSRC}/hw/xwayland; DESTDIR=${STAGEDIR} ${MAKE_CMD} install

.include "${MASTERDIR}/Makefile"