pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc Add fcitx option
details: https://anonhg.NetBSD.org/pkgsrc/rev/2192a84b1b7c
branches: trunk
changeset: 311791:2192a84b1b7c
user: ryoon <ryoon%pkgsrc.org@localhost>
date: Sat Aug 18 01:25:58 2018 +0000
description:
Add fcitx option
diffstat:
mk/defaults/options.description | 1 +
x11/mlterm/PLIST | 4 +++-
x11/mlterm/options.mk | 14 +++++++++++---
3 files changed, 15 insertions(+), 4 deletions(-)
diffs (66 lines):
diff -r 1d9721aab62e -r 2192a84b1b7c mk/defaults/options.description
--- a/mk/defaults/options.description Sat Aug 18 01:22:30 2018 +0000
+++ b/mk/defaults/options.description Sat Aug 18 01:25:58 2018 +0000
@@ -192,6 +192,7 @@
farstream Enable farstream support.
fastcgi Use FastCGI as the CGI manager.
fax Enable fax support
+fcitx Enable Fcitx inputmethod support
fd-small Build smaller misc/fd package.
ffmpeg Enable ffmpeg support.
fftw Use the fftw library for Discrete Fourier Transforms.
diff -r 1d9721aab62e -r 2192a84b1b7c x11/mlterm/PLIST
--- a/x11/mlterm/PLIST Sat Aug 18 01:22:30 2018 +0000
+++ b/x11/mlterm/PLIST Sat Aug 18 01:25:58 2018 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.39 2017/02/04 16:20:12 tsutsui Exp $
+@comment $NetBSD: PLIST,v 1.40 2018/08/18 01:32:23 ryoon Exp $
bin/mlcc
bin/mlclient
bin/mlclientx
@@ -17,6 +17,8 @@
${PLIST.ind}lib/mlterm/libctl_iscii.la
${PLIST.canna}lib/mlterm/libim-canna.la
${PLIST.fb}${PLIST.canna}lib/mlterm/libim-canna-fb.la
+${PLIST.fb}${PLIST.fcitx}lib/mlterm/libim-fcitx-fb.la
+${PLIST.fcitx}lib/mlterm/libim-fcitx.la
${PLIST.ibus}lib/mlterm/libim-ibus.la
${PLIST.fb}${PLIST.ibus}lib/mlterm/libim-ibus-fb.la
lib/mlterm/libim-kbd.la
diff -r 1d9721aab62e -r 2192a84b1b7c x11/mlterm/options.mk
--- a/x11/mlterm/options.mk Sat Aug 18 01:22:30 2018 +0000
+++ b/x11/mlterm/options.mk Sat Aug 18 01:25:58 2018 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: options.mk,v 1.14 2017/05/06 13:48:39 tsutsui Exp $
+# $NetBSD: options.mk,v 1.15 2018/08/18 01:32:23 ryoon Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.mlterm
-PKG_SUPPORTED_OPTIONS= cairo canna fribidi gdk_pixbuf2 ibus libind m17nlib mlterm-fb otl scim skk uim wnn4 xft2
+PKG_SUPPORTED_OPTIONS= cairo canna fcitx fribidi gdk_pixbuf2 ibus libind m17nlib mlterm-fb otl scim skk uim wnn4 xft2
PKG_SUGGESTED_OPTIONS= cairo fribidi gdk_pixbuf2 m17nlib otl xft2
.if ${OPSYS} == "NetBSD" || ${OPSYS} == "FreeBSD" || ${OPSYS} == "Linux"
PKG_SUGGESTED_OPTIONS+= mlterm-fb
@@ -9,7 +9,7 @@
.include "../../mk/bsd.options.mk"
-PLIST_VARS+= bidi cairo canna fb ibus ind m17nlib otl scim skk uim wnn xft2
+PLIST_VARS+= bidi cairo canna fb fcitx ibus ind m17nlib otl scim skk uim wnn xft2
.if !empty(PKG_OPTIONS:Mmlterm-fb)
CONFIGURE_ARGS+= --with-gui=xlib,fb
@@ -45,6 +45,14 @@
.include "../../graphics/gdk-pixbuf2/buildlink3.mk"
.endif
+.if !empty(PKG_OPTIONS:Mfcitx)
+.include "../../inputmethod/fcitx/buildlink3.mk"
+CONFIGURE_ARGS+= --enable-fcitx
+PLIST.fcitx= yes
+.else
+CONFIGURE_ARGS+= --disable-fcitx
+.endif
+
.if !empty(PKG_OPTIONS:Mibus)
.include "../../inputmethod/ibus/buildlink3.mk"
CONFIGURE_ARGS+= --enable-ibus
Home |
Main Index |
Thread Index |
Old Index