blob: 78ed90843a3735b0f12ce7bf8fbf4be921713eeb (
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
|
# $NetBSD: Makefile,v 1.11 2021/12/08 16:07:10 adam Exp $
DISTNAME= xorg-server-${XORG_VERSION}
PKGNAME= modular-xorg-xwayland-${XORG_VERSION}
PKGREVISION= 1
.include "../../devel/wayland/platform.mk"
.if empty(PLATFORM_SUPPORTS_WAYLAND:M[Yy][Ee][Ss])
PKG_SKIP_REASON+= "Platform does not support Wayland"
.endif
DISTINFO_FILE= ${.CURDIR}/../../x11/modular-xorg-server/distinfo
PATCHDIR= ${.CURDIR}/../../x11/modular-xorg-server/patches
MAINTAINER= nia@NetBSD.org
COMMENT= Server for running X clients under Wayland from modular X.org
.include "../../x11/modular-xorg-server/Makefile.common"
CONFIGURE_ARGS+= --disable-xorg
CONFIGURE_ARGS+= --disable-xephyr
CONFIGURE_ARGS+= --disable-xnest
CONFIGURE_ARGS+= --disable-xvfb
CONFIGURE_ARGS+= --disable-xwayland-eglstream
CONFIGURE_ARGS+= --enable-xwayland
post-install:
${RM} ${DESTDIR}${PREFIX}/lib/xorg/protocol.txt
${RM} ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/Xserver.1
if [ -f ${DESTDIR}${PREFIX}/share/doc/xorg-server/Xserver-DTrace.xml ]; then \
${RM} ${DESTDIR}${PREFIX}/share/doc/xorg-server/Xserver-DTrace.xml; \
fi
.include "../../x11/modular-xorg-server/options.mk"
.include "../../devel/wayland/buildlink3.mk"
.include "../../devel/wayland-protocols/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|