japanese/fcitx-anthy: Update to 0.2.4 and flavorize for anthy-unicode

Changelog: https://github.com/fcitx/fcitx-anthy/commits/0.2.4/

PR:		283191
Approved by:	lichray@gmail.com (maintainer)
This commit is contained in:
mew14930xvi 2024-12-08 12:31:49 +09:00 committed by Robert Clausecker
parent c7e78c439a
commit 4524cc4fa4
2 changed files with 19 additions and 8 deletions

View file

@ -1,6 +1,5 @@
PORTNAME= fcitx-anthy
PORTVERSION= 0.2.3
PORTREVISION= 1
DISTVERSION= 0.2.4
CATEGORIES= japanese
MASTER_SITES= http://download.fcitx-im.org/${PORTNAME}/
DIST_SUBDIR= fcitx
@ -10,11 +9,23 @@ COMMENT= Anthy support for Fcitx
WWW= https://fcitx-im.org/wiki/Fcitx
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= bash:shells/bash
LIB_DEPENDS= libfcitx-config.so:chinese/fcitx \
libanthy.so:japanese/anthy
BUILD_DEPENDS= bash:shells/bash \
fcitx:chinese/fcitx
FLAVORS= original unicode
FLAVOR?= ${FLAVORS:[1]}
USES= cmake gettext gnome pkgconfig tar:xz
.if ${FLAVOR} == original
LIB_DEPENDS+= libanthy.so:japanese/anthy
CONFLICTS_INSTALL= ${PORTNAME}-unicode
.else
PKGNAMESUFFIX= -unicode
LIB_DEPENDS+= libanthy-unicode.so:japanese/anthy-unicode
CONFLICTS_INSTALL= ${PORTNAME}
.endif
.include <bsd.port.mk>

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1541934183
SHA256 (fcitx/fcitx-anthy-0.2.3.tar.xz) = ed9b4956356ca68e5f7bdd46492873ebebc921a6cf713d7fc62e5680393f5d06
SIZE (fcitx/fcitx-anthy-0.2.3.tar.xz) = 78020
TIMESTAMP = 1733562201
SHA256 (fcitx/fcitx-anthy-0.2.4.tar.xz) = 1f186cd915ee15ffdb85ccdc437f998fe808dfe6780447c8ccc21f50e50d5fb3
SIZE (fcitx/fcitx-anthy-0.2.4.tar.xz) = 77856