1config BR2_PACKAGE_LIBDECOR
2	bool "libdecor"
3	depends on !BR2_STATIC_LIBS # wayland
4	depends on BR2_USE_MMU # pango
5	depends on BR2_USE_WCHAR # pango
6	depends on BR2_TOOLCHAIN_HAS_SYNC_4 # pango
7	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # pango
8	depends on BR2_INSTALL_LIBSTDCPP # pango
9	depends on BR2_TOOLCHAIN_HAS_THREADS # pango, wayland
10	select BR2_PACKAGE_CAIRO
11	select BR2_PACKAGE_PANGO
12	select BR2_PACKAGE_WAYLAND
13	select BR2_PACKAGE_WAYLAND_PROTOCOLS
14	help
15	  libdecor is a library that can help Wayland clients draw
16	  window decorations for them. It aims to provide multiple
17	  backends that implements the decoration drawing.
18
19	  https://gitlab.freedesktop.org/libdecor/libdecor
20
21comment "libdecor needs a toolchain w/ wchar, threads, C++, gcc >= 4.9"
22	depends on BR2_USE_MMU
23	depends on BR2_TOOLCHAIN_HAS_SYNC_4
24	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \
25		!BR2_USE_WCHAR || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
26