1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-21 08:42:23 +00:00

multimedia/simplescreenrecorder: Add the ALSA option

The upstream added it recently in the cmake script.
This commit is contained in:
Yuri Victorovich 2020-05-12 05:53:36 +00:00
parent 90d571e7a6
commit 3615d8ac3f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=534973

View File

@ -2,6 +2,7 @@
PORTNAME= simplescreenrecorder
DISTVERSION= 0.4.1
PORTREVISION= 1
CATEGORIES= multimedia
MAINTAINER= yuri@FreeBSD.org
@ -10,8 +11,7 @@ COMMENT= Screen video recorder
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libasound.so:audio/alsa-lib \
libavformat.so:multimedia/ffmpeg
LIB_DEPENDS= libavformat.so:multimedia/ffmpeg
USES= cmake compiler:c++11-lang pkgconfig qt:5 xorg
USE_GITHUB= yes
@ -24,8 +24,11 @@ CMAKE_ON= WITH_QT5
CMAKE_OFF= WITH_GLINJECT # doesn't yet work on FreeBSD: https://github.com/MaartenBaert/ssr/issues/586#issuecomment-343780107
CMAKE_OFF+= WITH_OPENGL_RECORDING # extra option requiried when GLInject is off, because this makes OpenGL recording dysfunctional
OPTIONS_DEFINE= PULSEAUDIO JACK
OPTIONS_DEFAULT= PULSEAUDIO
OPTIONS_DEFINE= ALSA PULSEAUDIO JACK
OPTIONS_DEFAULT= ALSA PULSEAUDIO
ALSA_CMAKE_BOOL= WITH_ALSA
ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib
PULSEAUDIO_CMAKE_BOOL= WITH_PULSEAUDIO
PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio