Lines 27-39
Link Here
|
27 |
GH_ACCOUNT= FreeRDP |
27 |
GH_ACCOUNT= FreeRDP |
28 |
GH_PROJECT= ${GH_ACCOUNT} |
28 |
GH_PROJECT= ${GH_ACCOUNT} |
29 |
|
29 |
|
30 |
CMAKE_ARGS+= -DWITH_LIBSYSTEMD=OFF -DWITH_GSTREAMER_0_10=OFF ${CMAKE_ARGS_${ARCH}} |
30 |
CMAKE_ARGS+= -DWITH_CHANNELS:BOOL=ON \ |
|
|
31 |
-DWITH_DSP_EXPERIMENTAL:BOOL=OFF \ |
32 |
-DWITH_DSP_FFMPEG:BOOL=OFF -DWITH_GPROF:BOOL=OFF \ |
33 |
-DWITH_GSTREAMER_0_10:BOOL=OFF -DWITH_IPP:BOOL=OFF \ |
34 |
-DWITH_JPEG:BOOL=OFF -DWITH_LIBSYSTEMD:BOOL=OFF \ |
35 |
-DWITH_MBEDTLS:BOOL=OFF -DWITH_OPENSLES=OFF \ |
36 |
-DWITH_OPENSSL:BOOL=ON -DWITH_OSS=ON \ |
37 |
-DWITH_PROFILER:BOOL=OFF -DWITH_SAMPLE:BOOL=OFF \ |
38 |
-DWITH_SANITIZE_ADDRESS:BOOL=OFF \ |
39 |
-DWITH_SANITIZE_MEMORY:BOOL=OFF \ |
40 |
-DWITH_SANITIZE_THREAD:BOOL=OFF -DWITH_SERVER:BOOL=OFF \ |
41 |
-DWITH_SERVER_INTERFACE:BOOL=OFF \ |
42 |
-DWITH_SMARTCARD_INSPECT:BOOL=OFF \ |
43 |
-DWITH_THIRD_PARTY:BOOL=OFF \ |
44 |
-DWITH_VALGRIND_MEMCHECK:BOOL=OFF -DWITH_X264:BOOL=OFF \ |
45 |
-DWITH_ZLIB:BOOL=ON \ |
46 |
${CMAKE_ARGS_${ARCH}} |
31 |
|
47 |
|
32 |
CMAKE_ARGS_aarch64= -DWITH_NEON=ON |
48 |
CMAKE_ARGS_aarch64= -DWITH_NEON=ON |
33 |
CFLAGS_aarch64= -D__ARM_NEON__=__ARM_NEON # clang |
49 |
CFLAGS_aarch64= -D__ARM_NEON__=__ARM_NEON # clang |
34 |
|
50 |
|
35 |
OPTIONS_DEFINE= ALSA CUPS FFMPEG GSTREAMER ICU KERBEROS MANPAGES \ |
51 |
OPTIONS_DEFINE= ALSA CUPS DIRECTFB FAAC FAAD FFMPEG GSM \ |
36 |
PULSEAUDIO WAYLAND X11 |
52 |
GSTREAMER ICU KERBEROS LAME MANPAGES OPENH264 \ |
|
|
53 |
PCSC PULSEAUDIO SOXR WAYLAND X11 |
37 |
OPTIONS_DEFAULT= CUPS GSTREAMER ICU KERBEROS MANPAGES WAYLAND X11 |
54 |
OPTIONS_DEFAULT= CUPS GSTREAMER ICU KERBEROS MANPAGES WAYLAND X11 |
38 |
OPTIONS_SUB= yes |
55 |
OPTIONS_SUB= yes |
39 |
|
56 |
|
Lines 49-58
Link Here
|
49 |
CUPS_LIB_DEPENDS= libcups.so:print/cups |
66 |
CUPS_LIB_DEPENDS= libcups.so:print/cups |
50 |
CUPS_CMAKE_BOOL= WITH_CUPS |
67 |
CUPS_CMAKE_BOOL= WITH_CUPS |
51 |
|
68 |
|
|
|
69 |
DIRECTFB_DESC= DirectFB graphics support |
70 |
DIRECTFB_LIB_DEPENDS= libdirectfb.so:devel/directfb |
71 |
DIRECTFB_CMAKE_BOOL= WITH_DIRECTFB |
72 |
|
73 |
FAAC_LIB_DEPENDS= libfaac.so:audio/faac |
74 |
FAAC_CMAKE_BOOL= WITH_FAAC |
75 |
|
76 |
FAAD_LIB_DEPENDS= libfaad.so:audio/faad |
77 |
FAAD_CMAKE_BOOL= WITH_FAAD2 |
78 |
|
52 |
FFMPEG_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg \ |
79 |
FFMPEG_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg \ |
53 |
libavutil.so:multimedia/ffmpeg |
80 |
libavutil.so:multimedia/ffmpeg |
54 |
FFMPEG_CMAKE_BOOL= WITH_FFMPEG |
81 |
FFMPEG_CMAKE_BOOL= WITH_FFMPEG |
55 |
|
82 |
|
|
|
83 |
GSM_LIB_DEPENDS= libgsm.so:audio/gsm |
84 |
GSM_CMAKE_BOOL= WITH_GSM |
85 |
|
56 |
GSTREAMER_CMAKE_BOOL= WITH_GSTREAMER_1_0 |
86 |
GSTREAMER_CMAKE_BOOL= WITH_GSTREAMER_1_0 |
57 |
GSTREAMER_USE= gnome=glib20 gstreamer1=yes xorg=x11,xext,xorgproto,xrandr |
87 |
GSTREAMER_USE= gnome=glib20 gstreamer1=yes xorg=x11,xext,xorgproto,xrandr |
58 |
GSTREAMER_LIB_DEPENDS= libgstbase-1.0.so:multimedia/gstreamer1 |
88 |
GSTREAMER_LIB_DEPENDS= libgstbase-1.0.so:multimedia/gstreamer1 |
Lines 62-67
Link Here
|
62 |
|
92 |
|
63 |
KERBEROS_CMAKE_BOOL= WITH_GSSAPI_HEIMDAL |
93 |
KERBEROS_CMAKE_BOOL= WITH_GSSAPI_HEIMDAL |
64 |
|
94 |
|
|
|
95 |
LAME_LIB_DEPENDS= libmp3lame.so:audio/lame |
96 |
LAME_CMAKE_BOOL= WITH_LAME |
97 |
|
65 |
MANPAGES_BUILD_DEPENDS= xmlto:textproc/xmlto |
98 |
MANPAGES_BUILD_DEPENDS= xmlto:textproc/xmlto |
66 |
MANPAGES_CMAKE_BOOL= WITH_MANPAGES |
99 |
MANPAGES_CMAKE_BOOL= WITH_MANPAGES |
67 |
MANPAGES_CMAKE_OFF= -DWITH_MANPAGES=OFF |
100 |
MANPAGES_CMAKE_OFF= -DWITH_MANPAGES=OFF |
Lines 72-80
Link Here
|
72 |
NEON_CFLAGS= -march=armv7-a |
105 |
NEON_CFLAGS= -march=armv7-a |
73 |
.endif |
106 |
.endif |
74 |
|
107 |
|
|
|
108 |
OPENH264_DESC= H.264 video codec support via OpenH264 |
109 |
OPENH264_LIB_DEPENDS= libopenh264.so:multimedia/openh264 |
110 |
OPENH264_CMAKE_BOOL= WITH_OPENH264 |
111 |
|
112 |
PCSC_DESC= Smart card support (smart card device redirection) |
113 |
PCSC_LIB_DEPENDS= libpcsclite.so:devel/pcsc-lite |
114 |
PCSC_CMAKE_BOOL= WITH_PCSC |
115 |
|
75 |
PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio |
116 |
PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio |
76 |
PULSEAUDIO_CMAKE_BOOL= WITH_PULSE |
117 |
PULSEAUDIO_CMAKE_BOOL= WITH_PULSE |
77 |
|
118 |
|
|
|
119 |
SOXR_LIB_DEPENDS= libsoxr.so:audio/libsoxr |
120 |
SOXR_CMAKE_BOOL= WITH_SOXR |
121 |
|
78 |
SSE_CMAKE_BOOL= WITH_SSE2 |
122 |
SSE_CMAKE_BOOL= WITH_SSE2 |
79 |
|
123 |
|
80 |
WAYLAND_DESC= Build FreeRDP Wayland client |
124 |
WAYLAND_DESC= Build FreeRDP Wayland client |
Lines 85-92
Link Here
|
85 |
WAYLAND_CMAKE_BOOL= WITH_WAYLAND |
129 |
WAYLAND_CMAKE_BOOL= WITH_WAYLAND |
86 |
|
130 |
|
87 |
X11_DESC= Build FreeRDP X11 client |
131 |
X11_DESC= Build FreeRDP X11 client |
88 |
X11_CMAKE_BOOL= WITH_X11 |
132 |
X11_CMAKE_ON= -DWITH_X11:BOOL=ON -DWITH_XCURSOR:BOOL=ON \ |
89 |
X11_CMAKE_OFF= -DWITH_XKBFILE=OFF |
133 |
-DWITH_XEXT:BOOL=ON -DWITH_XFIXES:BOOL=ON \ |
|
|
134 |
-DWITH_XI:BOOL=ON -DWITH_XINERAMA:BOOL=ON \ |
135 |
-DWITH_XKBFILE:BOOL=ON -DWITH_XRANDR:BOOL=ON \ |
136 |
-DWITH_XRENDER:BOOL=ON -DWITH_XSHM:BOOL=ON \ |
137 |
-DWITH_XV:BOOL=ON |
138 |
X11_CMAKE_OFF= -DWITH_X11:BOOL=OFF -DWITH_XKBFILE:BOOL=OFF |
90 |
X11_USE= xorg=x11,xcursor,xext,xorgproto,xfixes,xi,xinerama,xkbfile,xrandr,xrender,xv |
139 |
X11_USE= xorg=x11,xcursor,xext,xorgproto,xfixes,xi,xinerama,xkbfile,xrandr,xrender,xv |
91 |
|
140 |
|
92 |
post-patch: |
141 |
post-patch: |
Lines 104-108
Link Here
|
104 |
${WRKSRC}/server/CMakeLists.txt \ |
153 |
${WRKSRC}/server/CMakeLists.txt \ |
105 |
${WRKSRC}/server/shadow/CMakeLists.txt \ |
154 |
${WRKSRC}/server/shadow/CMakeLists.txt \ |
106 |
${WRKSRC}/libfreerdp/CMakeLists.txt |
155 |
${WRKSRC}/libfreerdp/CMakeLists.txt |
|
|
156 |
@${REINPLACE_CMD} -e 's|gsm/gsm.h|gsm.h|' \ |
157 |
${WRKSRC}/cmake/FindGSM.cmake \ |
158 |
${WRKSRC}/libfreerdp/codec/dsp.c |
107 |
|
159 |
|
108 |
.include <bsd.port.mk> |
160 |
.include <bsd.port.mk> |