1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00

multimedia/qt*-multimedia: enable sound out of box

Install audio/alsa-plugins when Qt multimedia is built
with ALSA support (default for Qt 5).

PR:		276276
Reported by:	Greg Balfour
This commit is contained in:
Max Brazhnikov 2024-10-16 23:00:54 +03:00
parent acd64d531b
commit 6c088699a6
2 changed files with 3 additions and 0 deletions

View File

@ -1,5 +1,6 @@
PORTNAME= multimedia
PORTVERSION= ${QT5_VERSION}${QT5_KDE_PATCH}
PORTREVISION= 1
CATEGORIES= multimedia
PKGNAMEPREFIX= qt5-
@ -41,6 +42,7 @@ OPENAL_VARS_OFF= QT_CONFIG+=-openal \
QMAKE_CONFIGURE_ARGS+=-no-openal
ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib
ALSA_RUN_DEPENDS= alsa-plugins>=0:audio/alsa-plugins
ALSA_VARS= QT_CONFIG+=alsa
ALSA_VARS_OFF= QT_CONFIG+=-alsa \
QMAKE_CONFIGURE_ARGS+=-no-alsa

View File

@ -24,6 +24,7 @@ OPTIONS_SINGLE_AUDIO= ALSA PULSEAUDIO
OPTIONS_SUB= yes
ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib
ALSA_RUN_DEPENDS= alsa-plugins>=0:audio/alsa-plugins
ALSA_CMAKE_BOOL= FEATURE_alsa
FFMPEG_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg