svn commit: r559591 - head/chinese/fcitx-rime
Guangyuan Yang
ygy at FreeBSD.org
Tue Dec 29 16:02:32 UTC 2020
Author: ygy (doc committer)
Date: Tue Dec 29 16:02:31 2020
New Revision: 559591
URL: https://svnweb.freebsd.org/changeset/ports/559591
Log:
chinese/fcitx-rime: Upgrade to use RimeData-based schemas
brise has been deprecated since 2019. Replace the usage of chinese/brise in fcitx-rime with RimeData-based schemas.
RimeData-based schemas live in ${LOCALBASE}/share/rime-data.
PR: 251893
Submitted by: Ka Ho Ng <khng300 at gmail.com>
Approved by: lwhsu
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D27630
Modified:
head/chinese/fcitx-rime/Makefile
head/chinese/fcitx-rime/distinfo
Modified: head/chinese/fcitx-rime/Makefile
==============================================================================
--- head/chinese/fcitx-rime/Makefile Tue Dec 29 15:55:47 2020 (r559590)
+++ head/chinese/fcitx-rime/Makefile Tue Dec 29 16:02:31 2020 (r559591)
@@ -2,25 +2,33 @@
# $FreeBSD$
PORTNAME= fcitx-rime
-PORTVERSION= 0.3.2
-PORTREVISION= 1
+DISTVERSION= 0.3.2
+PORTREVISION= 2
CATEGORIES= chinese
-MASTER_SITES= http://download.fcitx-im.org/${PORTNAME}/
+MASTER_SITES= https://download.fcitx-im.org/${PORTNAME}/
DIST_SUBDIR= fcitx
+PATCH_SITES= https://github.com/fcitx/${PORTNAME}/commit/
+PATCHFILES= a3a9fffb6ee89adc327ad8a7dec05d5f35414f9d.patch:-p1
+
MAINTAINER= khng300 at gmail.com
COMMENT= RIME support for Fcitx
LICENSE= GPLv2
-BUILD_DEPENDS= bash:shells/bash
+BUILD_DEPENDS= bash:shells/bash \
+ ${_SCHEMA_DEPENDS}
LIB_DEPENDS= libfcitx-config.so:chinese/fcitx \
librime.so:chinese/librime
-RUN_DEPENDS= ${LOCALBASE}/share/brise/default.yaml:chinese/brise
+RUN_DEPENDS= ${_SCHEMA_DEPENDS}
-USES= cmake gettext gnome pkgconfig tar:xz
+USES= cmake gettext gnome localbase pkgconfig tar:xz
INSTALLS_ICONS= yes
-CMAKE_ARGS+= -DBRISE_DIR=${LOCALBASE}/share/brise
+_SCHEMA_DEPENDS= \
+ ${LOCALBASE}/share/rime-data/luna_pinyin.schema.yaml:chinese/rime-luna-pinyin \
+ ${LOCALBASE}/share/rime-data/bopomofo.schema.yaml:chinese/rime-bopomofo \
+ ${LOCALBASE}/share/rime-data/cangjie5.schema.yaml:chinese/rime-cangjie \
+ ${LOCALBASE}/share/rime-data/stroke.schema.yaml:chinese/rime-stroke
.include <bsd.port.mk>
Modified: head/chinese/fcitx-rime/distinfo
==============================================================================
--- head/chinese/fcitx-rime/distinfo Tue Dec 29 15:55:47 2020 (r559590)
+++ head/chinese/fcitx-rime/distinfo Tue Dec 29 16:02:31 2020 (r559591)
@@ -1,3 +1,5 @@
-TIMESTAMP = 1536696850
+TIMESTAMP = 1608116604
SHA256 (fcitx/fcitx-rime-0.3.2.tar.xz) = f97ea6f515fcc5f526cc25dce3d4ba05fa1c83001f68502d6c284ba39cd5a82d
SIZE (fcitx/fcitx-rime-0.3.2.tar.xz) = 40960
+SHA256 (fcitx/a3a9fffb6ee89adc327ad8a7dec05d5f35414f9d.patch) = b108314263ab980947f92ad08ac42642cc5e5274f256bc3cb0d2e86825a78586
+SIZE (fcitx/a3a9fffb6ee89adc327ad8a7dec05d5f35414f9d.patch) = 3167
More information about the svn-ports-all
mailing list