From owner-svn-ports-head@freebsd.org Tue May 12 05:53:36 2020 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id DEA022E3588; Tue, 12 May 2020 05:53:36 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49Ln6S3x4Qz3Gbn; Tue, 12 May 2020 05:53:36 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 8235731A4; Tue, 12 May 2020 05:53:36 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 04C5rawV056981; Tue, 12 May 2020 05:53:36 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 04C5raNW056980; Tue, 12 May 2020 05:53:36 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <202005120553.04C5raNW056980@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Tue, 12 May 2020 05:53:36 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r534973 - head/multimedia/simplescreenrecorder X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: head/multimedia/simplescreenrecorder X-SVN-Commit-Revision: 534973 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 May 2020 05:53:36 -0000 Author: yuri Date: Tue May 12 05:53:36 2020 New Revision: 534973 URL: https://svnweb.freebsd.org/changeset/ports/534973 Log: multimedia/simplescreenrecorder: Add the ALSA option The upstream added it recently in the cmake script. Modified: head/multimedia/simplescreenrecorder/Makefile Modified: head/multimedia/simplescreenrecorder/Makefile ============================================================================== --- head/multimedia/simplescreenrecorder/Makefile Tue May 12 05:44:29 2020 (r534972) +++ head/multimedia/simplescreenrecorder/Makefile Tue May 12 05:53:36 2020 (r534973) @@ -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