xref: /OK3568_Linux_fs/buildroot/package/freerdp/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1config BR2_PACKAGE_FREERDP
2	bool "freerdp"
3	# FreeRDP does not have a single C++ source file, however it
4	# insists on having a C++ compiler. Removing that requirement
5	# is a bit too much involving, so we just depend on it...
6	depends on BR2_INSTALL_LIBSTDCPP
7	depends on BR2_USE_WCHAR
8	depends on !BR2_STATIC_LIBS # uses dlfcn.h
9	depends on BR2_TOOLCHAIN_HAS_THREADS
10	depends on BR2_USE_MMU # libglib2
11	depends on BR2_TOOLCHAIN_HAS_SYNC_4
12	select BR2_PACKAGE_OPENSSL
13	select BR2_PACKAGE_LIBOPENSSL_ENABLE_RC4 if BR2_PACKAGE_LIBOPENSSL
14	select BR2_PACKAGE_ZLIB
15	select BR2_PACKAGE_LIBGLIB2
16	help
17	  FreeRDP is a free implementation of the Remote Desktop
18	  Protocol (RDP), released under the Apache license
19
20	  This only installs the freerdp libraries.
21
22	  http://www.freerdp.com/
23
24	  Note: this also installs a key and certificate in
25	  /etc/freerdp/keys/ . These are publicly-known, as they
26	  are present in FreeRDP's source tree. It is strongly
27	  suggested that you overwrite them with your own set,
28	  either in an overlay rootfs or in a post-build script.
29
30if BR2_PACKAGE_FREERDP
31
32config BR2_PACKAGE_FREERDP_GSTREAMER1
33	bool "gstreamer support"
34	depends on BR2_PACKAGE_GSTREAMER1
35	depends on BR2_PACKAGE_XORG7 # xlib-libxrandr
36	# gstreamer-1.x dependencies already dependencies of FreeRDP
37	select BR2_PACKAGE_GST1_PLUGINS_BASE
38	select BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_APP
39	select BR2_PACKAGE_XLIB_LIBXRANDR
40
41comment "gstreamer support needs X.Org"
42	depends on !BR2_PACKAGE_XORG7
43	depends on BR2_PACKAGE_GSTREAMER1
44
45config BR2_PACKAGE_FREERDP_SERVER
46	bool "server"
47	depends on BR2_PACKAGE_XORG7
48	select BR2_PACKAGE_XLIB_LIBX11
49	select BR2_PACKAGE_XLIB_LIBXDAMAGE
50	select BR2_PACKAGE_XLIB_LIBXEXT
51	select BR2_PACKAGE_XLIB_LIBXFIXES
52
53config BR2_PACKAGE_FREERDP_CLIENT_X11
54	bool "X11 client"
55	default y
56	depends on BR2_PACKAGE_XORG7
57	select BR2_PACKAGE_XLIB_LIBX11
58	select BR2_PACKAGE_XLIB_LIBXEXT
59
60comment "server and X11 client need X.Org"
61	depends on !BR2_PACKAGE_XORG7
62
63config BR2_PACKAGE_FREERDP_CLIENT_WL
64	bool "wayland client"
65	default y
66	depends on BR2_PACKAGE_WAYLAND
67	select BR2_PACKAGE_LIBXKBCOMMON
68
69endif
70
71comment "freerdp needs a toolchain w/ wchar, dynamic library, threads, C++"
72	depends on BR2_TOOLCHAIN_HAS_SYNC_4
73	depends on !BR2_USE_WCHAR || BR2_STATIC_LIBS \
74		|| !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP
75