git: 98ea9470f43d - main - emulators/wine: fix packaging with ALSA enabled

From: Dima Panov <fluffy_at_FreeBSD.org>
Date: Tue, 25 Jul 2023 10:05:00 UTC
The branch main has been updated by fluffy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=98ea9470f43d8428a55cbb9374fb2c0f0fc98f79

commit 98ea9470f43d8428a55cbb9374fb2c0f0fc98f79
Author:     Dima Panov <fluffy@FreeBSD.org>
AuthorDate: 2023-07-25 10:04:30 +0000
Commit:     Dima Panov <fluffy@FreeBSD.org>
CommitDate: 2023-07-25 10:04:30 +0000

    emulators/wine: fix packaging with ALSA enabled
    
    When ALSA option is selected, Wine build corresponded drivers
    but they are missing in plist and thus missed in package
    
    Bump PORTREVISION to force rebuild package to include missed drivers
    
    Reported by:    poudriere bulk -t
    Approved by:    portmgr blanket
    
    Sponsored by:   Serenity Cybersecurity, LLC
---
 emulators/wine/Makefile  | 2 +-
 emulators/wine/pkg-plist | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/emulators/wine/Makefile b/emulators/wine/Makefile
index 652a179359a4..b592882758a1 100644
--- a/emulators/wine/Makefile
+++ b/emulators/wine/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	wine
 DISTVERSION=	7.0.2
-PORTREVISION=	2
+PORTREVISION=	3
 PORTEPOCH=	1
 CATEGORIES=	emulators
 MASTER_SITES=	https://dl.winehq.org/wine/source/7.0/
diff --git a/emulators/wine/pkg-plist b/emulators/wine/pkg-plist
index c22fd8300e89..931ec8411938 100644
--- a/emulators/wine/pkg-plist
+++ b/emulators/wine/pkg-plist
@@ -2299,6 +2299,7 @@ lib/wine/%%WINEARCH%%-unix/windows.media.devices.dll.so
 lib/wine/%%WINEARCH%%-unix/windows.media.speech.dll.so
 lib/wine/%%WINEARCH%%-unix/windowscodecs.dll.so
 lib/wine/%%WINEARCH%%-unix/windowscodecsext.dll.so
+%%ALSA%%lib/wine/%%WINEARCH%%-unix/winealsa.drv.so
 lib/wine/%%WINEARCH%%-unix/wineboot.exe.so
 lib/wine/%%WINEARCH%%-unix/winebrowser.exe.so
 lib/wine/%%WINEARCH%%-unix/winebus.so
@@ -3327,6 +3328,7 @@ lib/wine/%%WINEARCH%%-windows/windows.media.devices.dll
 lib/wine/%%WINEARCH%%-windows/windows.media.speech.dll
 lib/wine/%%WINEARCH%%-windows/windowscodecs.dll
 lib/wine/%%WINEARCH%%-windows/windowscodecsext.dll
+%%ALSA%%lib/wine/%%WINEARCH%%-windows/winealsa.drv
 lib/wine/%%WINEARCH%%-windows/wineboot.exe
 lib/wine/%%WINEARCH%%-windows/winebrowser.exe
 lib/wine/%%WINEARCH%%-windows/winebus.sys