git: 7044c9d91429 - main - emulators/wine7: Add run-time dependency on alsa-plugins

From: Gerald Pfeifer <gerald_at_FreeBSD.org>
Date: Sat, 19 Aug 2023 11:20:08 UTC
The branch main has been updated by gerald:

URL: https://cgit.FreeBSD.org/ports/commit/?id=7044c9d91429af6b9f074cb577ebc500e5349cbb

commit 7044c9d91429af6b9f074cb577ebc500e5349cbb
Author:     Alexander Vereeken <Alexander88207@protonmail.com>
AuthorDate: 2023-08-19 11:19:32 +0000
Commit:     Gerald Pfeifer <gerald@FreeBSD.org>
CommitDate: 2023-08-19 11:19:32 +0000

    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 9e8129be811f..b13afae6e43a 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