Annotation of pkgsrc/inputmethod/ibus-python/Makefile, revision 1.15
1.15 ! adam 1: # $NetBSD: Makefile,v 1.14 2018/04/28 01:40:07 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+= --disable-gconf
42: CONFIGURE_ARGS+= --enable-python-library
43: CONFIGURE_ENV+= PYTHON2=${PYTHONBIN}
1.2 jperkin 44:
1.15 ! adam 45: PYTHON_VERSIONS_INCOMPATIBLE= 34 35 36 37 # py-gtk2
1.2 jperkin 46:
1.1 obache 47: PY_PATCHPLIST= yes
48: .include "../../lang/python/extension.mk"
49: BUILDLINK_API_DEPENDS.py-dbus+= ${PYPKGPREFIX}-dbus>=0.83.0
50: .include "../../sysutils/py-dbus/buildlink3.mk"
51: .include "../../textproc/iso-codes/buildlink3.mk"
1.9 ryoon 52: .include "../../x11/libX11/buildlink3.mk"
1.1 obache 53: .include "../../mk/bsd.pkg.mk"
CVSweb <webmaster@jp.NetBSD.org>