2023-08-16 22:26:55 +00:00
|
|
|
COMMENT = GTK IM module for fcitx5
|
|
|
|
|
|
|
|
DISTNAME = fcitx5-gtk-5.0.23
|
|
|
|
PKGNAME = ${DISTNAME:S/fcitx5/fcitx/}
|
|
|
|
|
|
|
|
SHARED_LIBS = Fcitx5GClient 0.0 # 0.0
|
|
|
|
|
|
|
|
CATEGORIES = inputmethods
|
|
|
|
|
|
|
|
HOMEPAGE = https://fcitx-im.org/
|
|
|
|
|
|
|
|
MAINTAINER = Yifei Zhan <openbsd@zhan.science>
|
|
|
|
|
|
|
|
# LGPLv2.1+
|
|
|
|
PERMIT_PACKAGE = Yes
|
|
|
|
|
|
|
|
WANTLIB += ${COMPILER_LIBCXX} atk-1.0 gdk-3 gtk-3 xkbcommon
|
|
|
|
WANTLIB += X11 cairo cairo-gobject harfbuzz pango-1.0 pangocairo-1.0
|
|
|
|
WANTLIB += gdk_pixbuf-2.0 gio-2.0 glib-2.0 gobject-2.0 intl m
|
|
|
|
|
2023-09-26 17:06:53 +00:00
|
|
|
SITES = https://download.fcitx-im.org/fcitx5/fcitx5-gtk/
|
2023-08-16 22:26:55 +00:00
|
|
|
|
|
|
|
MODULES = devel/kf5
|
|
|
|
MODQT5_DEPS = No
|
|
|
|
|
|
|
|
BUILD_DEPENDS = devel/gettext,-tools \
|
|
|
|
inputmethods/fcitx \
|
|
|
|
devel/gobject-introspection \
|
|
|
|
devel/iso-codes
|
|
|
|
|
|
|
|
RUN_DEPENDS = devel/desktop-file-utils \
|
|
|
|
inputmethods/fcitx \
|
|
|
|
misc/shared-mime-info
|
|
|
|
|
|
|
|
LIB_DEPENDS = devel/harfbuzz,-main \
|
|
|
|
devel/pango \
|
|
|
|
graphics/gdk-pixbuf2 \
|
|
|
|
x11/gnome/at-spi2-core \
|
|
|
|
x11/gtk+3,-main \
|
|
|
|
x11/xkbcommon
|
|
|
|
|
|
|
|
CONFIGURE_ARGS = -DENABLE_GTK2_IM_MODULE=OFF \
|
|
|
|
-DENABLE_GTK4_IM_MODULE=OFF \
|
|
|
|
-DCMAKE_CXX_FLAGS="-I${X11BASE}/include \
|
|
|
|
-I${LOCALBASE}/include"
|
|
|
|
|
|
|
|
# ninja: error: unknown target 'test'
|
|
|
|
NO_TEST = Yes
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|