--- /dev/null
+config BR2_PACKAGE_CWIID
+ bool "cwiid"
+ depends on !BR2_STATIC_LIBS # bluez_utils
+ depends on BR2_USE_WCHAR # bluez_utils -> libglib2
+ depends on BR2_TOOLCHAIN_HAS_THREADS # bluez_utils -> dbus, alsa-lib, libglib2
+ depends on BR2_USE_MMU # bluez_utils -> dbus, libglib2
+ select BR2_PACKAGE_BLUEZ_UTILS
+ help
+ A collection of Linux tools written in C for interfacing to the
+ Nintendo Wiimote.
+
+ http://abstrakraft.org/cwiid/
+
+if BR2_PACKAGE_CWIID
+config BR2_PACKAGE_CWIID_WMGUI
+ bool "wmgui"
+ depends on BR2_ARCH_HAS_ATOMICS # libgtk2 -> cairo
+ depends on BR2_PACKAGE_XORG7 # libgtk2
+ depends on BR2_USE_WCHAR # libgtk2 -> libglib2
+ depends on BR2_TOOLCHAIN_HAS_THREADS # libgtk2 -> libglib2
+ depends on BR2_USE_MMU # libgtk2 -> libglib2
+ depends on BR2_INSTALL_LIBSTDCPP # libgtk2 -> pango
+ select BR2_PACKAGE_LIBGLIB2
+ select BR2_PACKAGE_LIBGTK2
+endif
+
+comment "cwiid needs a toolchain w/ dynamic lib, threads, wchar"
+ depends on BR2_STATIC_LIBS || !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
+ depends on !BR2_USE_MMU