Skip to content

Commit

Permalink
emulators/wine7: Add run-time dependency on alsa-plugins
Browse files Browse the repository at this point in the history
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 a268443 and 3a2594e from the primary
wine port.)

Bump PORTREVSION accordingly.

PR:		273137
  • Loading branch information
Alexander88207 authored and Gerald Pfeifer committed Aug 19, 2023
1 parent 2691345 commit 7044c9d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions 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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 7044c9d

Please sign in to comment.