git: 5d045f53aec1 - main - audio/baresip: Add option GTK3

From: Vladimir Druzenko <vvd_at_FreeBSD.org>
Date: Thu, 28 Aug 2025 15:20:20 UTC
The branch main has been updated by vvd:

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

commit 5d045f53aec1318479cdf45a5ebc17a2ada03c25
Author:     Herbert J. Skuhra <herbert@gojira.at>
AuthorDate: 2025-08-28 15:19:29 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2025-08-28 15:19:29 +0000

    audio/baresip: Add option GTK3
    
    PR:     289129
---
 audio/baresip/Makefile  | 5 +++--
 audio/baresip/pkg-plist | 1 +
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/audio/baresip/Makefile b/audio/baresip/Makefile
index 29637451f2c7..c251d7258e3a 100644
--- a/audio/baresip/Makefile
+++ b/audio/baresip/Makefile
@@ -18,10 +18,9 @@ USE_GITHUB=	yes
 GH_ACCOUNT=	baresip
 
 OPTIONS_DEFINE=		ALSA AV1 AVCODEC AVFILTER AVFORMAT CTRL_DBUS DOCS \
-			EXAMPLES G711 G722 G726 GST MQTT OPUS OPUS_MS PLC \
+			EXAMPLES G711 G722 G726 GST GTK3 MQTT OPUS OPUS_MS PLC \
 			PORTAUDIO PULSEAUDIO SDL SNAPSHOT SNDFILE SWSCALE V4L2 \
 			VPX X11
-OPTIONS_DEFAULT=	DOCS EXAMPLES
 OPTIONS_SUB=		yes
 
 ALSA_DESC=	ALSA audio driver
@@ -70,6 +69,8 @@ G726_LIB_DEPENDS=	libspandsp.so:comms/spandsp
 G726_VARS=		_MODULES_LIST+=g726
 GST_USES=		gnome gstreamer:1
 GST_VARS=		USE_GNOME+=glib20
+GTK3_USES=		gnome
+GTK3_VARS=		USE_GNOME+=gtk30 _MODULES_LIST+=gtk
 MQTT_LIB_DEPENDS=	libmosquitto.so:net/mosquitto
 MQTT_VARS=		_MODULES_LIST+=mqtt
 OPUS_LIB_DEPENDS=	libopus.so:audio/opus
diff --git a/audio/baresip/pkg-plist b/audio/baresip/pkg-plist
index a62d9daa7574..6f97b2fa24d0 100644
--- a/audio/baresip/pkg-plist
+++ b/audio/baresip/pkg-plist
@@ -22,6 +22,7 @@ lib/baresip/modules/fakevideo.so
 %%G711%%lib/baresip/modules/g711.so
 %%G722%%lib/baresip/modules/g722.so
 %%G726%%lib/baresip/modules/g726.so
+%%GTK3%%lib/baresip/modules/gtk.so
 lib/baresip/modules/httpd.so
 lib/baresip/modules/httpreq.so
 lib/baresip/modules/ice.so