| config BR2_PACKAGE_LIBOPENMPT |
| bool "libopenmpt" |
| # See: https://lib.openmpt.org/doc/dependencies.html |
| depends on BR2_INSTALL_LIBSTDCPP |
| depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 |
| depends on BR2_TOOLCHAIN_HAS_THREADS |
| help |
| libopenmpt is a cross-platform C++ and C library to decode |
| tracked music files (modules) into a raw PCM audio stream. |
| |
| openmpt123 is a cross-platform command-line or terminal |
| based module file player. |
| |
| https://lib.openmpt.org/libopenmpt |
| |
| if BR2_PACKAGE_LIBOPENMPT |
| |
| config BR2_PACKAGE_LIBOPENMPT_OPENMPT123 |
| bool "openmpt123" |
| help |
| Install the openmpt123 command line tool. |
| |
| endif |
| |
| comment "libopenmpt needs a toolchain w/ threads, C++, gcc >= 7" |
| depends on !BR2_INSTALL_LIBSTDCPP || \ |
| !BR2_TOOLCHAIN_GCC_AT_LEAST_7 || \ |
| !BR2_TOOLCHAIN_HAS_THREADS |