Lines 2-9
Link Here
|
2 |
# $FreeBSD$ |
2 |
# $FreeBSD$ |
3 |
|
3 |
|
4 |
PORTNAME= freerdp |
4 |
PORTNAME= freerdp |
5 |
DISTVERSION= 2.0.0-rc0 |
5 |
DISTVERSION= 2.0.0-rc1 |
6 |
PORTREVISION= 3 |
|
|
7 |
CATEGORIES= net comms ipv6 |
6 |
CATEGORIES= net comms ipv6 |
8 |
|
7 |
|
9 |
MAINTAINER= kevans@FreeBSD.org |
8 |
MAINTAINER= kevans@FreeBSD.org |
Lines 12-32
Link Here
|
12 |
LICENSE= APACHE20 |
11 |
LICENSE= APACHE20 |
13 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
12 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
14 |
|
13 |
|
|
|
14 |
USES= alias cmake:outsource compiler:c++11-lib cpe gettext localbase pathfix pkgconfig ssl |
15 |
USE_LDCONFIG= yes |
16 |
CPE_VENDOR= freerdp_project |
17 |
|
15 |
USE_GITHUB= yes |
18 |
USE_GITHUB= yes |
16 |
GH_ACCOUNT= FreeRDP |
19 |
GH_ACCOUNT= FreeRDP |
17 |
GH_PROJECT= ${GH_ACCOUNT} |
20 |
GH_PROJECT= ${GH_ACCOUNT} |
18 |
|
21 |
|
19 |
USES= alias cmake:outsource compiler:c++11-lib cpe gettext localbase pathfix pkgconfig ssl |
|
|
20 |
USE_LDCONFIG= yes |
21 |
CPE_VENDOR= freerdp_project |
22 |
|
23 |
CMAKE_ARGS+= -DWITH_LIBSYSTEMD=OFF -DWITH_GSTREAMER_0_10=OFF ${CMAKE_ARGS_${ARCH}} |
22 |
CMAKE_ARGS+= -DWITH_LIBSYSTEMD=OFF -DWITH_GSTREAMER_0_10=OFF ${CMAKE_ARGS_${ARCH}} |
24 |
|
23 |
|
25 |
CMAKE_ARGS_aarch64= -DWITH_NEON=ON |
24 |
CMAKE_ARGS_aarch64= -DWITH_NEON=ON |
26 |
CFLAGS_aarch64= -D__ARM_NEON__=__ARM_NEON # clang |
25 |
CFLAGS_aarch64= -D__ARM_NEON__=__ARM_NEON # clang |
27 |
|
26 |
|
28 |
OPTIONS_DEFINE= ALSA CUPS FFMPEG GSTREAMER PULSEAUDIO WAYLAND X11 |
27 |
OPTIONS_DEFINE= ALSA CUPS FFMPEG GSTREAMER ICU KERBEROS MANPAGES \ |
29 |
OPTIONS_DEFAULT= CUPS GSTREAMER WAYLAND X11 |
28 |
PULSEAUDIO WAYLAND X11 |
|
|
29 |
OPTIONS_DEFAULT= CUPS GSTREAMER ICU KERBEROS MANPAGES WAYLAND X11 |
30 |
OPTIONS_SUB= yes |
30 |
OPTIONS_SUB= yes |
31 |
|
31 |
|
32 |
OPTIONS_DEFINE_armv6= NEON |
32 |
OPTIONS_DEFINE_armv6= NEON |
Lines 49-54
Link Here
|
49 |
GSTREAMER_USE= gnome=glib20 gstreamer1=yes xorg=x11,xext,xextproto,xrandr |
49 |
GSTREAMER_USE= gnome=glib20 gstreamer1=yes xorg=x11,xext,xextproto,xrandr |
50 |
GSTREAMER_LIB_DEPENDS= libgstbase-1.0.so:multimedia/gstreamer1 |
50 |
GSTREAMER_LIB_DEPENDS= libgstbase-1.0.so:multimedia/gstreamer1 |
51 |
|
51 |
|
|
|
52 |
ICU_LIB_DEPENDS= libicuuc.so:devel/icu |
53 |
ICU_CMAKE_BOOL= WITH_ICU |
54 |
|
55 |
KERBEROS_CMAKE_BOOL= WITH_GSSAPI_HEIMDAL |
56 |
|
57 |
MANPAGES_BUILD_DEPENDS= xsltproc:textproc/libxslt |
58 |
MANPAGES_CMAKE_BOOL= WITH_MANPAGES |
59 |
MANPAGES_CMAKE_OFF= -DWITH_MANPAGES=OFF |
60 |
|
52 |
NEON_DESC= Enable Media Processing Engine instructions |
61 |
NEON_DESC= Enable Media Processing Engine instructions |
53 |
NEON_CMAKE_BOOL= WITH_NEON |
62 |
NEON_CMAKE_BOOL= WITH_NEON |
54 |
.if ! ${CFLAGS:M-march*} |
63 |
.if ! ${CFLAGS:M-march*} |
Lines 69-75
Link Here
|
69 |
WAYLAND_CMAKE_BOOL= WITH_WAYLAND |
78 |
WAYLAND_CMAKE_BOOL= WITH_WAYLAND |
70 |
|
79 |
|
71 |
X11_DESC= Build FreeRDP X11 client |
80 |
X11_DESC= Build FreeRDP X11 client |
72 |
X11_BUILD_DEPENDS= xmlto:textproc/xmlto |
|
|
73 |
X11_CMAKE_BOOL= WITH_X11 |
81 |
X11_CMAKE_BOOL= WITH_X11 |
74 |
X11_CMAKE_OFF= -DWITH_XKBFILE=OFF |
82 |
X11_CMAKE_OFF= -DWITH_XKBFILE=OFF |
75 |
X11_USE= xorg=x11,xcursor,xext,xextproto,xfixes,xi,xinerama,xkbfile,xrandr,xrender,xv |
83 |
X11_USE= xorg=x11,xcursor,xext,xextproto,xfixes,xi,xinerama,xkbfile,xrandr,xrender,xv |
Lines 88-96
Link Here
|
88 |
post-patch: |
96 |
post-patch: |
89 |
@${REINPLACE_CMD} -e '/CMAKE_INSTALL_RPATH /d' \ |
97 |
@${REINPLACE_CMD} -e '/CMAKE_INSTALL_RPATH /d' \ |
90 |
${WRKSRC}/CMakeLists.txt |
98 |
${WRKSRC}/CMakeLists.txt |
91 |
@${REINPLACE_CMD} -e 's/OPENBSD/BSD/' \ |
99 |
@${REINPLACE_CMD} -e 's/Linux/Linux|FreeBSD/' \ |
92 |
${WRKSRC}/winpr/CMakeLists.txt \ |
100 |
${WRKSRC}/winpr/CMakeLists.txt |
93 |
${WRKSRC}/client/X11/CMakeLists.txt |
|
|
94 |
@${REINPLACE_CMD} -e 's/NetBSD__)/NetBSD__) || defined(__FreeBSD__)/' \ |
101 |
@${REINPLACE_CMD} -e 's/NetBSD__)/NetBSD__) || defined(__FreeBSD__)/' \ |
95 |
${WRKSRC}/winpr/libwinpr/utils/trio/triodef.h |
102 |
${WRKSRC}/winpr/libwinpr/utils/trio/triodef.h |
96 |
@${RM} ${WRKSRC}/cmake/FindOpenSSL.cmake |
103 |
@${RM} ${WRKSRC}/cmake/FindOpenSSL.cmake |