mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-03 06:04:53 +00:00
d3dc70939a
Fixes the issue GNOME Shell 3.32 fails to start [1] [1] https://github.com/neutrinolabs/xorgxrdp/issues/156 Obtained from: https://github.com/neutrinolabs/xorgxrdp/pull/161 Sponsored by: HAW International
56 lines
1.2 KiB
Makefile
56 lines
1.2 KiB
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= xorgxrdp
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 0.2.13
|
|
PORTREVISION= 2
|
|
CATEGORIES= x11-drivers
|
|
DIST_SUBDIR= xrdp
|
|
|
|
PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
|
|
PATCHFILES= d3cefac.patch:-p1
|
|
|
|
MAINTAINER= meta@FreeBSD.org
|
|
COMMENT= X.Org driver enabling use through an RDP session with xrdp
|
|
|
|
LICENSE= MIT
|
|
|
|
RUN_DEPENDS= xauth:x11/xauth
|
|
BUILD_DEPENDS= nasm:devel/nasm
|
|
|
|
USES= autoreconf libtool:build pkgconfig xorg
|
|
USE_XORG= xorgproto xorg-server
|
|
USE_LDCONFIG= yes
|
|
USE_GITHUB= yes
|
|
|
|
GH_ACCOUNT= neutrinolabs
|
|
GH_PROJECT= xrdp:xrdp
|
|
GH_TAGNAME= v0.9.13:xrdp
|
|
GNU_CONFIGURE= yes
|
|
INSTALL_TARGET= install-strip
|
|
|
|
CFLAGS+= -I${LOCALBASE}/include
|
|
LIBS= -L${LOCALBASE}/lib
|
|
CONFIGURE_ENV= XRDP_CFLAGS=-I${WRKSRC_xrdp}/common
|
|
|
|
OPTIONS_DEFINE= DEBUG DRI3
|
|
OPTIONS_DEFAULT=
|
|
|
|
DRI3_DESC= DRI3/Glamor OpenGL Support
|
|
DRI3_CONFIGURE_ENABLE= glamor
|
|
DRI3_LIB_DEPENDS= libepoxy.so:graphics/libepoxy
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${PORT_OPTIONS:MDRI3}
|
|
SUB_FILES= pkg-message
|
|
.endif
|
|
|
|
post-patch-DEBUG-on:
|
|
${FIND} ${WRKSRC} -type f | ${XARGS} ${REINPLACE_CMD} -e 's|#define LOG_LEVEL [0-9]*|#define LOG_LEVEL 20|'
|
|
|
|
pre-configure:
|
|
@cd ${WRKSRC} && ./bootstrap
|
|
|
|
.include <bsd.port.post.mk>
|