git: 31d4055ea142 - main - multimedia/gstreamer1-plugins-rust: respect GTK4=off if gtk4 is installed after 7f9937ae4015

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Mon, 17 Oct 2022 19:02:46 UTC
The branch main has been updated by jbeich:

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

commit 31d4055ea142b640d89d3e93fe19d56b74ce2506
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2022-10-17 18:51:50 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2022-10-17 19:02:28 +0000

    multimedia/gstreamer1-plugins-rust: respect GTK4=off if gtk4 is installed after 7f9937ae4015
    
    ====> Running Q/A tests (stage-qa)
    Error: /usr/local/lib/gstreamer-1.0/libgstgtk4.so is linked to /usr/local/lib/libgtk-4.so.1 from x11-toolkits/gtk40 but it is not declared as a dependency
    Warning: you need LIB_DEPENDS+=libgtk-4.so:x11-toolkits/gtk40
    Error: /usr/local/lib/gstreamer-1.0/libgstgtk4.so is linked to /usr/local/lib/libgraphene-1.0.so.0 from graphics/graphene but it is not declared as a dependency
    Warning: you need LIB_DEPENDS+=libgraphene-1.0.so:graphics/graphene
    ====> Checking for pkg-plist issues (check-plist)
    ===> Parsing plist
    ===> Checking for items in STAGEDIR missing from pkg-plist
    ===> Checking for items in pkg-plist which are not in STAGEDIR
    ===> No pkg-plist issues found (check-plist)
---
 multimedia/gstreamer1-plugins-rust/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/multimedia/gstreamer1-plugins-rust/Makefile b/multimedia/gstreamer1-plugins-rust/Makefile
index 87b15304b4f0..3e90e413e77b 100644
--- a/multimedia/gstreamer1-plugins-rust/Makefile
+++ b/multimedia/gstreamer1-plugins-rust/Makefile
@@ -448,6 +448,7 @@ DAV1D_MESON_ENABLED=	dav1d
 GTK4_DESC=		${GTK3_DESC:S/3/4/}
 GTK4_LIB_DEPENDS=	libgraphene-1.0.so:graphics/graphene
 GTK4_USE=		GNOME=gtk40
+GTK4_MESON_ENABLED=	gtk4
 
 PANGO_USE=		GNOME=cairo,pango
 PANGO_MESON_ENABLED=	closedcaption