xcape: import version 1.2

This commit is contained in:
pickles 2022-02-02 21:37:16 +01:00
parent fd56c9d62b
commit e283829d59
4 changed files with 41 additions and 0 deletions

7
wip/xcape/DESCR Normal file
View File

@ -0,0 +1,7 @@
xcape allows you to use a modifier key as another key when pressed and
released on its own. Note that it is slightly slower than pressing the
original key, because the pressed event does not occur until the key is
released. The default behaviour is to generate the Escape key when Left
Control is pressed and released on its own. (If you don't understand why
anybody would want this, I'm guessing that Vim is not your favourite text
editor ;)

26
wip/xcape/Makefile Normal file
View File

@ -0,0 +1,26 @@
# $NetBSD$
DISTNAME= xcape-1.2
CATEGORIES= sysutils x11
MASTER_SITES= ${MASTER_SITE_GITHUB:=alols/}
GITHUB_TAG= v${PKGVERSION_NOREV}
MAINTAINER= pickles@tilde.pink
HOMEPAGE= https://github.com/alols/xcape/
COMMENT= Configure modifier keys to act as other keys when pressed
LICENSE= gnu-gpl-v3
USE_TOOLS+= pkg-config gmake
USE_LANGUAGES= c
SUBST_CLASSES+= makefile
SUBST_STAGE.makefile= pre-build
SUBST_MESSAGE.makefile= Fixing makefile
SUBST_FILES.makefile= Makefile
SUBST_SED.makefile= -e 's,/usr,${PREFIX},g'
SUBST_SED.makefile+= -e 's,local/man,${PKGMANDIR},g'
.include "../../x11/libX11/buildlink3.mk"
.include "../../x11/libXtst/buildlink3.mk"
.include "../../x11/libXi/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

3
wip/xcape/PLIST Normal file
View File

@ -0,0 +1,3 @@
@comment $NetBSD$
bin/xcape
man/man1/xcape.1

5
wip/xcape/distinfo Normal file
View File

@ -0,0 +1,5 @@
$NetBSD$
BLAKE2s (xcape-1.2.tar.gz) = b8fa5a1da07d13a8f9f8f1ce267f0ca672d724829661d30360de22dd0c7279f6
SHA512 (xcape-1.2.tar.gz) = 5ae8502250a9ec55a4b0c5f7301c1597c652b76904261153b720362e3c5882e8db980c85396a2594f99ae2fb72ab7070c1b06c9432d54b7da84975ff45b25a79
Size (xcape-1.2.tar.gz) = 18730 bytes