* [Buildroot] [PATCH 1/1] package/wine: simplify alsa-lib feature selection
@ 2022-07-28 12:28 Fabrice Fontaine
2022-07-28 20:57 ` Thomas Petazzoni via buildroot
0 siblings, 1 reply; 2+ messages in thread
From: Fabrice Fontaine @ 2022-07-28 12:28 UTC (permalink / raw)
To: buildroot; +Cc: André Zwing, Fabrice Fontaine
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 97cd3680a4cc4bc0c71bccccb1459eda4b880159
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
package/wine/Config.in | 2 ++
package/wine/wine.mk | 2 +-
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/package/wine/Config.in b/package/wine/Config.in
index 18fb0a64a2..db3b1570ef 100644
--- a/package/wine/Config.in
+++ b/package/wine/Config.in
@@ -15,6 +15,8 @@ config BR2_PACKAGE_WINE
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
diff --git a/package/wine/wine.mk b/package/wine/wine.mk
index b2d7e1c8ac..b89a8a6c9f 100644
--- a/package/wine/wine.mk
+++ b/package/wine/wine.mk
@@ -45,7 +45,7 @@ ifeq ($(BR2_TOOLCHAIN_EXTERNAL),y)
WINE_CONF_OPTS += TARGETFLAGS="-b $(TOOLCHAIN_EXTERNAL_PREFIX)"
endif
-ifeq ($(BR2_PACKAGE_ALSA_LIB)$(BR2_PACKAGE_ALSA_LIB_SEQ)$(BR2_PACKAGE_ALSA_LIB_RAWMIDI),yyy)
+ifeq ($(BR2_PACKAGE_ALSA_LIB),y)
WINE_CONF_OPTS += --with-alsa
WINE_DEPENDENCIES += alsa-lib
else
--
2.35.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Buildroot] [PATCH 1/1] package/wine: simplify alsa-lib feature selection
2022-07-28 12:28 [Buildroot] [PATCH 1/1] package/wine: simplify alsa-lib feature selection Fabrice Fontaine
@ 2022-07-28 20:57 ` Thomas Petazzoni via buildroot
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni via buildroot @ 2022-07-28 20:57 UTC (permalink / raw)
To: Fabrice Fontaine; +Cc: André Zwing, buildroot
On Thu, 28 Jul 2022 14:28:39 +0200
Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:
> 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 97cd3680a4cc4bc0c71bccccb1459eda4b880159
>
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
> package/wine/Config.in | 2 ++
> package/wine/wine.mk | 2 +-
> 2 files changed, 3 insertions(+), 1 deletion(-)
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-07-28 20:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-28 12:28 [Buildroot] [PATCH 1/1] package/wine: simplify alsa-lib feature selection Fabrice Fontaine
2022-07-28 20:57 ` Thomas Petazzoni via buildroot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox