From bd66952ced00ca00634efabb6fba541c8f5c1c2d Mon Sep 17 00:00:00 2001 From: Jan Beich Date: Wed, 21 Apr 2021 09:42:22 +0000 Subject: [PATCH] x11/showmethekey: add new port Show keys you typed on screen, so your audiences can see what you do clearly while you are streaming or recording. A screenkey alternative that works on both X11 and Wayland. https://showmethekey.alynx.one/ --- x11/Makefile | 1 + x11/showmethekey/Makefile | 31 +++++++++++++++++++++++++++++++ x11/showmethekey/distinfo | 3 +++ x11/showmethekey/pkg-descr | 13 +++++++++++++ 4 files changed, 48 insertions(+) create mode 100644 x11/showmethekey/Makefile create mode 100644 x11/showmethekey/distinfo create mode 100644 x11/showmethekey/pkg-descr diff --git a/x11/Makefile b/x11/Makefile index 1b6649f69a1a..9290795dc75e 100644 --- a/x11/Makefile +++ b/x11/Makefile @@ -307,6 +307,7 @@ SUBDIR += setlayout SUBDIR += setxkbmap SUBDIR += showkeys + SUBDIR += showmethekey SUBDIR += simdock SUBDIR += simplestroke SUBDIR += slick-greeter diff --git a/x11/showmethekey/Makefile b/x11/showmethekey/Makefile new file mode 100644 index 000000000000..e55f078fa7d6 --- /dev/null +++ b/x11/showmethekey/Makefile @@ -0,0 +1,31 @@ +PORTNAME= showmethekey +DISTVERSIONPREFIX= v +DISTVERSION= 1.4.6 +CATEGORIES= x11 + +MAINTAINER= jbeich@FreeBSD.org +COMMENT= Show keys you typed on screen + +LICENSE= APACHE20 + +LIB_DEPENDS= libjson-glib-1.0.so:devel/json-glib \ + libevdev.so:devel/libevdev \ + libudev.so:devel/libudev-devd \ + libinput.so:x11/libinput \ + libxkbcommon.so:x11/libxkbcommon +RUN_DEPENDS= pkexec:sysutils/polkit + +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 +GLIB_SCHEMAS= one.alynx.showmethekey.gschema.xml +INSTALLS_ICONS= yes + +.include diff --git a/x11/showmethekey/distinfo b/x11/showmethekey/distinfo new file mode 100644 index 000000000000..e4b46ee1c58a --- /dev/null +++ b/x11/showmethekey/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1618998142 +SHA256 (AlynxZhou-showmethekey-v1.4.6_GH0.tar.gz) = 447678dde9a9861c3b38e2dc9ef10b990d51012a4d91e4b779c0f73db243a36e +SIZE (AlynxZhou-showmethekey-v1.4.6_GH0.tar.gz) = 3095444 diff --git a/x11/showmethekey/pkg-descr b/x11/showmethekey/pkg-descr new file mode 100644 index 000000000000..97c0f21bd736 --- /dev/null +++ b/x11/showmethekey/pkg-descr @@ -0,0 +1,13 @@ +Show keys you typed on screen, so your audiences can see what you do +clearly while you are streaming or recording. A screenkey alternative +that works on both X11 and Wayland. + +Features: +- Key events reading via libinput +- Configurable floating window size +- Click-through but dragable floating window +- Temporary hiding support +- Keymap handling via xkbcommon +- Mouse button support + +WWW: https://showmethekey.alynx.one/