xref: /OK3568_Linux_fs/buildroot/package/alure/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1config BR2_PACKAGE_ALURE
2	bool "alure"
3	depends on BR2_PACKAGE_OPENAL_ARCH_SUPPORTS
4	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C++11
5	depends on BR2_INSTALL_LIBSTDCPP
6	depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # openal
7	depends on BR2_USE_WCHAR # use wchar_t
8	depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # std::shared_future
9	select BR2_PACKAGE_OPENAL
10	help
11	  Alure is a C++ 3D audio API. It uses OpenAL for audio
12	  rendering, and provides common higher-level features such as
13	  file loading and decoding, buffer caching, background
14	  streaming, and source management for virtually unlimited
15	  sound source handles.
16
17	  https://kcat.strangesoft.net/alure.html
18
19if BR2_PACKAGE_ALURE
20
21config BR2_PACKAGE_ALURE_FLAC_DECODER
22	bool "flac decoder"
23	help
24	  Enables the built-in FLAC decoder.
25
26config BR2_PACKAGE_ALURE_MINIMP3_DECODER
27	bool "minimp3 decoder"
28	help
29	  Enables the built-in minimp3 decoder.
30
31config BR2_PACKAGE_ALURE_OPUS_DECODER
32	bool "opus decoder"
33	select BR2_PACKAGE_LIBOGG
34	select BR2_PACKAGE_OPUS
35	help
36	  Enables the built-in libopusfile decoder.
37
38config BR2_PACKAGE_ALURE_SNDFILE_DECODER
39	bool "sndfile decoder"
40	select BR2_PACKAGE_LIBSNDFILE
41	help
42	  Enables the built-in libsndfile decoder.
43
44config BR2_PACKAGE_ALURE_VORBIS_DECODER
45	bool "vorbis decoder"
46	select BR2_PACKAGE_LIBOGG
47	select BR2_PACKAGE_LIBVORBIS
48	help
49	  Enables the built-in libvorbis decoder.
50
51endif
52
53comment "alure needs a toolchain w/ C++, gcc >= 4.9, NPTL, wchar"
54	depends on BR2_PACKAGE_OPENAL_ARCH_SUPPORTS
55	depends on !BR2_INSTALL_LIBSTDCPP \
56		|| !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 \
57		|| !BR2_TOOLCHAIN_HAS_THREADS_NPTL || !BR2_USE_WCHAR
58
59comment "alure needs a toolchain not affected by GCC bug 64735"
60	depends on BR2_PACKAGE_OPENAL_ARCH_SUPPORTS
61	depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735
62