1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-17 08:01:36 +00:00

Add uim-qt5, Qt5 modules of uim input method.

This commit is contained in:
MANTANI Nobutaka 2018-07-15 13:51:49 +00:00
parent cc3c987efe
commit faecd1c1ba
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=474693
4 changed files with 49 additions and 0 deletions

View File

@ -1761,6 +1761,7 @@
SUBDIR += uim-kde4
SUBDIR += uim-m17nlib
SUBDIR += uim-qt4
SUBDIR += uim-qt5
SUBDIR += uml2svg
SUBDIR += uncle
SUBDIR += uncrustify

39
textproc/uim-qt5/Makefile Normal file
View File

@ -0,0 +1,39 @@
# $FreeBSD$
PKGNAMESUFFIX= -qt5
COMMENT= Qt5 modules of uim input method
LICENSE= BSD3CLAUSE GPLv2+ GPLv3+ LGPL21+ PD
LICENSE_COMB= multi
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libuim.so:textproc/uim
USES= iconv libtool qt:5
USE_GL= gl
USE_QT= buildtools_build core gui qmake_build widgets x11extras
MASTERDIR= ${.CURDIR}/../../textproc/uim
PKGDIR= ${.CURDIR}
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-qt5 --with-qt5-immodule
CONFIGURE_ENV= DATADIRNAME="share"
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CFLAGS+= -I${LOCALBASE}/include
UIM_SLAVE= yes
.if defined(WITHOUT_X11)
IGNORE= cannot be built without X11. Please, unset WITHOUT_X11
.endif
do-build:
(cd ${WRKSRC}/uim && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} libuim-x-util.la libuim-counted-init.la)
(cd ${WRKSRC}/replace && ${SETENV} ${MAKE_ENV} ${MAKE_CMD})
(cd ${WRKSRC}/qt5 && ${SETENV} ${MAKE_ENV} ${MAKE_CMD})
do-install:
(cd ${WRKSRC}/qt5 && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} DESTDIR=${STAGEDIR} install)
.include "${MASTERDIR}/Makefile"

View File

@ -0,0 +1,3 @@
Qt5 IM modules of uim input method.
WWW: https://github.com/uim/uim

View File

@ -0,0 +1,6 @@
bin/uim-chardict-qt5
bin/uim-im-switcher-qt5
bin/uim-pref-qt5
bin/uim-toolbar-qt5
%%QT_PLUGINDIR%%/platforminputcontexts/libuimplatforminputcontextplugin.so
libexec/uim-candwin-qt5