Annotation of pkgsrc/inputmethod/ibus-python/Makefile, revision 1.13
1.13 ! adam 1: # $NetBSD: Makefile,v 1.12 2017/11/05 04:19:15 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.1 obache 30:
31: .include "../../mk/compiler.mk"
32: .if !empty(CC_VERSION:Mgcc-4.1.[0-9]*)
33: BUILDLINK_TRANSFORM+= rm:-Wno-unused-but-set-variable
34: .endif
35:
36: NO_BUILD= yes
37: INSTALL_DIRS= bindings ibus
38:
1.13 ! adam 39: CONFIGURE_ARGS+= --disable-dconf
! 40: CONFIGURE_ARGS+= --disable-gconf
! 41: CONFIGURE_ARGS+= --enable-python-library
! 42: CONFIGURE_ENV+= PYTHON2=${PYTHONBIN}
1.2 jperkin 43:
1.13 ! adam 44: PYTHON_VERSIONS_INCOMPATIBLE= 34 35 36 # 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>