Annotation of pkgsrc/inputmethod/ibus-python/Makefile, revision 1.17
1.17 ! maya 1: # $NetBSD: Makefile,v 1.16 2019/03/02 02:16:32 tsutsui Exp $
1.1 obache 2:
3: .include "../../inputmethod/ibus/Makefile.common"
4:
5: PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/ibus/ibus-python/}
6:
7: COMMENT= Python library for Intelligent Input Bus
8: LICENSE= gnu-lgpl-v2.1
9:
1.13 adam 10: USE_LANGUAGES= c c++
11: USE_LIBTOOL= yes
1.1 obache 12: USE_PKGLOCALEDIR= yes
1.13 adam 13: USE_TOOLS+= pkg-config intltool msgfmt gmake
14: GNU_CONFIGURE= yes
1.1 obache 15:
1.13 adam 16: DEPENDS+= ibus>=${PKGVERSION_NOREV}:../../inputmethod/ibus
17: DEPENDS+= ${PYPKGPREFIX}-gobject3-[0-9]*:../../devel/py-gobject3
18: DEPENDS+= ${PYPKGPREFIX}-gtk2-[0-9]*:../../x11/py-gtk2
1.1 obache 19:
20: PKGCONFIG_OVERRIDE+= ibus-1.0.pc.in
21:
22: CONFIGURE_ARGS+= --disable-gtk2
23: CONFIGURE_ARGS+= --disable-gtk3
24: CONFIGURE_ARGS+= --disable-xim
25: CONFIGURE_ARGS+= --disable-nls
26: CONFIGURE_ARGS+= --disable-libnotify
27: CONFIGURE_ARGS+= --disable-engine
28: CONFIGURE_ARGS+= --disable-surround-text
1.12 tsutsui 29: CONFIGURE_ARGS+= --disable-emoji-dict
1.14 tsutsui 30: CONFIGURE_ARGS+= --disable-unicode-dict
1.1 obache 31:
32: .include "../../mk/compiler.mk"
33: .if !empty(CC_VERSION:Mgcc-4.1.[0-9]*)
34: BUILDLINK_TRANSFORM+= rm:-Wno-unused-but-set-variable
35: .endif
36:
37: NO_BUILD= yes
38: INSTALL_DIRS= bindings ibus
39:
1.13 adam 40: CONFIGURE_ARGS+= --disable-dconf
41: CONFIGURE_ARGS+= --enable-python-library
42: CONFIGURE_ENV+= PYTHON2=${PYTHONBIN}
1.2 jperkin 43:
1.17 ! maya 44: PYTHON_VERSIONS_INCOMPATIBLE= 36 37 # py-gtk2
1.2 jperkin 45:
1.1 obache 46: PY_PATCHPLIST= yes
47: .include "../../lang/python/extension.mk"
48: BUILDLINK_API_DEPENDS.py-dbus+= ${PYPKGPREFIX}-dbus>=0.83.0
49: .include "../../sysutils/py-dbus/buildlink3.mk"
50: .include "../../textproc/iso-codes/buildlink3.mk"
1.9 ryoon 51: .include "../../x11/libX11/buildlink3.mk"
1.1 obache 52: .include "../../mk/bsd.pkg.mk"
CVSweb <webmaster@jp.NetBSD.org>