diff options
| author | Danny Milosavljevic <dannym@friendly-machines.com> | 2025-02-21 23:59:42 +0100 |
|---|---|---|
| committer | Danny Milosavljevic <dannym@friendly-machines.com> | 2025-02-22 15:26:07 +0100 |
| commit | 3f0b2a3f830b64244be92fc2f17a7e385a4645e9 (patch) | |
| tree | a2dcf7989f8e4d23514e4270922b5f7116c9ec5a /gnu | |
| parent | de6f8b1b900054cfb1e40b2a59bae63e29afd53f (diff) | |
gnu: Add showmethekey.
* gnu/packages/video.scm (showmethekey): New variable.
Change-Id: I731a01e999890d6c9ace15d1f03a424c20e2a83a
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/video.scm | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index 963e3e6dcd0..2385d54231b 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm | |||
| @@ -186,6 +186,7 @@ | |||
| 186 | #:use-module (gnu packages php) | 186 | #:use-module (gnu packages php) |
| 187 | #:use-module (gnu packages photo) | 187 | #:use-module (gnu packages photo) |
| 188 | #:use-module (gnu packages pkg-config) | 188 | #:use-module (gnu packages pkg-config) |
| 189 | #:use-module (gnu packages polkit) | ||
| 189 | #:use-module (gnu packages popt) | 190 | #:use-module (gnu packages popt) |
| 190 | #:use-module (gnu packages pretty-print) | 191 | #:use-module (gnu packages pretty-print) |
| 191 | #:use-module (gnu packages protobuf) | 192 | #:use-module (gnu packages protobuf) |
| @@ -6884,3 +6885,46 @@ media players connected to the same server and in the same \"room\" (viewing | |||
| 6884 | session). A built-in text chat for discussing the synced media is also | 6885 | session). A built-in text chat for discussing the synced media is also |
| 6885 | included for convenience.") | 6886 | included for convenience.") |
| 6886 | (license license:asl2.0))) | 6887 | (license license:asl2.0))) |
| 6888 | |||
| 6889 | (define-public showmethekey | ||
| 6890 | (package | ||
| 6891 | (name "showmethekey") | ||
| 6892 | (version "1.18.1") | ||
| 6893 | (source (origin | ||
| 6894 | (method git-fetch) | ||
| 6895 | (uri (git-reference | ||
| 6896 | (url "https://github.com/AlynxZhou/showmethekey.git") | ||
| 6897 | (commit (string-append "v" version)))) | ||
| 6898 | (file-name (git-file-name name version)) | ||
| 6899 | (sha256 | ||
| 6900 | (base32 | ||
| 6901 | "1lmjqr5j8nr990dq5gvkwm33vpvzh8zhcmgxn03m4n4xgq1dg5zy")))) | ||
| 6902 | (build-system meson-build-system) | ||
| 6903 | (arguments | ||
| 6904 | (list #:phases | ||
| 6905 | #~(modify-phases %standard-phases | ||
| 6906 | (add-after 'unpack 'setenv | ||
| 6907 | (lambda _ | ||
| 6908 | (substitute* "meson.build" | ||
| 6909 | ;; We do that ourselves later--so replace by a dummy | ||
| 6910 | ;; command. | ||
| 6911 | (("gtk4-update-icon-cache") | ||
| 6912 | "true"))))))) | ||
| 6913 | (native-inputs | ||
| 6914 | (list (list glib "bin") gnu-gettext pkg-config)) | ||
| 6915 | (inputs | ||
| 6916 | (list libevdev eudev libinput glib gtk libadwaita json-glib cairo pango | ||
| 6917 | libxkbcommon polkit)) | ||
| 6918 | (synopsis "Show keypresses on screen") | ||
| 6919 | (description "This package shows the keys that the user presses on the | ||
| 6920 | screen. | ||
| 6921 | |||
| 6922 | Presumably, that's because you are presenting the screen to someone else | ||
| 6923 | that should see the keys. | ||
| 6924 | |||
| 6925 | This package works in Xorg and Wayland since it directly reads the keys from | ||
| 6926 | the evdev device via libinput. | ||
| 6927 | |||
| 6928 | Users in group ``wheel'' can skip password authentication.") | ||
| 6929 | (home-page "https://github.com/AlynxZhou/showmethekey") | ||
| 6930 | (license license:asl2.0))) | ||
