2018-03-15 20:45:54 +01:00
|
|
|
config BR2_PACKAGE_WINE_ARCH_SUPPORTS
|
|
|
|
bool
|
|
|
|
default y
|
2015-02-24 21:24:01 +01:00
|
|
|
# Wine only builds on certain architectures
|
2015-03-21 16:38:39 +01:00
|
|
|
depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" || \
|
|
|
|
BR2_HOSTARCH = "powerpc" || BR2_HOSTARCH = "arm" || \
|
|
|
|
BR2_HOSTARCH = "aarch64"
|
2015-02-24 21:24:01 +01:00
|
|
|
# Wine has much CPU specific code and mostly makes sense on x86
|
|
|
|
depends on BR2_i386
|
2018-03-15 20:45:54 +01:00
|
|
|
|
|
|
|
config BR2_PACKAGE_WINE
|
|
|
|
bool "wine"
|
|
|
|
depends on BR2_PACKAGE_WINE_ARCH_SUPPORTS
|
|
|
|
# Wine unconditionally builds shared libraries
|
|
|
|
depends on !BR2_STATIC_LIBS
|
2015-02-24 21:24:01 +01:00
|
|
|
help
|
|
|
|
Wine is a compatibility layer capable of running Windows
|
|
|
|
applications on Linux. Instead of simulating internal
|
|
|
|
Windows logic like a virtual machine or emulator, Wine
|
|
|
|
translates Windows API calls into POSIX calls on-the-fly,
|
|
|
|
eliminating the performance and memory penalties of other
|
|
|
|
methods.
|
|
|
|
|
|
|
|
http://www.winehq.org
|
2018-03-15 20:45:54 +01:00
|
|
|
|
|
|
|
comment "wine needs a toolchain w/ dynamic library"
|
|
|
|
depends on BR2_PACKAGE_WINE_ARCH_SUPPORTS
|
|
|
|
depends on BR2_STATIC_LIBS
|