1config BR2_PACKAGE_LIBMANETTE
2	bool "libmanette"
3	depends on BR2_USE_MMU # libglib2
4	depends on BR2_USE_WCHAR # libglib2 -> gettext
5	depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2
6	depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_16
7	select BR2_PACKAGE_LIBEVDEV
8	select BR2_PACKAGE_LIBGLIB2
9	help
10	  GObject library which provides access to game controllers.
11
12	  https://gitlab.gnome.org/GNOME/libmanette
13
14comment "libmanette needs a toolchain w/ wchar, threads, headers >= 4.16"
15	depends on BR2_USE_MMU
16	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
17		!BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_16
18