View | Details | Raw Unified | Return to bug 239448
Collapse All | Expand All

(-)x11/xkb-switch/Makefile (-2 / +11 lines)
Lines 2-10 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	xkb-switch
4
PORTNAME=	xkb-switch
5
PORTVERSION=	1.5.0
5
PORTVERSION=	1.6.0
6
CATEGORIES=	x11
6
CATEGORIES=	x11
7
7
8
# https://github.com/ierton/xkb-switch/pull/41
9
PATCH_SITES=	https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
10
PATCHFILES=	2075a8cdd5456c906fcd49278c1003dcb6b9f880.patch:-p1
11
8
MAINTAINER=	dg@syrec.org
12
MAINTAINER=	dg@syrec.org
9
COMMENT=	Switch your X keyboard layouts from the command line
13
COMMENT=	Switch your X keyboard layouts from the command line
10
14
Lines 14-26 Link Here
14
GH_ACCOUNT=	ierton
18
GH_ACCOUNT=	ierton
15
19
16
USES=		cmake
20
USES=		cmake
21
17
USE_XORG=	x11 xkbfile
22
USE_XORG=	x11 xkbfile
18
USE_LDCONFIG=	yes
23
USE_LDCONFIG=	yes
24
CMAKE_ARGS=	-DMAN_COMPRESSION="gz" -DMANDIR="${MANPREFIX}/man"
19
25
20
OPTIONS_DEFINE=	DOCS
26
OPTIONS_DEFINE=	DOCS
21
27
22
PLIST_FILES=	bin/xkb-switch \
28
PLIST_FILES=	bin/xkb-switch \
23
		lib/libxkbswitch.so
29
		lib/libxkbswitch.so \
30
		lib/libxkbswitch.so.1 \
31
		lib/libxkbswitch.so.1.6.0 \
32
		man/man1/xkb-switch.1.gz
24
33
25
PORTDOCS=	README.md
34
PORTDOCS=	README.md
26
35
(-)x11/xkb-switch/distinfo (-3 / +5 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1489685611
1
TIMESTAMP = 1564084605
2
SHA256 (ierton-xkb-switch-1.5.0_GH0.tar.gz) = 3e100ac15670eda2109fb0d3159ad08e85e3b33de4cb1b3369dce5da7d83e954
2
SHA256 (ierton-xkb-switch-1.6.0_GH0.tar.gz) = 17ddd00a09945f634654ddf98d55023b0727755f828706747fd5227e2651633d
3
SIZE (ierton-xkb-switch-1.5.0_GH0.tar.gz) = 18899
3
SIZE (ierton-xkb-switch-1.6.0_GH0.tar.gz) = 20458
4
SHA256 (2075a8cdd5456c906fcd49278c1003dcb6b9f880.patch) = 8dce584225bea7340a3674d9ab4ed66912ee4354f7e40f941625c90b8b66d5e1
5
SIZE (2075a8cdd5456c906fcd49278c1003dcb6b9f880.patch) = 1845
(-)x11/xkb-switch/files/patch-CMakeLists.txt (-14 lines)
Lines 1-14 Link Here
1
--- CMakeLists.txt.orig	2016-04-17 08:55:32 UTC
2
+++ CMakeLists.txt
3
@@ -4,6 +4,11 @@ PROJECT( XKB-SWITCH )
4
 
5
 FIND_PROGRAM(CTAGS ctags)
6
 
7
+FIND_PACKAGE(X11 REQUIRED)
8
+
9
+INCLUDE_DIRECTORIES(${X11_INCLUDE_DIR})
10
+LINK_DIRECTORIES(${X11_LIBRARY_DIR})
11
+
12
 ADD_EXECUTABLE(xkb-switch XKbSwitch.cpp XKeyboard.cpp)
13
 
14
 TARGET_LINK_LIBRARIES(xkb-switch X11 xkbfile)

Return to bug 239448