aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2021-04-21 09:42:22 +0000
committerJan Beich <jbeich@FreeBSD.org>2021-05-08 23:36:18 +0000
commitbd66952ced00ca00634efabb6fba541c8f5c1c2d (patch)
treeb6cbe5a90701f7c2f34733f817b0fad94afd8cbe
parent5e2b6214d1b2758073666c5b35e8528a12f73cc7 (diff)
downloadports-bd66952ced00ca00634efabb6fba541c8f5c1c2d.tar.gz
ports-bd66952ced00ca00634efabb6fba541c8f5c1c2d.zip
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/
-rw-r--r--x11/Makefile1
-rw-r--r--x11/showmethekey/Makefile31
-rw-r--r--x11/showmethekey/distinfo3
-rw-r--r--x11/showmethekey/pkg-descr13
4 files changed, 48 insertions, 0 deletions
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 <bsd.port.mk>
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/