emulators/wine-devel: 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 forward port of a26844393b and 3a2594ed6f from the primary
wine port.)

Bump PORTREVSION accordingly.

PR:		273137
This commit is contained in:
Gerald Pfeifer 2023-08-20 08:07:09 +00:00
parent ac9651d4cb
commit ba0e1a78f3

View file

@ -1,5 +1,6 @@
PORTNAME= wine
DISTVERSION= 8.11
PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= emulators
MASTER_SITES= https://dl.winehq.org/wine/source/8.x/
@ -82,6 +83,7 @@ MONO_DESC= Bundle Mono MSI package for Wine
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