xref: /OK3568_Linux_fs/buildroot/package/cwiid/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1config BR2_PACKAGE_CWIID
2	bool "cwiid"
3	depends on !BR2_STATIC_LIBS # bluez5_utils
4	depends on BR2_USE_WCHAR # bluez5_utils -> libglib2
5	depends on BR2_TOOLCHAIN_HAS_THREADS # bluez5_utils -> dbus, alsa-lib, libglib2
6	depends on BR2_USE_MMU # bluez5_utils -> dbus, libglib2
7	depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4 # bluez5_utils
8	depends on BR2_TOOLCHAIN_HAS_SYNC_4 # bluez5_utils
9	select BR2_PACKAGE_BLUEZ5_UTILS
10	select BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_HID # runtime
11	help
12	  A collection of Linux tools written in C for interfacing to
13	  the Nintendo Wiimote.
14
15	  https://github.com/abstrakraft/cwiid
16
17if BR2_PACKAGE_CWIID
18config BR2_PACKAGE_CWIID_WMGUI
19	bool "wmgui"
20	depends on BR2_TOOLCHAIN_HAS_SYNC_4 # libgtk2 -> pango -> harfbuzz
21	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # libgtk2 -> pango -> harfbuzz
22	depends on BR2_PACKAGE_XORG7 # libgtk2
23	depends on BR2_USE_WCHAR # libgtk2 -> libglib2
24	depends on BR2_TOOLCHAIN_HAS_THREADS # libgtk2 -> libglib2
25	depends on BR2_USE_MMU # libgtk2 -> libglib2
26	depends on BR2_INSTALL_LIBSTDCPP # libgtk2 -> pango
27	select BR2_PACKAGE_LIBGLIB2
28	select BR2_PACKAGE_LIBGTK2
29endif
30
31comment "cwiid needs a toolchain w/ dynamic lib, threads, wchar, headers >= 3.4"
32	depends on BR2_TOOLCHAIN_HAS_SYNC_4
33	depends on BR2_STATIC_LIBS || !BR2_USE_WCHAR || \
34		!BR2_TOOLCHAIN_HAS_THREADS || \
35		!BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4
36	depends on !BR2_USE_MMU
37