wshowkeys: initial commit, version 0.1.0

This commit is contained in:
Tim Biermann 2022-10-30 09:06:47 +00:00
parent 42eee86084
commit 68eb4bca0c
Signed by: tb
GPG Key ID: 42F8B4E30B673606
3 changed files with 34 additions and 0 deletions

3
wshowkeys/.footprint Normal file
View File

@ -0,0 +1,3 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-rwsr-sr-x root/root usr/bin/wshowkeys

5
wshowkeys/.signature Normal file
View File

@ -0,0 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF39lAWxBOGVOcQUpNC6bKKLRDPUVgjLauwx+D7SbYnUtScwXG7li+Tee95yqnV/Ce2aP2EJIhLXtpZ8zNpnDK1gg=
SHA256 (Pkgfile) = f5baa3202134bf41d1e18a73cf1001b049bf97539514f7569bcff4428f1ad9fa
SHA256 (.footprint) = 8a0dade7ea0775df5103572889d49745fd5f546d2dec480895c124ca581a86dc
SHA256 (wshowkeys-0.1.0.tar.gz) = 9478950ec0ae4aceab3ad73229d97c1259ca81dcb2ff9dc0cc0a4ce5596efa14

26
wshowkeys/Pkgfile Normal file
View File

@ -0,0 +1,26 @@
# Description: Displays keys being pressed on a Wayland session
# URL: https://git.sr.ht/~sircmpwn/wshowkeys
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: libinput libxkbcommon pango wayland-protocols
name=wshowkeys
# https://github.com/ammgws/wshowkeys/blob/e8bfc78f08ebdd1316daae59ecc77e62bba68b2b/meson.build#L4
version=0.1.0
release=1
_commit=e8bfc78f08ebdd1316daae59ecc77e62bba68b2b
source=(https://github.com/ammgws/wshowkeys/archive/$_commit/$name-$version.tar.gz)
build() {
CC=gcc
meson setup $name-$_commit build \
--prefix=/usr \
--buildtype=plain \
--wrap-mode nodownload \
-D b_lto=true \
-D b_pie=true
meson compile -C build
DESTDIR=$PKG meson install -C build
chmod a+s $PKG/usr/bin/$name
}