summaryrefslogtreecommitdiff
path: root/textproc/fcitx5-configtool/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/fcitx5-configtool/Makefile')
-rw-r--r--textproc/fcitx5-configtool/Makefile24
1 files changed, 3 insertions, 21 deletions
diff --git a/textproc/fcitx5-configtool/Makefile b/textproc/fcitx5-configtool/Makefile
index 90328c146c21..da7207be9d04 100644
--- a/textproc/fcitx5-configtool/Makefile
+++ b/textproc/fcitx5-configtool/Makefile
@@ -1,5 +1,5 @@
PORTNAME= fcitx5-configtool
-DISTVERSION= 5.1.9
+DISTVERSION= 5.1.11
CATEGORIES= textproc x11
MASTER_SITES= https://download.fcitx-im.org/fcitx5/${PORTNAME}/
@@ -10,37 +10,22 @@ WWW= https://github.com/fcitx/fcitx5-configtool
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/LICENSES/GPL-2.0-or-later.txt
-FLAVORS?= qt6 qt5
-FLAVOR?= ${FLAVORS:[1]}
-
qt5_PKGNAMESUFFIX= -qt5
qt6_PKGNAMESUFFIX= -qt6
LIB_DEPENDS= libFcitx5Core.so:textproc/fcitx5 \
- libFcitx5Qt${FLAVOR:S/qt//}DBusAddons.so:textproc/fcitx5-qt@${FLAVOR} \
+ libFcitx5Qt6DBusAddons.so:textproc/fcitx5-qt@qt6 \
libxkbcommon.so:x11/libxkbcommon
RUN_DEPENDS= iso-codes>=0:misc/iso-codes \
xkeyboard-config>=0:x11/xkeyboard-config
USES= cmake compiler:c++17-lang gettext-tools gl \
- kde:${FLAVOR:S/qt//} pkgconfig qt:${FLAVOR:S/qt//} \
+ kde:6 pkgconfig qt:6 \
tar:zst xorg
USE_GL= opengl
PLIST_SUB= VER=${PORTVERSION}
-.if ${FLAVOR} == qt5
-
-USE_KDE= config coreaddons ecm i18n iconthemes itemviews \
- kdeclarative kirigami2 package plasma-framework service \
- widgetsaddons
-USE_QT= concurrent core dbus declarative gui widgets \
- x11extras buildtools:build qmake:build
-CMAKE_OFF= ENABLE_TEST USE_QT6
-PLIST_SUB+= QT5=""
-
-.elif ${FLAVOR} == qt6
-
LIB_DEPENDS+= libKF6Svg.so:graphics/kf6-ksvg \
libKF6KCMUtilsQuick.so:devel/kf6-kcmutils
USE_KDE= config coreaddons ecm i18n iconthemes itemviews \
@@ -48,9 +33,6 @@ USE_KDE= config coreaddons ecm i18n iconthemes itemviews \
widgetsaddons
USE_QT= base declarative
CMAKE_OFF= ENABLE_TEST
-PLIST_SUB+= QT5="@comment "
-
-.endif
USE_XORG= x11 xkbfile
USE_LDCONFIG= yes