git: ce99929aa177 - main - x11-toolkits/libshumate: switch to libsoup2 for shortwave

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Sat, 15 Oct 2022 20:45:06 UTC
The branch main has been updated by jbeich:

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

commit ce99929aa1775570494f92925238b095f7a6de41
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2022-10-15 20:04:36 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2022-10-15 20:44:42 +0000

    x11-toolkits/libshumate: switch to libsoup2 for shortwave
    
    $ shortwave
    (<unknown>:1234): libsoup-ERROR **: libsoup3 symbols detected. Using libsoup2 and libsoup3 in the same process is not supported.
    Trace/BPT trap
    
    $ pkg info -xr soup
    gstreamer1-plugins-soup-1.16.2_2:
            shortwave-3.1.0
    libsoup-2.74.3:
            gstreamer1-plugins-soup-1.16.2_2
    libsoup3-3.2.1:
            libshumate-1.0.0.b
---
 x11-toolkits/libshumate/Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/x11-toolkits/libshumate/Makefile b/x11-toolkits/libshumate/Makefile
index c17b85757a37..9fa12bf596c7 100644
--- a/x11-toolkits/libshumate/Makefile
+++ b/x11-toolkits/libshumate/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	libshumate
 DISTVERSION=	1.0.0.beta
+PORTREVISION=	1
 CATEGORIES=	x11-toolkits geography
 MASTER_SITES=	GNOME
 
@@ -13,12 +14,13 @@ WWW=		https://wiki.gnome.org/Projects/libshumate
 LICENSE=	LGPL21+
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-LIB_DEPENDS=	libsoup-3.0.so:devel/libsoup3 \
+LIB_DEPENDS=	libsoup-2.4.so:devel/libsoup \
 		libgraphene-1.0.so:graphics/graphene
 
 USES=		gettext gnome meson pkgconfig sqlite tar:xz vala:build
 USE_GNOME=	cairo gdkpixbuf2 gtk40 introspection:build
 USE_LDCONFIG=	yes
+MESON_ARGS=	-Dlibsoup3=false # Required by shortwave via gstreamer1-plugins-soup
 
 OPTIONS_DEFINE=	DOCS