From 7044c9d91429af6b9f074cb577ebc500e5349cbb Mon Sep 17 00:00:00 2001 From: Alexander Vereeken Date: Sat, 19 Aug 2023 11:19:32 +0000 Subject: [PATCH] emulators/wine7: Add run-time dependency on alsa-plugins When using the ALSA option (which is not the default) audio did not work - no audio device appeared for playing and recording and the following message appeared: ALSA lib dlmisc.c:285:(snd_dlobj_cache_get0) Cannot open shared library /usr/local/lib/alsa-lib/libasound_module_pcm_oss.so Providing alsa-plugins at run time addresses this. (This is a backport of a26844393b and 3a2594ed6f from the primary wine port.) Bump PORTREVSION accordingly. PR: 273137 --- emulators/wine7/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/emulators/wine7/Makefile b/emulators/wine7/Makefile index 9e8129be811f3..b13afae6e43a3 100644 --- a/emulators/wine7/Makefile +++ b/emulators/wine7/Makefile @@ -1,5 +1,6 @@ PORTNAME= wine DISTVERSION= 7.0.2 +PORTREVISION= 1 CATEGORIES= emulators MASTER_SITES= https://dl.winehq.org/wine/source/7.0/ PKGNAMESUFFIX= 7 @@ -77,6 +78,7 @@ PORTSCOUT= limit:^7\.0 ALSA_CONFIGURE_ON= --with-alsa --without-oss ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib +ALSA_RUN_DEPENDS= alsa-plugins>0:audio/alsa-plugins CUPS_CONFIGURE_WITH= cups CUPS_LIB_DEPENDS= libcups.so:print/cups