git: e4f31ebae421 - main - net-im/tg_owt: fix dependencies

From: Olivier Cochard <olivier_at_FreeBSD.org>
Date: Thu, 18 Nov 2021 22:10:18 UTC
The branch main has been updated by olivier:

URL: https://cgit.FreeBSD.org/ports/commit/?id=e4f31ebae421a3c46ca73f6f2c9be78ba9d61568

commit e4f31ebae421a3c46ca73f6f2c9be78ba9d61568
Author:     Gleb Smirnoff <glebius@FreeBSD.org>
AuthorDate: 2021-11-18 04:09:20 +0000
Commit:     Olivier Cochard <olivier@FreeBSD.org>
CommitDate: 2021-11-18 22:04:32 +0000

    net-im/tg_owt: fix dependencies
    
    - Don't depend on audio backends, as their build is not disabled
    - Explicitly depend on libXtst
    
    PR:     257889
    PR:     259182
---
 net-im/tg_owt/Makefile | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/net-im/tg_owt/Makefile b/net-im/tg_owt/Makefile
index 3ffdd6ce9b02..59af87be0471 100644
--- a/net-im/tg_owt/Makefile
+++ b/net-im/tg_owt/Makefile
@@ -2,6 +2,7 @@
 
 PORTNAME=	tg_owt
 PORTVERSION=	0.0.20211021
+PORTREVISION=	1
 CATEGORIES=	net-im
 
 MAINTAINER=	glebius@FreeBSD.org
@@ -10,9 +11,7 @@ COMMENT=	Webrtc library used by telegram-desktop
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BUILD_DEPENDS=	alsa-lib>0:audio/alsa-lib \
-		pulseaudio>0:audio/pulseaudio \
-		v4l_compat>0:multimedia/v4l_compat \
+BUILD_DEPENDS=	v4l_compat>0:multimedia/v4l_compat \
 		yasm:devel/yasm
 LIB_DEPENDS=	libavformat.so:multimedia/ffmpeg \
 		libevent.so:devel/libevent \
@@ -23,7 +22,7 @@ LIB_DEPENDS=	libavformat.so:multimedia/ffmpeg \
 		libvpx.so:multimedia/libvpx
 
 USES=		cmake pkgconfig xorg
-USE_XORG=	x11 xcomposite xdamage xrender xrandr
+USE_XORG=	x11 xcomposite xdamage xrender xrandr xtst
 USE_GITHUB=	yes
 GH_ACCOUNT=	desktop-app
 GH_TAGNAME=	d578c76