Skip to content

Commit

Permalink
x11/xkblayout-state: new port had been added (+)
Browse files Browse the repository at this point in the history
Small command-line program to get/set current XKB keyboard
layout (thin wrapper around a slightly modified version of
Jay Bromley's XKeyboard class).

PR:		265161
Submitted by:	Pavel Timofeev
  • Loading branch information
Alexey Dokuchaev authored and Alexey Dokuchaev committed Dec 8, 2023
1 parent c205f5e commit f28a6e5
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 0 deletions.
1 change: 1 addition & 0 deletions x11/Makefile
Expand Up @@ -564,6 +564,7 @@
SUBDIR += xkbctrl
SUBDIR += xkbevd
SUBDIR += xkbind
SUBDIR += xkblayout-state
SUBDIR += xkbprint
SUBDIR += xkbset
SUBDIR += xkbutils
Expand Down
24 changes: 24 additions & 0 deletions x11/xkblayout-state/Makefile
@@ -0,0 +1,24 @@
PORTNAME= xkblayout-state
PORTVERSION= g20211106
CATEGORIES= x11

MAINTAINER= timp87@gmail.com
COMMENT= Small program to get/set the current XKB layout
WWW= https://github.com/nonpop/xkblayout-state

LICENSE= GPLv2+

USES= gmake localbase:ldflags xorg
USE_XORG= x11
USE_GITHUB= yes
GH_ACCOUNT= nonpop
GH_TAGNAME= f311779

PORTSCOUT= skipv:v1,v1b

PLIST_FILES= bin/${PORTNAME}

do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin

.include <bsd.port.mk>
3 changes: 3 additions & 0 deletions x11/xkblayout-state/distinfo
@@ -0,0 +1,3 @@
TIMESTAMP = 1636204141
SHA256 (nonpop-xkblayout-state-g20211106-f311779_GH0.tar.gz) = 2bd4f9cda087a797df20ee41d903d5a447ce1beccf38cef004cf4bfe9d9d134e
SIZE (nonpop-xkblayout-state-g20211106-f311779_GH0.tar.gz) = 7617
5 changes: 5 additions & 0 deletions x11/xkblayout-state/pkg-descr
@@ -0,0 +1,5 @@
xkblayout-state is a small command-line program to get/set the current
XKB keyboard layout.

It is a thin wrapper around a slightly modified version of Jay Bromley's
XKeyboard class.

0 comments on commit f28a6e5

Please sign in to comment.