aboutsummaryrefslogtreecommitdiff
path: root/textproc/fcitx5-configtool/Makefile
blob: d2d99ab46286be35cef171c29c9d40e777b06157 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# Created by: Ka Ho Ng <khng300@gmail.com>

PORTNAME=	fcitx5-configtool
DISTVERSION=	5.0.2
PORTREVISION=	1
CATEGORIES=	textproc x11

MAINTAINER=	khng300@gmail.com
COMMENT=	Fcitx5 IM framework configuration tool

LICENSE=	GPLv2+
LICENSE_FILE=	${WRKSRC}/LICENSES/GPL-2.0-or-later.txt

BUILD_DEPENDS=	iso-codes>=0:misc/iso-codes \
		fcitx5=5.0.4:textproc/fcitx5 \
		fcitx5-qt=5.0.2:textproc/fcitx5-qt
LIB_DEPENDS=	libxkbcommon.so:x11/libxkbcommon \
		libFcitx5Core.so:textproc/fcitx5 \
		libFcitx5Qt5DBusAddons.so:textproc/fcitx5-qt
RUN_DEPENDS=	xkeyboard-config>=0:x11/xkeyboard-config \
		iso-codes>=0:misc/iso-codes

USES=		compiler:c++17-lang gettext-tools cmake kde:5 pkgconfig qt:5 xorg

PLIST_SUB=	VER=${PORTVERSION}

USE_GITHUB=	yes
GH_ACCOUNT=	fcitx

USE_KDE=	ecm coreaddons kdeclarative i18n itemviews kirigami2 package widgetsaddons
USE_QT=		concurrent core dbus declarative gui quickcontrols2 widgets x11extras \
		buildtools_build qmake_build
USE_XORG=	x11 xkbfile
USE_LDCONFIG=	yes

CMAKE_ON=	ENABLE_KCM ENABLE_CONFIG_QT
CMAKE_OFF=	ENABLE_TEST

.include <bsd.port.mk>