git: 6b4e98606f19 - main - net-im/nheko: fix options

From: Adriaan de Groot <adridg_at_FreeBSD.org>
Date: Tue, 07 Mar 2023 12:02:25 UTC
The branch main has been updated by adridg:

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

commit 6b4e98606f192eb1eddfedceee15f43df366cbd6
Author:     Adriaan de Groot <adridg@FreeBSD.org>
AuthorDate: 2023-03-07 11:40:19 +0000
Commit:     Adriaan de Groot <adridg@FreeBSD.org>
CommitDate: 2023-03-07 12:02:23 +0000

    net-im/nheko: fix options
    
    Previous commit didn't set up USES and USE_* for the
    VOIP option correctly. Thanks to tcberner@ for pointing
    me at the right bit of the Porters Handbook.
---
 net-im/nheko/Makefile | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/net-im/nheko/Makefile b/net-im/nheko/Makefile
index 9e4a59365576..cb6a3aa77690 100644
--- a/net-im/nheko/Makefile
+++ b/net-im/nheko/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=	nheko
 DISTVERSIONPREFIX=v
 DISTVERSION=	0.11.3
+PORTREVISION=	1
 CATEGORIES=	net-im
 
 MAINTAINER=	adridg@FreeBSD.org
@@ -36,10 +37,8 @@ OPTIONS_DEFAULT=
 
 VOIP_DESC=	Enable VOIP calls (experimental)
 VOIP_CMAKE_BOOL=	VOIP
-VOIP_USES=	gstreamer gettext-runtime
-VOIP_USE_GSTREAMER1=	bad dtls srtp
-VOIP_USE_XORG=		xcb
-VOIP_USE_GNOME=		glib20
+VOIP_USES=	gstreamer gettext-runtime xorg gnome
+VOIP_USE=	gstreamer=bad,dtls,srtp xorg=xcb gnome=glib20
 VOIP_LIB_DEPENDS=	libnice.so:net-im/libnice
 
 # There is one external dependency: lmdb++