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