View | Details | Raw Unified | Return to bug 231616 | Differences between
and this patch

Collapse All | Expand All

(-)chinese/fcitx-libpinyin/Makefile (-11 / +12 lines)
Lines 2-8 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	fcitx-libpinyin
4
PORTNAME=	fcitx-libpinyin
5
PORTVERSION=	0.3.2
5
PORTVERSION=	0.5.3
6
CATEGORIES=	chinese
6
CATEGORIES=	chinese
7
MASTER_SITES=	http://download.fcitx-im.org/${PORTNAME}/:body \
7
MASTER_SITES=	http://download.fcitx-im.org/${PORTNAME}/:body \
8
		http://download.fcitx-im.org/data/:data
8
		http://download.fcitx-im.org/data/:data
Lines 17-43 Link Here
17
LICENSE=	GPLv2
17
LICENSE=	GPLv2
18
18
19
LIB_DEPENDS=	libfcitx-config.so:chinese/fcitx \
19
LIB_DEPENDS=	libfcitx-config.so:chinese/fcitx \
20
		libpinyin.so:chinese/libpinyin
20
		libpinyin.so:chinese/libpinyin \
21
		libFcitxQt5WidgetsAddons.so:textproc/fcitx-qt5
21
22
22
USES=		tar:xz cmake gettext pkgconfig
23
USES=		tar:xz cmake gettext pkgconfig
23
INSTALLS_ICONS=	yes
24
INSTALLS_ICONS=	yes
24
25
25
_MODEL_VER=	20130308
26
_MODEL_VER=	20161206
26
27
27
OPTIONS_DEFINE=	QT4
28
OPTIONS_DEFINE=	QT5
28
OPTIONS_DEFAULT=QT4
29
OPTIONS_DEFAULT=QT5
29
QT4_DESC=	Enable Qt4 for dictmanager
30
QT5_DESC=	Enable Qtr for dictmanager
30
31
31
.include <bsd.port.options.mk>
32
.include <bsd.port.options.mk>
32
33
33
.if ${PORT_OPTIONS:MQT4}
34
.if ${PORT_OPTIONS:MQT5}
34
USES+=		qt:4
35
USES+=		qt:5
35
USE_QT=		qmake_build moc_build rcc_build uic_build gui webkit
36
USE_QT=		buildtools qmake_build gui webengine webkit
36
USE_LDCONFIG=	${PREFIX}/lib/fcitx/qt
37
USE_LDCONFIG=	${PREFIX}/lib/fcitx/qt
37
PLIST_SUB+=	QT4=""
38
PLIST_SUB+=	QT5=""
38
.else
39
.else
39
CMAKE_ARGS+=	-DENABLE_QT=OFF
40
CMAKE_ARGS+=	-DENABLE_QT=OFF
40
PLIST_SUB+=	QT4="@comment "
41
PLIST_SUB+=	QT5="@comment "
41
.endif
42
.endif
42
43
43
post-patch:
44
post-patch:
(-)chinese/fcitx-libpinyin/distinfo (-4 / +5 lines)
Lines 1-4 Link Here
1
SHA256 (fcitx/fcitx-libpinyin-0.3.2.tar.xz) = bdf0496e230cdf6c271b6eaf86212d9c5a2d51b60d8d9063b2f6a343de1e21fc
1
TIMESTAMP = 1540293377
2
SIZE (fcitx/fcitx-libpinyin-0.3.2.tar.xz) = 43028
2
SHA256 (fcitx/fcitx-libpinyin-0.5.3.tar.xz) = 46ca8cc970622665d4e46b69c99c9e37a729871d96cce9d4ee63c5c99210cca4
3
SHA256 (fcitx/model.text.20130308.tar.gz) = 4595b5832ec1f81e93a37ec5841a57898c68f6024ef0593b8de127d1e3571a69
3
SIZE (fcitx/fcitx-libpinyin-0.5.3.tar.xz) = 47504
4
SIZE (fcitx/model.text.20130308.tar.gz) = 15100062
4
SHA256 (fcitx/model.text.20161206.tar.gz) = 5c7024e5735389c471f54b867eda0d98c5a40a5e5e75333a9febac107508f704
5
SIZE (fcitx/model.text.20161206.tar.gz) = 15099931
(-)chinese/fcitx-libpinyin/pkg-plist (-1 / +5 lines)
Lines 1-5 Link Here
1
lib/fcitx/fcitx-libpinyin.so
1
lib/fcitx/fcitx-libpinyin.so
2
%%QT4%%lib/fcitx/qt/libfcitx-libpinyin-dictmanager.so
2
%%QT5%%lib/fcitx/qt/libfcitx-libpinyin-dictmanager.so
3
share/fcitx/addon/fcitx-libpinyin.conf
3
share/fcitx/addon/fcitx-libpinyin.conf
4
share/fcitx/configdesc/fcitx-libpinyin.desc
4
share/fcitx/configdesc/fcitx-libpinyin.desc
5
share/fcitx/imicon/bopomofo.png
5
share/fcitx/imicon/bopomofo.png
Lines 30-36 Link Here
30
share/icons/hicolor/48x48/status/fcitx-bopomofo.png
30
share/icons/hicolor/48x48/status/fcitx-bopomofo.png
31
share/icons/hicolor/48x48/status/fcitx-pinyin-libpinyin.png
31
share/icons/hicolor/48x48/status/fcitx-pinyin-libpinyin.png
32
share/icons/hicolor/48x48/status/fcitx-shuangpin-libpinyin.png
32
share/icons/hicolor/48x48/status/fcitx-shuangpin-libpinyin.png
33
share/locale/ca/LC_MESSAGES/fcitx-libpinyin.mo
34
share/locale/da/LC_MESSAGES/fcitx-libpinyin.mo
33
share/locale/de/LC_MESSAGES/fcitx-libpinyin.mo
35
share/locale/de/LC_MESSAGES/fcitx-libpinyin.mo
34
share/locale/ja/LC_MESSAGES/fcitx-libpinyin.mo
36
share/locale/ja/LC_MESSAGES/fcitx-libpinyin.mo
37
share/locale/ko/LC_MESSAGES/fcitx-libpinyin.mo
38
share/locale/ru/LC_MESSAGES/fcitx-libpinyin.mo
35
share/locale/zh_CN/LC_MESSAGES/fcitx-libpinyin.mo
39
share/locale/zh_CN/LC_MESSAGES/fcitx-libpinyin.mo
36
share/locale/zh_TW/LC_MESSAGES/fcitx-libpinyin.mo
40
share/locale/zh_TW/LC_MESSAGES/fcitx-libpinyin.mo

Return to bug 231616