git: 6e28cb9bdf18 - 2025Q3 - graphics/evince: Remove deps unneeded for lite

From: Don Lewis <truckman_at_FreeBSD.org>
Date: Mon, 07 Jul 2025 08:02:30 UTC
The branch 2025Q3 has been updated by truckman:

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

commit 6e28cb9bdf18314aa9ca7f5a4138e1c4940c7887
Author:     Sean Farley <scf@FreeBSD.org>
AuthorDate: 2025-07-04 07:08:06 +0000
Commit:     Don Lewis <truckman@FreeBSD.org>
CommitDate: 2025-07-07 08:01:57 +0000

    graphics/evince: Remove deps unneeded for lite
    
    Remove dependencies unneeded for lite flavor,
    
    The update to v48.0 copied some dependencies that are for the full
    version to both versions:  gnomedesktop3, introspection:build,
    libxm2.
    
    libdbus-1.so is not needed for the lite version, but libxml2 is for both.
    (truckman)
    
    pet portlint (truckman)
    
    PR:             287619
    (cherry picked from commit 21707ad64f44c63ff81008e1ac0cbc53ed154c32)
---
 graphics/evince/Makefile | 12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)

diff --git a/graphics/evince/Makefile b/graphics/evince/Makefile
index f48564d52471..c143d919159b 100644
--- a/graphics/evince/Makefile
+++ b/graphics/evince/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	evince
 DISTVERSION=	48.0
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	graphics print gnome
 MASTER_SITES=	GNOME
 DIST_SUBDIR=	gnome
@@ -21,14 +21,13 @@ BUILD_DEPENDS=	gsettings-desktop-schemas>0:devel/gsettings-desktop-schemas \
 LIB_DEPENDS=	libhandy-1.so:x11-toolkits/libhandy \
 		libpoppler-glib.so:graphics/poppler-glib \
 		libspectre.so:print/libspectre \
-		libtiff.so:graphics/tiff \
-		libdbus-1.so:devel/dbus
+		libtiff.so:graphics/tiff
 RUN_DEPENDS=	gsettings-desktop-schemas>0:devel/gsettings-desktop-schemas
 
 USES=		compiler:c++11-lib cpe desktop-file-utils gettext gnome \
 		gstreamer libarchive localbase:ldflags meson pkgconfig \
 		python:build tar:xz xorg
-USE_GNOME=	cairo gdkpixbuf gnomedesktop3 gtk30 introspection:build libxml2
+USE_GNOME=	cairo gdkpixbuf gtk30 libxml2
 USE_LDCONFIG=	yes
 USE_XORG=	ice
 CPE_VENDOR=	gnome
@@ -43,7 +42,6 @@ MESON_ARGS+=		-Dintrospection=false \
 			-Dpreviewer=false \
 			-Dthumbnail_cache=disabled \
 			-Dthumbnailer=false
-USE_GNOME+=		libxml2
 OPTIONS_EXCLUDE=	DBUS
 PLIST=			${.CURDIR}/pkg-plist-lite
 PKGNAMESUFFIX=		-lite
@@ -66,8 +64,8 @@ OPTIONS_DEFAULT=	COMICS DBUS KEYRING SPELL XPS
 COMICS_DESC=		Comic book archives support
 COMICS_MESON_ENABLED=	comics
 
-DBUS_MESON_TRUE=       dbus
-DBUS_LIB_DEPENDS=      libdbus-1.so:devel/dbus
+DBUS_MESON_TRUE=	dbus
+DBUS_LIB_DEPENDS=	libdbus-1.so:devel/dbus
 
 DJVU_DESC=		DJVU support
 DJVU_LIB_DEPENDS=	libdjvulibre.so:graphics/djvulibre