svn commit: r417984 - in head/x11: . xkb-switch xkb-switch/files
Pawel Pekala
pawel at FreeBSD.org
Sun Jul 3 18:05:10 UTC 2016
Author: pawel
Date: Sun Jul 3 18:05:08 2016
New Revision: 417984
URL: https://svnweb.freebsd.org/changeset/ports/417984
Log:
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 at syrec.org>
Added:
head/x11/xkb-switch/
head/x11/xkb-switch/Makefile (contents, props changed)
head/x11/xkb-switch/distinfo (contents, props changed)
head/x11/xkb-switch/files/
head/x11/xkb-switch/files/patch-CMakeLists.txt (contents, props changed)
head/x11/xkb-switch/pkg-descr (contents, props changed)
Modified:
head/x11/Makefile
Modified: head/x11/Makefile
==============================================================================
--- head/x11/Makefile Sun Jul 3 17:55:05 2016 (r417983)
+++ head/x11/Makefile Sun Jul 3 18:05:08 2016 (r417984)
@@ -395,6 +395,7 @@
SUBDIR += xineramaproto
SUBDIR += xinit
SUBDIR += xinput
+ SUBDIR += xkb-switch
SUBDIR += xkbcomp
SUBDIR += xkbctrl
SUBDIR += xkbevd
Added: head/x11/xkb-switch/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/x11/xkb-switch/Makefile Sun Jul 3 18:05:08 2016 (r417984)
@@ -0,0 +1,32 @@
+# Created by: Dmitri Goutnik <dg at syrec.org>
+# $FreeBSD$
+
+PORTNAME= xkb-switch
+PORTVERSION= 0.0.20160417
+CATEGORIES= x11
+
+MAINTAINER= dg at 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>
Added: head/x11/xkb-switch/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/x11/xkb-switch/distinfo Sun Jul 3 18:05:08 2016 (r417984)
@@ -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
Added: head/x11/xkb-switch/files/patch-CMakeLists.txt
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/x11/xkb-switch/files/patch-CMakeLists.txt Sun Jul 3 18:05:08 2016 (r417984)
@@ -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)
Added: head/x11/xkb-switch/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/x11/xkb-switch/pkg-descr Sun Jul 3 18:05:08 2016 (r417984)
@@ -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
More information about the svn-ports-all
mailing list