sthen b2fcc4d02a add a comment explaining why freerdp is stuck at 2.0.0rc1 (needs either
timer_create() and friends, or code to support an alternative timer
implementation)
2019-11-04 10:30:20 +00:00

64 lines
1.7 KiB
Makefile

# $OpenBSD: Makefile,v 1.39 2019/11/04 10:30:20 sthen Exp $
# Also: __sync_fetch_and_add_4 __sync_add_and_fetch_4 __sync_sub_and_fetch_4
BROKEN-hppa = undefined reference to __sync_val_compare_and_swap_4
COMMENT = client for Microsoft RDP (remote desktop protocol)
DISTNAME = freerdp-2.0.0-rc1
PKGNAME = freerdp-2.0.0rc1
REVISION = 4
CATEGORIES = x11 net
# XXX This version has known security issues.
# XXX Can't be updated without either timer_create() and friends or
# an alternative timer implementation (as was done for OSX)
SHARED_LIBS += freerdp-client2 0.0 # 2.0
SHARED_LIBS += freerdp2 0.0 # 2.0
SHARED_LIBS += winpr-tools2 0.0 # 2.0
SHARED_LIBS += winpr2 0.0 # 2.0
HOMEPAGE = https://www.freerdp.com/
MASTER_SITES = https://pub.freerdp.com/releases/
# Apache 2.0
PERMIT_PACKAGE = Yes
WANTLIB += X11 Xcursor Xext Xfixes Xi Xinerama Xrender Xv avcodec
WANTLIB += avutil c crypto cups execinfo m pthread ssl xkbfile
# thread-local storage
COMPILER = base-clang ports-gcc
MODULES = devel/cmake
CFLAGS += -I${X11BASE}/include -I${LOCALBASE}/include
BUILD_DEPENDS = security/pcsc-lite \
textproc/xmlto
LIB_DEPENDS = devel/libexecinfo \
print/cups,-libs \
graphics/ffmpeg
CONFIGURE_ARGS += -DBUILD_TESTING=ON \
-DWITH_CUPS=ON \
-DWITH_DIRECTFB=OFF \
-DWITH_GSTREAMER_0_10=OFF \
-DWITH_GSTREAMER_1_0=OFF \
-DWITH_OPENSLES=OFF \
-DWITH_PCSC=ON \
-DWITH_LIBSYSTEMD=OFF \
-DWITH_OSS=OFF
pre-configure:
${SUBST_CMD} ${WRKSRC}/winpr/libwinpr/CMakeLists.txt
${SUBST_CMD} ${WRKSRC}/CMakeLists.txt
.if ${MACHINE_ARCH} == "sparc64"
CONFIGURE_ARGS += -DWITH_NEON=OFF
.endif
.include <bsd.port.mk>