config BR2_PACKAGE_PCMANFM
	bool "pcmanfm"
	depends on BR2_PACKAGE_HOST_RUSTC_ARCH_SUPPORTS # libfm
	depends on BR2_USE_WCHAR # libfm
	depends on BR2_TOOLCHAIN_HAS_THREADS # libfm
	depends on BR2_USE_MMU # libfm
	depends on BR2_INSTALL_LIBSTDCPP # libfm
	depends on BR2_TOOLCHAIN_HAS_SYNC_4 # libfm
	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libfm
	depends on BR2_PACKAGE_HAS_LIBEGL || BR2_PACKAGE_HAS_LIBGL # libfm
	depends on BR2_PACKAGE_XORG7 # libfm
	depends on BR2_PACKAGE_HAS_LIBGL # libfm
	select BR2_PACKAGE_LIBFM
	select BR2_PACKAGE_MENU_CACHE
	select BR2_PACKAGE_LIBGLIB2
	select BR2_PACKAGE_LIBGTK3
	select BR2_PACKAGE_LIBGTK3_X11
	help
	  PCMan File Manager (PCManFM) is a file manager application
	  developed by Hong Jen Yee from Taiwan which is meant to be a
	  replacement for Nautilus, Konqueror and Thunar.

	  http://wiki.lxde.org/en/PCManFM

comment "pcmanfm a toolchain w/ wchar, threads, C++, gcc >= 4.9"
	depends on BR2_PACKAGE_HOST_RUSTC_ARCH_SUPPORTS
	depends on BR2_USE_MMU
	depends on BR2_TOOLCHAIN_HAS_SYNC_4
	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
		!BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9

comment "pcmanfm needs X.org with an OpenGL backend"
	depends on BR2_PACKAGE_HOST_RUSTC_ARCH_SUPPORTS
	depends on BR2_USE_MMU
	depends on BR2_TOOLCHAIN_HAS_SYNC_4
	depends on !BR2_PACKAGE_XORG7 || BR2_PACKAGE_HAS_LIBGL
