mirror of
https://git.busybox.net/buildroot.git
synced 2024-11-27 23:43:34 +08:00
cc08b57079
Instead of having the user need to figure out that 2 alsa-lib features
are needed for wine ALSA support, have the top-level wine option select
the relevant alsa-lib features, when alsa-lib is enabled as already done
for pulseaudio in commit 97cd3680a4
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
33 lines
1.2 KiB
Plaintext
33 lines
1.2 KiB
Plaintext
config BR2_PACKAGE_WINE_ARCH_SUPPORTS
|
|
bool
|
|
default y
|
|
# Wine only builds on certain architectures
|
|
depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" || \
|
|
BR2_HOSTARCH = "powerpc" || BR2_HOSTARCH = "arm" || \
|
|
BR2_HOSTARCH = "aarch64"
|
|
# Wine has much CPU specific code and mostly makes sense on x86
|
|
depends on BR2_i386
|
|
|
|
config BR2_PACKAGE_WINE
|
|
bool "wine"
|
|
depends on BR2_PACKAGE_WINE_ARCH_SUPPORTS
|
|
# Wine unconditionally builds shared libraries
|
|
depends on !BR2_STATIC_LIBS
|
|
# pthread_attr_setstack
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
|
|
select BR2_PACKAGE_ALSA_LIB_SEQ if BR2_PACKAGE_ALSA_LIB
|
|
select BR2_PACKAGE_ALSA_LIB_RAWMIDI if BR2_PACKAGE_ALSA_LIB
|
|
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
|
|
|
|
comment "wine needs a toolchain w/ dynamic library, NPTL"
|
|
depends on BR2_PACKAGE_WINE_ARCH_SUPPORTS
|
|
depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS_NPTL
|