git: 0468c6865a18 - main - deskutils/xfce4-xkb-plugin: Update to 0.9.0

From: Guido Falsi <madpilot_at_FreeBSD.org>
Date: Thu, 22 May 2025 21:43:50 UTC
The branch main has been updated by madpilot:

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

commit 0468c6865a18fbfeef165e639c9195697f6a27a5
Author:     Guido Falsi <madpilot@FreeBSD.org>
AuthorDate: 2025-05-22 21:28:38 +0000
Commit:     Guido Falsi <madpilot@FreeBSD.org>
CommitDate: 2025-05-22 21:28:38 +0000

    deskutils/xfce4-xkb-plugin: Update to 0.9.0
    
    - Move build to meson
---
 deskutils/xfce4-xkb-plugin/Makefile  | 26 ++++++++++++++------------
 deskutils/xfce4-xkb-plugin/distinfo  |  6 +++---
 deskutils/xfce4-xkb-plugin/pkg-plist |  1 +
 3 files changed, 18 insertions(+), 15 deletions(-)

diff --git a/deskutils/xfce4-xkb-plugin/Makefile b/deskutils/xfce4-xkb-plugin/Makefile
index 50be403c762b..c7ba60530ea4 100644
--- a/deskutils/xfce4-xkb-plugin/Makefile
+++ b/deskutils/xfce4-xkb-plugin/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	xfce4-xkb-plugin
-PORTVERSION=	0.8.5
+PORTVERSION=	0.9.0
 CATEGORIES=	deskutils xfce
 MASTER_SITES=	XFCE/panel-plugins
 
@@ -9,22 +9,24 @@ WWW=		https://docs.xfce.org/panel-plugins/xfce4-xkb-plugin
 
 LICENSE=	GPLv2
 
-LIB_DEPENDS=	libxklavier.so:x11/libxklavier \
-		libharfbuzz.so:print/harfbuzz
+LIB_DEPENDS=	libxklavier.so:x11/libxklavier
 
-USES=		compiler:c11 gettext-tools gmake gnome libtool pkgconfig \
-		tar:bzip2 xfce xorg
-USE_GNOME=	cairo gtk30 librsvg2 libwnck3
+USES=		compiler:c11 gettext-tools gnome meson pkgconfig tar:xz xfce \
+		xorg
+USE_GNOME=	gtk30 librsvg2 libwnck3
 USE_XFCE=	garcon libmenu panel xfconf
 USE_XORG=	x11
 
-GNU_CONFIGURE=	yes
-INSTALL_TARGET=	install-strip
-
-OPTIONS_DEFINE=		NLS
+OPTIONS_DEFINE=		NLS NOTIFY
+OPTIONS_DEFAULT=	NOTIFY
 OPTIONS_SUB=		yes
 
-NLS_CONFIGURE_ENABLE=	nls
-NLS_USES=		gettext-runtime
+NLS_USES=	gettext-runtime
+
+NOTIFY_LIB_DEPENDS=	libnotify.so:devel/libnotify
+NOTIFY_MESON_ENABLED=	libnotify
+
+post-patch-NLS-off:
+	@${REINPLACE_CMD} -e "/^subdir('po')/d" ${WRKSRC}/meson.build
 
 .include <bsd.port.mk>
diff --git a/deskutils/xfce4-xkb-plugin/distinfo b/deskutils/xfce4-xkb-plugin/distinfo
index 47f3617dc96e..76f58823b9f6 100644
--- a/deskutils/xfce4-xkb-plugin/distinfo
+++ b/deskutils/xfce4-xkb-plugin/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1735502734
-SHA256 (xfce4-xkb-plugin-0.8.5.tar.bz2) = 86ce4a194c47c506315cfded3a041067a72dedcb6d9cc2f9c99853203d332b19
-SIZE (xfce4-xkb-plugin-0.8.5.tar.bz2) = 1002610
+TIMESTAMP = 1747846280
+SHA256 (xfce4-xkb-plugin-0.9.0.tar.xz) = 7cd7f3626ef39dc4ce142b2f96ab7583cbea84b4c0352fbc9c9667faac0bdd12
+SIZE (xfce4-xkb-plugin-0.9.0.tar.xz) = 303472
diff --git a/deskutils/xfce4-xkb-plugin/pkg-plist b/deskutils/xfce4-xkb-plugin/pkg-plist
index 751930e4d399..eefa45de7006 100644
--- a/deskutils/xfce4-xkb-plugin/pkg-plist
+++ b/deskutils/xfce4-xkb-plugin/pkg-plist
@@ -117,6 +117,7 @@ share/xfce4/xkb/flags/lt.svg
 share/xfce4/xkb/flags/lv.svg
 share/xfce4/xkb/flags/ly.svg
 share/xfce4/xkb/flags/ma.svg
+share/xfce4/xkb/flags/me.svg
 share/xfce4/xkb/flags/mk.svg
 share/xfce4/xkb/flags/mm.svg
 share/xfce4/xkb/flags/mn.svg