git: 07316115db9a - main - deskutils/orage: Add TRAY option

From: Guido Falsi <madpilot_at_FreeBSD.org>
Date: Sat, 25 Jan 2025 14:05:44 UTC
The branch main has been updated by madpilot:

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

commit 07316115db9a6069bab59fa3eb7457b0a61cf157
Author:     Guido Falsi <madpilot@FreeBSD.org>
AuthorDate: 2025-01-25 14:04:00 +0000
Commit:     Guido Falsi <madpilot@FreeBSD.org>
CommitDate: 2025-01-25 14:04:00 +0000

    deskutils/orage: Add TRAY option
    
    In latest update the tray icon feature is disabled by default by
    upstrteam. Add option (off by default, following upstream) to enable
    it back.
    
    PR:             284289
---
 deskutils/orage/Makefile | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/deskutils/orage/Makefile b/deskutils/orage/Makefile
index 2a658b9cdbfa..587808e6ea62 100644
--- a/deskutils/orage/Makefile
+++ b/deskutils/orage/Makefile
@@ -25,14 +25,18 @@ INSTALL_TARGET=	install-strip
 
 PORTSCOUT=	limitw:1,even
 
-OPTIONS_DEFINE=		NLS NOTIFY
+OPTIONS_DEFINE=		NLS NOTIFY TRAY
 OPTIONS_DEFAULT=	NOTIFY
 OPTIONS_SUB=		yes
 
+TRAY_DESC=		Enable Tray Icon Support (incompatible with wayland)
+
 NLS_CONFIGURE_ENABLE=	nls
 NLS_USES=		gettext-runtime
 
 NOTIFY_LIB_DEPENDS=	libnotify.so:devel/libnotify
 NOTIFY_CONFIGURE_ENABLE=libnotify
 
+TRAY_CONFIGURE_ENABLE=	x11-tray-icon
+
 .include <bsd.port.mk>