git: c7691ef42dd0 - main - chinese/libime-jyutping: fix plist against KDE Frameworks 5.110

From: Tobias C. Berner <tcberner_at_FreeBSD.org>
Date: Mon, 18 Sep 2023 15:57:40 UTC
The branch main has been updated by tcberner:

URL: https://cgit.FreeBSD.org/ports/commit/?id=c7691ef42dd0bcb1c794782eecb269d0c3a9480b

commit c7691ef42dd0bcb1c794782eecb269d0c3a9480b
Author:     Tobias C. Berner <tcberner@FreeBSD.org>
AuthorDate: 2023-09-18 15:49:20 +0000
Commit:     Tobias C. Berner <tcberner@FreeBSD.org>
CommitDate: 2023-09-18 15:57:12 +0000

    chinese/libime-jyutping: fix plist against KDE Frameworks 5.110
    
    The change [1] in KDE Frameworks leads to the configuration
    ecm_setup_version(PROJECT
                      VARIABLE_PREFIX IMEJyutping
                      PACKAGE_VERSION_FILE "${CMAKE_CURRENT_BINARY_DIR}/LibIMEJyutpingConfigVersion.cmake"
                      SOVERSION 0)
    accepting the value '0' as so-version, and not defaulting to the
    softwares major version (here 1).
    
    This leads to the .so.1 being renamed to .so.0 in the final package.
    
    [1] https://invent.kde.org/frameworks/extra-cmake-modules/-/commit/1da0bba97d170e6d04eaf5555681c1b325cabcf5
    
    PR:             273695
---
 chinese/libime-jyutping/Makefile  | 2 +-
 chinese/libime-jyutping/pkg-plist | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/chinese/libime-jyutping/Makefile b/chinese/libime-jyutping/Makefile
index c4dccbf9f5d5..7cb6f1dab04b 100644
--- a/chinese/libime-jyutping/Makefile
+++ b/chinese/libime-jyutping/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	libime-jyutping
 DISTVERSION=	1.0.6
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	chinese textproc
 MASTER_SITES=	https://download.fcitx-im.org/fcitx5/${PORTNAME}/ \
 		https://download.fcitx-im.org/data/:dict,model
diff --git a/chinese/libime-jyutping/pkg-plist b/chinese/libime-jyutping/pkg-plist
index d543a85b52d9..aedb42a5d317 100644
--- a/chinese/libime-jyutping/pkg-plist
+++ b/chinese/libime-jyutping/pkg-plist
@@ -13,7 +13,7 @@ lib/cmake/LibIMEJyutping/LibIMEJyutpingTargets-%%CMAKE_BUILD_TYPE%%.cmake
 lib/cmake/LibIMEJyutping/LibIMEJyutpingTargets.cmake
 lib/fcitx5/jyutping.so
 lib/libIMEJyutping.so
-lib/libIMEJyutping.so.1
+lib/libIMEJyutping.so.0
 lib/libIMEJyutping.so.%%VER%%
 lib/libime/zh_HK.lm
 lib/libime/zh_HK.lm.predict