git: 0741b694b726 - main - audio/baresip: Fix build (and INDEX) with GSTREAMER option

From: Chris Rees <crees_at_FreeBSD.org>
Date: Thu, 13 Jan 2022 17:27:46 UTC
The branch main has been updated by crees:

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

commit 0741b694b726e50bd2709197b58980b47e4b28e2
Author:     Chris Rees <crees@FreeBSD.org>
AuthorDate: 2022-01-08 15:20:36 +0000
Commit:     Chris Rees <crees@FreeBSD.org>
CommitDate: 2022-01-13 17:26:37 +0000

    audio/baresip: Fix build (and INDEX) with GSTREAMER option
    
    PR:             ports/256971
---
 audio/baresip/Makefile         | 6 +++---
 audio/baresip/Makefile.depends | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/audio/baresip/Makefile b/audio/baresip/Makefile
index 30f8f07fdd83..5b217a00e579 100644
--- a/audio/baresip/Makefile
+++ b/audio/baresip/Makefile
@@ -63,9 +63,9 @@ $o_DESC=	${o:C,^(.).*,\1,}${o:C,^.,,:tl} module
 
 .include "${.CURDIR}/Makefile.depends"
 
-# Port calls it GST, standard OPTION is GSTREAMER
-.if ${PORT_OPTIONS:MGSTREAMER}
-PORT_OPTIONS+=	GST
+# Port used to call it GST, if it's set in make.conf let's not annoy people
+.if ${PORT_OPTIONS:MGST}
+PORT_OPTIONS+=	GSTREAMER
 .endif
 
 # Port calls it PULSE, standard OPTION is PULSEAUDIO
diff --git a/audio/baresip/Makefile.depends b/audio/baresip/Makefile.depends
index 0ef05c78b25f..55efe72ad5d7 100644
--- a/audio/baresip/Makefile.depends
+++ b/audio/baresip/Makefile.depends
@@ -8,7 +8,7 @@ G711_DEPEND=	${LOCALBASE}/include/spandsp/g711.h:comms/spandsp
 G722_DEPEND=	${LOCALBASE}/include/spandsp/g722.h:comms/spandsp
 G722_1_DEPEND=	# nonexistent
 GSM_DEPEND=	${LOCALBASE}/include/gsm.h:audio/gsm
-GST_DEPEND=	gst-launch:multimedia/gstreamer
+GSTREAMER_DEPEND=	gst-launch-1.0:multimedia/gstreamer1
 ILBC_DEPEND=	${LOCALBASE}/include/ilbc/iLBC_define.h:net/ilbc
 L16_DEPEND=	
 OPUS_DEPEND=	${LOCALBASE}/include/opus/opus.h:audio/opus