git: 4fe9ae54f16a - main - misc/lxi-tools: Update to 2.2

From: Dmitri Goutnik <dmgk_at_FreeBSD.org>
Date: Fri, 21 Oct 2022 17:27:58 UTC
The branch main has been updated by dmgk:

URL: https://cgit.FreeBSD.org/ports/commit/?id=4fe9ae54f16a96e6b8f99f1ffae6e80cb1f20c3c

commit 4fe9ae54f16a96e6b8f99f1ffae6e80cb1f20c3c
Author:     Dmitri Goutnik <dmgk@FreeBSD.org>
AuthorDate: 2022-10-21 12:52:12 +0000
Commit:     Dmitri Goutnik <dmgk@FreeBSD.org>
CommitDate: 2022-10-21 17:26:26 +0000

    misc/lxi-tools: Update to 2.2
    
    Changes:        https://github.com/lxi-tools/lxi-tools/releases/tag/v2.2
---
 misc/lxi-tools/Makefile  | 15 +++++++--------
 misc/lxi-tools/distinfo  |  6 +++---
 misc/lxi-tools/pkg-plist |  3 +--
 3 files changed, 11 insertions(+), 13 deletions(-)

diff --git a/misc/lxi-tools/Makefile b/misc/lxi-tools/Makefile
index 396da311221d..a03f88e5e589 100644
--- a/misc/lxi-tools/Makefile
+++ b/misc/lxi-tools/Makefile
@@ -1,7 +1,6 @@
 PORTNAME=	lxi-tools
 DISTVERSIONPREFIX=	v
-DISTVERSION=	2.1
-PORTREVISION=	1
+DISTVERSION=	2.2
 CATEGORIES=	misc
 
 MAINTAINER=	dmgk@FreeBSD.org
@@ -9,24 +8,24 @@ COMMENT=	Collection of tools that enables control of LXI compatible instruments
 WWW=		https://lxi-tools.github.io/
 
 LICENSE=	BSD3CLAUSE
-LICENSE_FILE=	${WRKSRC}/COPYING
+LICENSE_FILE=	${WRKSRC}/LICENSE
 
 LIB_DEPENDS=	liblxi.so:misc/liblxi
 
 USES=		meson lua:53 pkgconfig readline
 USE_GITHUB=	yes
 
+MESON_ARGS=	-Dbashcompletiondir=${PREFIX}/etc/bash_completion.d
+
 PORTDOCS=	README.md
 
-OPTIONS_DEFINE=	BASH DOCS GUI
+OPTIONS_DEFINE=	DOCS GUI
 OPTIONS_SUB=	yes
 
-BASH_MESON_ON=	-Dbashcompletiondir=${PREFIX}/etc/bash_completion.d
-BASH_MESON_OFF=	-Dbashcompletiondir=no
-
+GUI_LIB_DEPENDS=	libjson-glib-1.0.so:devel/json-glib
 GUI_USES=	gettext-tools gnome python:3.6+,build
 GUI_USE=	gnome=cairo,gdkpixbuf2,glib20,gtk40,gtksourceview5,libadwaita
-GUI_MESON_ON=	-Dgui=true
+GUI_MESON_OFF=	-Dgui=false
 GUI_BINARY_ALIAS=	python3=${PYTHON_CMD}
 GUI_PLIST_FILES=	bin/lxi-gui
 
diff --git a/misc/lxi-tools/distinfo b/misc/lxi-tools/distinfo
index d21adc32d15b..4b13ef2401d4 100644
--- a/misc/lxi-tools/distinfo
+++ b/misc/lxi-tools/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1651089052
-SHA256 (lxi-tools-lxi-tools-v2.1_GH0.tar.gz) = 3bad88f5b098bdbb8947e34b79eeb3b22c6f58380b348be0db8ae57c68b5d1da
-SIZE (lxi-tools-lxi-tools-v2.1_GH0.tar.gz) = 937946
+TIMESTAMP = 1666353396
+SHA256 (lxi-tools-lxi-tools-v2.2_GH0.tar.gz) = b8c071d396218214d8ca022673a6d423cda599ffb938a62f6ff3671c784e9f80
+SIZE (lxi-tools-lxi-tools-v2.2_GH0.tar.gz) = 1001882
diff --git a/misc/lxi-tools/pkg-plist b/misc/lxi-tools/pkg-plist
index eee89e6de7a4..0170e6d38d0b 100644
--- a/misc/lxi-tools/pkg-plist
+++ b/misc/lxi-tools/pkg-plist
@@ -1,6 +1,5 @@
 bin/lxi
-%%BASH%%etc/bash_completion.d/lxi
-%%BASH%%etc/bash_completion.d/lxi.snap
+etc/bash_completion.d/lxi
 man/man1/lxi.1.gz
 %%GUI%%share/applications/io.github.lxi-tools.lxi-gui.desktop
 %%GUI%%share/glib-2.0/schemas/io.github.lxi-tools.lxi-gui.gschema.xml