mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-19 19:59:43 +00:00
Small program that allows to query and change the XKB layout state from
command line. WWW: https://github.com/ierton/xkb-switch PR: 210501 Submitted by: Dmitri Goutnik <dg@syrec.org>
This commit is contained in:
parent
9b46f70746
commit
b493dc4c03
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=417984
@ -395,6 +395,7 @@
|
||||
SUBDIR += xineramaproto
|
||||
SUBDIR += xinit
|
||||
SUBDIR += xinput
|
||||
SUBDIR += xkb-switch
|
||||
SUBDIR += xkbcomp
|
||||
SUBDIR += xkbctrl
|
||||
SUBDIR += xkbevd
|
||||
|
32
x11/xkb-switch/Makefile
Normal file
32
x11/xkb-switch/Makefile
Normal file
@ -0,0 +1,32 @@
|
||||
# Created by: Dmitri Goutnik <dg@syrec.org>
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= xkb-switch
|
||||
PORTVERSION= 0.0.20160417
|
||||
CATEGORIES= x11
|
||||
|
||||
MAINTAINER= dg@syrec.org
|
||||
COMMENT= Switch your X keyboard layouts from the command line
|
||||
|
||||
LICENSE= GPLv3
|
||||
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= ierton
|
||||
GH_TAGNAME= e6266a1
|
||||
|
||||
USES= cmake
|
||||
USE_XORG= x11 xkbfile
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
PLIST_FILES= bin/xkb-switch \
|
||||
lib/libxkbswitch.so
|
||||
|
||||
PORTDOCS= README.md
|
||||
|
||||
post-install-DOCS-on:
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
3
x11/xkb-switch/distinfo
Normal file
3
x11/xkb-switch/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1467568131
|
||||
SHA256 (ierton-xkb-switch-0.0.20160417-e6266a1_GH0.tar.gz) = 5dd873c6a89a07fe18261a01eb168a2d23da47603ca0f2bd531afd68f0a90da7
|
||||
SIZE (ierton-xkb-switch-0.0.20160417-e6266a1_GH0.tar.gz) = 18840
|
14
x11/xkb-switch/files/patch-CMakeLists.txt
Normal file
14
x11/xkb-switch/files/patch-CMakeLists.txt
Normal file
@ -0,0 +1,14 @@
|
||||
--- CMakeLists.txt.orig 2016-04-17 08:55:32 UTC
|
||||
+++ CMakeLists.txt
|
||||
@@ -4,6 +4,11 @@ PROJECT( XKB-SWITCH )
|
||||
|
||||
FIND_PROGRAM(CTAGS ctags)
|
||||
|
||||
+FIND_PACKAGE(X11 REQUIRED)
|
||||
+
|
||||
+INCLUDE_DIRECTORIES(${X11_INCLUDE_DIR})
|
||||
+LINK_DIRECTORIES(${X11_LIBRARY_DIR})
|
||||
+
|
||||
ADD_EXECUTABLE(xkb-switch XKbSwitch.cpp XKeyboard.cpp)
|
||||
|
||||
TARGET_LINK_LIBRARIES(xkb-switch X11 xkbfile)
|
4
x11/xkb-switch/pkg-descr
Normal file
4
x11/xkb-switch/pkg-descr
Normal file
@ -0,0 +1,4 @@
|
||||
Small program that allows to query and change the XKB layout state from
|
||||
command line.
|
||||
|
||||
WWW: https://github.com/ierton/xkb-switch
|
Loading…
Reference in New Issue
Block a user