git: 6c8bee42bcfc - main - chinese/libpinyin: update to 2.8.1
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 13 Mar 2023 00:16:15 UTC
The branch main has been updated by vishwin: URL: https://cgit.FreeBSD.org/ports/commit/?id=6c8bee42bcfcbfeae5f0ab4f266301f3274be714 commit 6c8bee42bcfcbfeae5f0ab4f266301f3274be714 Author: Charlie Li <vishwin@FreeBSD.org> AuthorDate: 2023-03-12 12:43:46 +0000 Commit: Charlie Li <vishwin@FreeBSD.org> CommitDate: 2023-03-13 00:16:05 +0000 chinese/libpinyin: update to 2.8.1 - correct LICENSE and specify LICENSE_FILE - bump consumers due to ABI version change Changes: https://github.com/libpinyin/libpinyin/compare/2.6.2...2.8.1 Approved by: lichray[at]gmail[dot]com (maintainer) PR: 270155 --- chinese/fcitx-libpinyin/Makefile | 1 + chinese/ibus-libpinyin/Makefile | 1 + chinese/libpinyin/Makefile | 13 ++++++------- chinese/libpinyin/distinfo | 6 +++--- chinese/libpinyin/pkg-plist | 4 ++-- 5 files changed, 13 insertions(+), 12 deletions(-) diff --git a/chinese/fcitx-libpinyin/Makefile b/chinese/fcitx-libpinyin/Makefile index a4e0570830b6..08464c48e97c 100644 --- a/chinese/fcitx-libpinyin/Makefile +++ b/chinese/fcitx-libpinyin/Makefile @@ -1,5 +1,6 @@ PORTNAME= fcitx-libpinyin PORTVERSION= 0.5.4 +PORTREVISION= 1 CATEGORIES= chinese MASTER_SITES= http://download.fcitx-im.org/${PORTNAME}/:body \ http://download.fcitx-im.org/data/:data diff --git a/chinese/ibus-libpinyin/Makefile b/chinese/ibus-libpinyin/Makefile index 758b61d6fb05..2f08da461b1a 100644 --- a/chinese/ibus-libpinyin/Makefile +++ b/chinese/ibus-libpinyin/Makefile @@ -1,5 +1,6 @@ PORTNAME= ibus-libpinyin PORTVERSION= 1.11.1 +PORTREVISION= 1 CATEGORIES= chinese MASTER_SITES= SF/libpinyin/${PORTNAME} diff --git a/chinese/libpinyin/Makefile b/chinese/libpinyin/Makefile index db4a331a9263..fdd56fa2e907 100644 --- a/chinese/libpinyin/Makefile +++ b/chinese/libpinyin/Makefile @@ -1,5 +1,5 @@ PORTNAME= libpinyin -PORTVERSION= 2.6.2 +PORTVERSION= 2.8.1 CATEGORIES= chinese textproc MASTER_SITES= SF/${PORTNAME}/${PORTNAME} @@ -7,7 +7,8 @@ MAINTAINER= lichray@gmail.com COMMENT= Library to deal with pinyin WWW= https://github.com/libpinyin/libpinyin -LICENSE= GPLv2 +LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/COPYING USES= bdb compiler:c++11-lang gmake gnome libtool pathfix pkgconfig USE_GNOME= glib20 @@ -18,15 +19,13 @@ USE_LDCONFIG= yes CONFIGURE_ARGS+=CPPFLAGS="-I${LOCALBASE}/include \ -I${BDB_INCLUDE_DIR}" \ LDFLAGS="-L${LOCALBASE}/lib -l${BDB_LIB_NAME}" -INSTALL_TARGET=install-strip +INSTALL_TARGET= install-strip OPTIONS_DEFINE= NLS NLS_USES= gettext -PLIST_SUB+= VER=${PORTVERSION} - -post-install: - ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libpinyin.so.13.0.0 +PLIST_SUB+= VER=${PORTVERSION} \ + ABIVER=15 .include <bsd.port.mk> diff --git a/chinese/libpinyin/distinfo b/chinese/libpinyin/distinfo index 3553bd818532..66d8a92f5388 100644 --- a/chinese/libpinyin/distinfo +++ b/chinese/libpinyin/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1651370275 -SHA256 (libpinyin-2.6.2.tar.gz) = 1b6dac7828c3f4522d2242009ab2cea10df3d9f92fb9036b9ff0ad309b4e5325 -SIZE (libpinyin-2.6.2.tar.gz) = 20558423 +TIMESTAMP = 1678494659 +SHA256 (libpinyin-2.8.1.tar.gz) = 353154f06d71dd0737b77ddcb27cb0dcaddb00f7ccd695bc0314bb42050e9050 +SIZE (libpinyin-2.8.1.tar.gz) = 20594925 diff --git a/chinese/libpinyin/pkg-plist b/chinese/libpinyin/pkg-plist index d37f819e2b68..d5edcc6572e8 100644 --- a/chinese/libpinyin/pkg-plist +++ b/chinese/libpinyin/pkg-plist @@ -6,8 +6,8 @@ include/libpinyin-%%VER%%/pinyin.h include/libpinyin-%%VER%%/pinyin_custom2.h lib/libpinyin.a lib/libpinyin.so -lib/libpinyin.so.13 -lib/libpinyin.so.13.0.0 +lib/libpinyin.so.%%ABIVER%% +lib/libpinyin.so.%%ABIVER%%.0.0 libdata/pkgconfig/libpinyin.pc man/man1/libpinyin.1.gz %%DATADIR%%/data/addon_phrase_index.bin