# $NetBSD: Makefile,v 1.7 2020/05/22 10:56:48 adam Exp $
DISTNAME= xorg-server-${XORG_VERSION}
PKGNAME= modular-xorg-xwayland-${XORG_VERSION}
PKGREVISION= 1
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"
CVSweb <webmaster@jp.NetBSD.org>