Config.in 1.2 KB

1234567891011121314151617181920212223242526272829303132
  1. config 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. config BR2_PACKAGE_WINE
  11. bool "wine"
  12. depends on BR2_PACKAGE_WINE_ARCH_SUPPORTS
  13. # Wine unconditionally builds shared libraries
  14. depends on !BR2_STATIC_LIBS
  15. # pthread_attr_setstack
  16. depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
  17. select BR2_PACKAGE_ALSA_LIB_SEQ if BR2_PACKAGE_ALSA_LIB
  18. select BR2_PACKAGE_ALSA_LIB_RAWMIDI if BR2_PACKAGE_ALSA_LIB
  19. help
  20. Wine is a compatibility layer capable of running Windows
  21. applications on Linux. Instead of simulating internal
  22. Windows logic like a virtual machine or emulator, Wine
  23. translates Windows API calls into POSIX calls on-the-fly,
  24. eliminating the performance and memory penalties of other
  25. methods.
  26. http://www.winehq.org
  27. comment "wine needs a toolchain w/ dynamic library, NPTL"
  28. depends on BR2_PACKAGE_WINE_ARCH_SUPPORTS
  29. depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS_NPTL