diff options
| author | Li-Wen Hsu <lwhsu@FreeBSD.org> | 2023-03-18 21:12:46 +0800 |
|---|---|---|
| committer | Li-Wen Hsu <lwhsu@FreeBSD.org> | 2023-03-18 21:12:46 +0800 |
| commit | 50c97dbfefc00515dc5da57b18c07bb4a8986296 (patch) | |
| tree | 12acdb7c212f51c9cbf78776f7cee65aca4cab3a /textproc/fcitx5-qt | |
| parent | x11/xcb-imdkit: Update to 1.0.5 (diff) | |
fcitx5: Update related ports to the latest version as 2023-03-18
While here, use the official site to fetch distfiles from
Approved by: khng
Differential Revision: https://reviews.freebsd.org/D37948
Diffstat (limited to 'textproc/fcitx5-qt')
| -rw-r--r-- | textproc/fcitx5-qt/Makefile | 16 | ||||
| -rw-r--r-- | textproc/fcitx5-qt/distinfo | 8 | ||||
| -rw-r--r-- | textproc/fcitx5-qt/files/extra-patch-CMakeLists.txt | 5 | ||||
| -rw-r--r-- | textproc/fcitx5-qt/pkg-plist.qt5 | 1 |
4 files changed, 13 insertions, 17 deletions
diff --git a/textproc/fcitx5-qt/Makefile b/textproc/fcitx5-qt/Makefile index 4a3fdd0cccb6..43253f487674 100644 --- a/textproc/fcitx5-qt/Makefile +++ b/textproc/fcitx5-qt/Makefile @@ -1,15 +1,13 @@ PORTNAME= fcitx5-qt -DISTVERSION= 5.0.8 +DISTVERSION= 5.0.17 CATEGORIES= textproc - -PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ -PATCHFILES= f7f983e1e709.patch:-p1 +MASTER_SITES= https://download.fcitx-im.org/fcitx5/${PORTNAME}/ MAINTAINER= khng@FreeBSD.org COMMENT?= Fcitx support for Qt (${FLAVOR}) WWW= https://github.com/fcitx/fcitx5-qt -LICENSE= LGPL21+ BSD3CLAUSE +LICENSE= BSD3CLAUSE LGPL21+ LICENSE_COMB= multi LICENSE_FILE_LGPL21+ = ${WRKSRC}/LICENSES/LGPL-2.1-or-later.txt LICENSE_FILE_BSD3CLAUSE= ${WRKSRC}/LICENSES/BSD-3-Clause.txt @@ -23,13 +21,15 @@ FLAVOR?= ${FLAVORS:[1]} qt5_PKGNAMESUFFIX= 5 qt6_PKGNAMESUFFIX= 6 -USES= compiler:c++17-lang gettext-tools cmake kde:5 pkgconfig xorg +USES= cmake compiler:c++17-lang gettext-tools kde:5 pkgconfig tar:xz \ + xorg CMAKE_OFF?= ENABLE_QT4 .if ${FLAVOR} == qt5 USES+= qt:5 -USE_QT= concurrent core dbus gui widgets xml buildtools:build qmake:build +USE_QT= concurrent core dbus gui widgets xml buildtools:build \ + qmake:build CMAKE_ON= ENABLE_QT5 CMAKE_OFF+= ENABLE_QT6 EXTRA_PATCHES= ${PATCHDIR}/extra-patch-CMakeLists.txt @@ -46,8 +46,6 @@ RUN_DEPENDS= fcitx5-qt-common>=${DISTVERSION}:textproc/fcitx5-qt-common PLIST?= ${PKGDIR}/pkg-plist.${FLAVOR} PLIST_SUB= VER=${PORTVERSION} -USE_GITHUB= yes -GH_ACCOUNT= fcitx USE_KDE= ecm USE_XORG= x11 xcb USE_LDCONFIG= yes diff --git a/textproc/fcitx5-qt/distinfo b/textproc/fcitx5-qt/distinfo index c8972fb77d47..92d1d31efaa6 100644 --- a/textproc/fcitx5-qt/distinfo +++ b/textproc/fcitx5-qt/distinfo @@ -1,5 +1,3 @@ -TIMESTAMP = 1638997683 -SHA256 (fcitx-fcitx5-qt-5.0.8_GH0.tar.gz) = 6a5141d25e39ec7843b69cf4dac6b16b1301a9db42b9ad140a9d002c5c6a0bf8 -SIZE (fcitx-fcitx5-qt-5.0.8_GH0.tar.gz) = 127492 -SHA256 (f7f983e1e709.patch) = fdde230d40bf4d4593ee2fcfe9eabe99bfe48c00cba65a7126e814a71beebdcb -SIZE (f7f983e1e709.patch) = 1280 +TIMESTAMP = 1679112362 +SHA256 (fcitx5-qt-5.0.17.tar.xz) = 4268e7a1277692a79dcff08e662d1e74407e598a61d3d0386bc64a51809e91f4 +SIZE (fcitx5-qt-5.0.17.tar.xz) = 84680 diff --git a/textproc/fcitx5-qt/files/extra-patch-CMakeLists.txt b/textproc/fcitx5-qt/files/extra-patch-CMakeLists.txt index 7fa1abdc5bf2..553090d8b2bb 100644 --- a/textproc/fcitx5-qt/files/extra-patch-CMakeLists.txt +++ b/textproc/fcitx5-qt/files/extra-patch-CMakeLists.txt @@ -1,11 +1,10 @@ ---- CMakeLists.txt.orig 2022-08-31 10:36:00 UTC +--- CMakeLists.txt.orig 2022-12-30 15:40:01 UTC +++ CMakeLists.txt -@@ -80,11 +80,6 @@ if(ENABLE_QT6) +@@ -84,10 +84,6 @@ endif() add_subdirectory(qt6) endif() -if(NOT BUILD_ONLY_PLUGIN) --find_package(Gettext REQUIRED) -add_subdirectory(po) -endif() - diff --git a/textproc/fcitx5-qt/pkg-plist.qt5 b/textproc/fcitx5-qt/pkg-plist.qt5 index 0da39797c8e6..2bc012f37753 100644 --- a/textproc/fcitx5-qt/pkg-plist.qt5 +++ b/textproc/fcitx5-qt/pkg-plist.qt5 @@ -29,3 +29,4 @@ lib/libFcitx5Qt5WidgetsAddons.so.2 lib/libFcitx5Qt5WidgetsAddons.so.%%VER%% %%QT_PLUGINDIR%%/platforminputcontexts/libfcitx5platforminputcontextplugin.so libexec/fcitx5-qt5-gui-wrapper +share/applications/org.fcitx.fcitx5-qt5-gui-wrapper.desktop |
