git: 752089ad3821 - main - x11/showmethekey: update to 1.6.1

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Tue, 28 Jun 2022 19:32:14 UTC
The branch main has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=752089ad382178da8652e6e1d12b6d555582cf8d

commit 752089ad382178da8652e6e1d12b6d555582cf8d
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2022-06-28 09:47:58 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2022-06-28 19:31:53 +0000

    x11/showmethekey: update to 1.6.1
    
    Changes:        https://github.com/AlynxZhou/showmethekey/releases/tag/v1.6.0
    Changes:        https://github.com/AlynxZhou/showmethekey/releases/tag/v1.6.1
    Reported by:    GitHub (watch releases)
---
 x11/showmethekey/Makefile  | 12 ++++--------
 x11/showmethekey/distinfo  |  6 +++---
 x11/showmethekey/pkg-plist | 10 ++++++++++
 3 files changed, 17 insertions(+), 11 deletions(-)

diff --git a/x11/showmethekey/Makefile b/x11/showmethekey/Makefile
index 0a65137918b5..b572af9bf7db 100644
--- a/x11/showmethekey/Makefile
+++ b/x11/showmethekey/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	showmethekey
 DISTVERSIONPREFIX=	v
-DISTVERSION=	1.5.0
+DISTVERSION=	1.6.1
 CATEGORIES=	x11
 
 MAINTAINER=	jbeich@FreeBSD.org
@@ -14,18 +14,14 @@ LIB_DEPENDS=	libjson-glib-1.0.so:devel/json-glib \
 		libudev.so:devel/libudev-devd \
 		libinput.so:x11/libinput \
 		libxkbcommon.so:x11/libxkbcommon
-RUN_DEPENDS=	pkexec:sysutils/polkit
+RUN_DEPENDS=	${PKEXEC}
 
 USES=		compiler:c11 gettext-tools gnome meson pkgconfig
 USE_GITHUB=	yes
 USE_GNOME=	cairo gtk30
 GH_ACCOUNT=	AlynxZhou
-PLIST_FILES=	bin/${PORTNAME}-cli \
-		bin/${PORTNAME}-gtk \
-		share/applications/${PORTNAME}.desktop \
-		share/icons/hicolor/scalable/apps/${PORTNAME}.svg \
-		share/locale/zh_CN/LC_MESSAGES/${PORTNAME}.mo \
-		share/pixmaps/${PORTNAME}.png
+PKEXEC?=	pkexec:sysutils/polkit
+MESON_ARGS=	-Dpkexec_path="${PKEXEC:C/\:.*//}"
 GLIB_SCHEMAS=	one.alynx.showmethekey.gschema.xml
 
 .include <bsd.port.mk>
diff --git a/x11/showmethekey/distinfo b/x11/showmethekey/distinfo
index 26e029373d62..df6a6c1a51a5 100644
--- a/x11/showmethekey/distinfo
+++ b/x11/showmethekey/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1635750647
-SHA256 (AlynxZhou-showmethekey-v1.5.0_GH0.tar.gz) = cc3e69cfb46015c93a89b5749c605442cf2c79e7017c20c0fc95d8fbcddd99d1
-SIZE (AlynxZhou-showmethekey-v1.5.0_GH0.tar.gz) = 3097032
+TIMESTAMP = 1656409678
+SHA256 (AlynxZhou-showmethekey-v1.6.1_GH0.tar.gz) = af4ac87b6b9b126a009a9a1a195c3d804c8a550286155189e563384a46909039
+SIZE (AlynxZhou-showmethekey-v1.6.1_GH0.tar.gz) = 3086770
diff --git a/x11/showmethekey/pkg-plist b/x11/showmethekey/pkg-plist
new file mode 100644
index 000000000000..9995fba4a460
--- /dev/null
+++ b/x11/showmethekey/pkg-plist
@@ -0,0 +1,10 @@
+bin/showmethekey-cli
+bin/showmethekey-gtk
+share/applications/one.alynx.showmethekey.desktop
+share/icons/hicolor/128x128/apps/one.alynx.showmethekey.png
+share/icons/hicolor/64x64/apps/one.alynx.showmethekey.png
+share/icons/hicolor/scalable/apps/one.alynx.showmethekey.svg
+share/locale/zh_CN/LC_MESSAGES/showmethekey.mo
+share/metainfo/one.alynx.showmethekey.metainfo.xml
+share/polkit-1/actions/one.alynx.showmethekey.policy
+share/polkit-1/rules.d/one.alynx.showmethekey.rules