xref: /OK3568_Linux_fs/buildroot/package/tesseract-ocr/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1comment "tesseract-ocr needs a toolchain w/ threads, C++, gcc >= 4.8, dynamic library, wchar"
2	depends on BR2_USE_MMU
3	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \
4		!BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 || BR2_STATIC_LIBS || !BR2_USE_WCHAR
5
6menuconfig BR2_PACKAGE_TESSERACT_OCR
7	bool "tesseract-ocr"
8	depends on BR2_INSTALL_LIBSTDCPP
9	depends on BR2_TOOLCHAIN_HAS_THREADS
10	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # C++11
11	depends on BR2_USE_MMU # fork()
12	depends on !BR2_STATIC_LIBS
13	depends on BR2_USE_WCHAR
14	select BR2_PACKAGE_LEPTONICA
15	help
16	  Tesseract is an OCR (Optical Character Recognition) engine,
17	  It can be used directly, or (for programmers) using an API.
18	  It supports a wide variety of languages.
19
20	  https://github.com/tesseract-ocr/tesseract
21
22if BR2_PACKAGE_TESSERACT_OCR
23
24comment "tesseract-ocr languages support"
25
26config BR2_PACKAGE_TESSERACT_OCR_LANG_ENG
27	bool "English"
28
29config BR2_PACKAGE_TESSERACT_OCR_LANG_FRA
30	bool "French"
31
32config BR2_PACKAGE_TESSERACT_OCR_LANG_GER
33	bool "German"
34
35config BR2_PACKAGE_TESSERACT_OCR_LANG_SPA
36	bool "Spanish"
37
38config BR2_PACKAGE_TESSERACT_OCR_LANG_CHI_SIM
39	bool "Simplified Chinese"
40
41config BR2_PACKAGE_TESSERACT_OCR_LANG_CHI_TRA
42	bool "Traditional Chinese"
43
44endif
45