git: 90660e2cb393 - main - emulators/xemu: Depend on x11/zenity

From: Yusuf Yaman <nxjoseph_at_FreeBSD.org>
Date: Mon, 09 Nov 2026 18:35:22 UTC
The branch main has been updated by nxjoseph:

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

commit 90660e2cb393e8f09e80edb5b3dadd1d7ed5b24d
Author:     Benoit Felix <benoit.felix@outlook.com>
AuthorDate: 2026-11-09 18:08:17 +0000
Commit:     Yusuf Yaman <nxjoseph@FreeBSD.org>
CommitDate: 2026-11-09 18:12:25 +0000

    emulators/xemu: Depend on x11/zenity
    
    The port uses USE_SDL=sdl3, and Xemu uses SDL3’s file dialog. On Unix,
    SDL3 tries the XDG desktop portal (over D-Bus), then zenity. If neither
    is available, the call fails silently.
    
    While here, fix LICENSE_FILE definitions.
    
    PR:             299897
    Approved by:    Jake Deschamps <jakedez7@gmail.com> (maintainer timeout)
    Approved by:    osa, vvd (mentors, implicit)
    MFH:            2026Q4
---
 emulators/xemu/Makefile | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/emulators/xemu/Makefile b/emulators/xemu/Makefile
index e0edcff1f4a5..a0e07aed3342 100644
--- a/emulators/xemu/Makefile
+++ b/emulators/xemu/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=	xemu
 DISTVERSIONPREFIX=	v
 DISTVERSION=	0.8.136
+PORTREVISION=	1
 CATEGORIES=	emulators
 
 MAINTAINER=	jakedez7@gmail.com
@@ -9,8 +10,8 @@ WWW=		https://xemu.app/
 
 LICENSE=	GPLv2+ LGPL21+
 LICENSE_COMB=	multi
-LICENSE_FILE_GPLv2+=	${WRKSRC}/COPYING
-LICENSE_FILE_LGPL21+=	${WRKSRC}/COPYING.LIB
+LICENSE_FILE_GPLv2+ =	${WRKSRC}/COPYING
+LICENSE_FILE_LGPL21+ =	${WRKSRC}/COPYING.LIB
 
 BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pyyaml>0:devel/py-pyyaml@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}tomli>0:textproc/py-tomli@${PY_FLAVOR} \
@@ -26,7 +27,9 @@ LIB_DEPENDS=	libcurl.so:ftp/curl \
 		libtomlplusplus.so:devel/tomlplusplus \
 		libxxhash.so:devel/xxhash
 # Loader is dlopened by volk, so it is not a LIB_DEPENDS
-RUN_DEPENDS=	vulkan-loader>0:graphics/vulkan-loader
+# zenity is the fallback backend for SDL3 file dialogs
+RUN_DEPENDS=	vulkan-loader>0:graphics/vulkan-loader \
+		zenity>0:x11/zenity
 
 USES=		cmake:indirect compiler:c++17-lang gl gnome inotify \
 		localbase:ldflags ninja:build pkgconfig python:build sdl \