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/
This commit is contained in:
Jan Beich 2021-04-21 09:42:22 +00:00
parent 5e2b6214d1
commit bd66952ced
4 changed files with 48 additions and 0 deletions

View File

@ -307,6 +307,7 @@
SUBDIR += setlayout
SUBDIR += setxkbmap
SUBDIR += showkeys
SUBDIR += showmethekey
SUBDIR += simdock
SUBDIR += simplestroke
SUBDIR += slick-greeter

31
x11/showmethekey/Makefile Normal file
View File

@ -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 <bsd.port.mk>

View File

@ -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

View File

@ -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/