1config BR2_PACKAGE_WINE_ARCH_SUPPORTS 2 bool 3 default y 4 # Wine only builds on certain architectures 5 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" || \ 6 BR2_HOSTARCH = "powerpc" || BR2_HOSTARCH = "arm" || \ 7 BR2_HOSTARCH = "aarch64" 8 # Wine has much CPU specific code and mostly makes sense on x86 9 depends on BR2_i386 10 11config BR2_PACKAGE_WINE 12 bool "wine" 13 depends on BR2_PACKAGE_WINE_ARCH_SUPPORTS 14 # Wine unconditionally builds shared libraries 15 depends on !BR2_STATIC_LIBS 16 # pthread_attr_setstack 17 depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL 18 select BR2_PACKAGE_ALSA_LIB_SEQ if BR2_PACKAGE_ALSA_LIB 19 select BR2_PACKAGE_ALSA_LIB_RAWMIDI if BR2_PACKAGE_ALSA_LIB 20 help 21 Wine is a compatibility layer capable of running Windows 22 applications on Linux. Instead of simulating internal 23 Windows logic like a virtual machine or emulator, Wine 24 translates Windows API calls into POSIX calls on-the-fly, 25 eliminating the performance and memory penalties of other 26 methods. 27 28 http://www.winehq.org 29 30comment "wine needs a toolchain w/ dynamic library, NPTL" 31 depends on BR2_PACKAGE_WINE_ARCH_SUPPORTS 32 depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS_NPTL 33