git: eb5fce936ef1 - main - emulators/wine-devel: Fix packaging with ALSA on

From: Hans Petter Selasky <hselasky_at_FreeBSD.org>
Date: Sun, 01 May 2022 14:46:12 UTC
The branch main has been updated by hselasky:

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

commit eb5fce936ef1e4c2ff51d5064fe153d15a5f7107
Author:     Hans Petter Selasky <hselasky@FreeBSD.org>
AuthorDate: 2022-05-01 14:40:35 +0000
Commit:     Hans Petter Selasky <hselasky@FreeBSD.org>
CommitDate: 2022-05-01 14:45:52 +0000

    emulators/wine-devel: Fix packaging with ALSA on
    
    Make sure the built ALSA libraries are included in the package when ALSA is on.
    Fixes ce1e733047cfa6bdea3d1bfb767814c7fa2a9809 and "make check-plist" .
    
    Approved by: pi (implicit)
---
 emulators/wine-devel/pkg-plist | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/emulators/wine-devel/pkg-plist b/emulators/wine-devel/pkg-plist
index 087c2573c91d..e2952dd58d6f 100644
--- a/emulators/wine-devel/pkg-plist
+++ b/emulators/wine-devel/pkg-plist
@@ -1431,6 +1431,8 @@ lib/wine/%%WINEARCH%%-unix/qcap.so
 lib/wine/%%WINEARCH%%-unix/secur32.so
 lib/wine/%%WINEARCH%%-unix/win32u.so
 lib/wine/%%WINEARCH%%-unix/winebus.so
+%%ALSA%%lib/wine/%%WINEARCH%%-unix/winealsa.so
+%%ALSA%%lib/wine/%%WINEARCH%%-windows/winealsa.drv
 %%OSS%%lib/wine/%%WINEARCH%%-unix/wineoss.so
 %%OSS%%lib/wine/%%WINEARCH%%-unix/wineoss.drv.so
 lib/wine/%%WINEARCH%%-unix/winevulkan.so