Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Jul 2018 13:51:49 +0000 (UTC)
From:      MANTANI Nobutaka <nobutaka@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r474693 - in head/textproc: . uim-qt5
Message-ID:  <201807151351.w6FDpnPK077681@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: nobutaka
Date: Sun Jul 15 13:51:49 2018
New Revision: 474693
URL: https://svnweb.freebsd.org/changeset/ports/474693

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

Added:
  head/textproc/uim-qt5/
  head/textproc/uim-qt5/Makefile   (contents, props changed)
  head/textproc/uim-qt5/pkg-descr   (contents, props changed)
  head/textproc/uim-qt5/pkg-plist   (contents, props changed)
Modified:
  head/textproc/Makefile

Modified: head/textproc/Makefile
==============================================================================
--- head/textproc/Makefile	Sun Jul 15 13:39:35 2018	(r474692)
+++ head/textproc/Makefile	Sun Jul 15 13:51:49 2018	(r474693)
@@ -1761,6 +1761,7 @@
     SUBDIR += uim-kde4
     SUBDIR += uim-m17nlib
     SUBDIR += uim-qt4
+    SUBDIR += uim-qt5
     SUBDIR += uml2svg
     SUBDIR += uncle
     SUBDIR += uncrustify

Added: head/textproc/uim-qt5/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/uim-qt5/Makefile	Sun Jul 15 13:51:49 2018	(r474693)
@@ -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"

Added: head/textproc/uim-qt5/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/uim-qt5/pkg-descr	Sun Jul 15 13:51:49 2018	(r474693)
@@ -0,0 +1,3 @@
+Qt5 IM modules of uim input method.
+
+WWW: https://github.com/uim/uim

Added: head/textproc/uim-qt5/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/uim-qt5/pkg-plist	Sun Jul 15 13:51:49 2018	(r474693)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201807151351.w6FDpnPK077681>