aboutsummaryrefslogtreecommitdiff
path: root/chinese/fcitx-libpinyin
diff options
context:
space:
mode:
authorWen Heping <wen@FreeBSD.org>2018-10-24 11:48:38 +0000
committerWen Heping <wen@FreeBSD.org>2018-10-24 11:48:38 +0000
commit335d8e16f1d28ac00455ddfae49a1a9cf7de35ae (patch)
treedd5047242b23a29d5768dfcc8b7232e4cd9f2051 /chinese/fcitx-libpinyin
parent315bb9182242ec81fc407d3a37fc2ea9dd0005fc (diff)
downloadports-335d8e16f1d28ac00455ddfae49a1a9cf7de35ae.tar.gz
ports-335d8e16f1d28ac00455ddfae49a1a9cf7de35ae.zip
- Update to 0.5.3
PR: 231616 Submitted by: ryo@tetera.org Approved by: maintainer
Notes
Notes: svn path=/head/; revision=482903
Diffstat (limited to 'chinese/fcitx-libpinyin')
-rw-r--r--chinese/fcitx-libpinyin/Makefile24
-rw-r--r--chinese/fcitx-libpinyin/distinfo9
-rw-r--r--chinese/fcitx-libpinyin/pkg-plist6
3 files changed, 23 insertions, 16 deletions
diff --git a/chinese/fcitx-libpinyin/Makefile b/chinese/fcitx-libpinyin/Makefile
index c2f5da28676c..00ee9224d8a8 100644
--- a/chinese/fcitx-libpinyin/Makefile
+++ b/chinese/fcitx-libpinyin/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= fcitx-libpinyin
-PORTVERSION= 0.3.2
+PORTVERSION= 0.5.3
CATEGORIES= chinese
MASTER_SITES= http://download.fcitx-im.org/${PORTNAME}/:body \
http://download.fcitx-im.org/data/:data
@@ -16,28 +16,30 @@ COMMENT= Libpinyin support for Fcitx
LICENSE= GPLv2
+BUILD_DEPENDS= bash:shells/bash
LIB_DEPENDS= libfcitx-config.so:chinese/fcitx \
- libpinyin.so:chinese/libpinyin
+ libpinyin.so:chinese/libpinyin\
+ libFcitxQt5WidgetsAddons.so:textproc/fcitx-qt5
USES= tar:xz cmake gettext pkgconfig
INSTALLS_ICONS= yes
-_MODEL_VER= 20130308
+_MODEL_VER= 20161206
-OPTIONS_DEFINE= QT4
-OPTIONS_DEFAULT=QT4
-QT4_DESC= Enable Qt4 for dictmanager
+OPTIONS_DEFINE= QT5
+OPTIONS_DEFAULT=QT5
+QT5_DESC= Enable Qtr for dictmanager
.include <bsd.port.options.mk>
-.if ${PORT_OPTIONS:MQT4}
-USES+= qt:4
-USE_QT= qmake_build moc_build rcc_build uic_build gui webkit
+.if ${PORT_OPTIONS:MQT5}
+USES+= qt:5
+USE_QT= qmake_build gui webengine webkit buildtools
USE_LDCONFIG= ${PREFIX}/lib/fcitx/qt
-PLIST_SUB+= QT4=""
+PLIST_SUB+= QT5=""
.else
CMAKE_ARGS+= -DENABLE_QT=OFF
-PLIST_SUB+= QT4="@comment "
+PLIST_SUB+= QT5="@comment "
.endif
post-patch:
diff --git a/chinese/fcitx-libpinyin/distinfo b/chinese/fcitx-libpinyin/distinfo
index dc28c88c067e..a5bbb788e81b 100644
--- a/chinese/fcitx-libpinyin/distinfo
+++ b/chinese/fcitx-libpinyin/distinfo
@@ -1,4 +1,5 @@
-SHA256 (fcitx/fcitx-libpinyin-0.3.2.tar.xz) = bdf0496e230cdf6c271b6eaf86212d9c5a2d51b60d8d9063b2f6a343de1e21fc
-SIZE (fcitx/fcitx-libpinyin-0.3.2.tar.xz) = 43028
-SHA256 (fcitx/model.text.20130308.tar.gz) = 4595b5832ec1f81e93a37ec5841a57898c68f6024ef0593b8de127d1e3571a69
-SIZE (fcitx/model.text.20130308.tar.gz) = 15100062
+TIMESTAMP = 1540296343
+SHA256 (fcitx/fcitx-libpinyin-0.5.3.tar.xz) = 46ca8cc970622665d4e46b69c99c9e37a729871d96cce9d4ee63c5c99210cca4
+SIZE (fcitx/fcitx-libpinyin-0.5.3.tar.xz) = 47504
+SHA256 (fcitx/model.text.20161206.tar.gz) = 5c7024e5735389c471f54b867eda0d98c5a40a5e5e75333a9febac107508f704
+SIZE (fcitx/model.text.20161206.tar.gz) = 15099931
diff --git a/chinese/fcitx-libpinyin/pkg-plist b/chinese/fcitx-libpinyin/pkg-plist
index f11c82cbbdba..a871227f3375 100644
--- a/chinese/fcitx-libpinyin/pkg-plist
+++ b/chinese/fcitx-libpinyin/pkg-plist
@@ -1,5 +1,5 @@
lib/fcitx/fcitx-libpinyin.so
-%%QT4%%lib/fcitx/qt/libfcitx-libpinyin-dictmanager.so
+%%QT5%%lib/fcitx/qt/libfcitx-libpinyin-dictmanager.so
share/fcitx/addon/fcitx-libpinyin.conf
share/fcitx/configdesc/fcitx-libpinyin.desc
share/fcitx/imicon/bopomofo.png
@@ -30,7 +30,11 @@ share/fcitx/libpinyin/zhuyin_data/table.conf
share/icons/hicolor/48x48/status/fcitx-bopomofo.png
share/icons/hicolor/48x48/status/fcitx-pinyin-libpinyin.png
share/icons/hicolor/48x48/status/fcitx-shuangpin-libpinyin.png
+share/locale/ca/LC_MESSAGES/fcitx-libpinyin.mo
+share/locale/da/LC_MESSAGES/fcitx-libpinyin.mo
share/locale/de/LC_MESSAGES/fcitx-libpinyin.mo
share/locale/ja/LC_MESSAGES/fcitx-libpinyin.mo
+share/locale/ko/LC_MESSAGES/fcitx-libpinyin.mo
+share/locale/ru/LC_MESSAGES/fcitx-libpinyin.mo
share/locale/zh_CN/LC_MESSAGES/fcitx-libpinyin.mo
share/locale/zh_TW/LC_MESSAGES/fcitx-libpinyin.mo