pkgsrc/x11/modular-xorg-xephyr/Makefile
khorben 423a972c9c modular-xorg-xephyr: fix Xephyr visual with -parent option
This patch was imported from
https://gitlab.freedesktop.org/xorg/xserver/-/issues/128.

It notably fixes embedding Xephyr into Gtk+ 3 applications, such as
simulator(1) from devel/deforaos-coder.

Tested on netbsd-9/amd64.
2020-09-28 01:08:15 +00:00

38 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.22 2020/09/28 01:08:15 khorben Exp $
DISTNAME= xorg-server-${XORG_VERSION}
PKGNAME= modular-xorg-xephyr-${XORG_VERSION}
PKGREVISION= 1
DISTINFO_FILE= ${.CURDIR}/../../x11/modular-xorg-server/distinfo
PATCHDIR= ${.CURDIR}/../../x11/modular-xorg-server/patches
MAINTAINER= khorben@defora.org
COMMENT= Xephyr server based on kdrive from modular X.org
BROKEN_ON_PLATFORM+= Darwin-*-*
.include "../../x11/modular-xorg-server/Makefile.common"
CONFIGURE_ARGS+= --disable-xorg
CONFIGURE_ARGS+= --disable-xnest
CONFIGURE_ARGS+= --disable-xwayland
CONFIGURE_ARGS+= --enable-xephyr
CONFIGURE_ARGS+= --enable-kdrive
CONFIGURE_ARGS+= --disable-xvfb
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 "../../x11/xcb-util/buildlink3.mk"
.include "../../x11/xcb-util-image/buildlink3.mk"
.include "../../x11/xcb-util-renderutil/buildlink3.mk"
.include "../../x11/xcb-util-wm/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"