Annotation of pkgsrc/inputmethod/ibus-python/Makefile, revision 1.7
1.7 ! rodent 1: # $NetBSD: Makefile,v 1.6 2014/07/12 12:24:29 obache 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:
10: GNU_CONFIGURE= yes
11: USE_LIBTOOL= yes
12: USE_TOOLS+= pkg-config intltool msgfmt gmake
13: USE_LANGUAGES= c c++
14: USE_PKGLOCALEDIR= yes
15:
16: DEPENDS+= ibus>=${PKGVERSION_NOREV}:../../inputmethod/ibus
17: DEPENDS+= ${PYPKGPREFIX}-gtk2-[0-9]*:../../x11/py-gtk2
18:
19: PKGCONFIG_OVERRIDE+= ibus-1.0.pc.in
20:
21: CONFIGURE_ARGS+= --disable-gtk2
22: CONFIGURE_ARGS+= --disable-gtk3
23: CONFIGURE_ARGS+= --disable-xim
24: CONFIGURE_ARGS+= --disable-nls
25: CONFIGURE_ARGS+= --disable-libnotify
26: CONFIGURE_ARGS+= --disable-engine
27: CONFIGURE_ARGS+= --disable-surround-text
28:
29: .include "../../mk/compiler.mk"
30: .if !empty(CC_VERSION:Mgcc-4.1.[0-9]*)
31: BUILDLINK_TRANSFORM+= rm:-Wno-unused-but-set-variable
32: .endif
33:
34: NO_BUILD= yes
35: INSTALL_DIRS= bindings ibus
36:
37: CONFIGURE_ARGS+= --disable-dconf
38: CONFIGURE_ARGS+= --disable-gconf
39: CONFIGURE_ARGS+= --enable-python-library
1.5 obache 40: CONFIGURE_ENV+= PYTHON2=${PYTHONBIN}
1.2 jperkin 41:
1.7 ! rodent 42: PYTHON_VERSIONS_INCOMPATIBLE= 33 34 # py-gtk2, py-gobject3
1.2 jperkin 43:
1.1 obache 44: .include "../../devel/py-gobject3/buildlink3.mk"
45: PY_PATCHPLIST= yes
46: .include "../../lang/python/extension.mk"
47: BUILDLINK_API_DEPENDS.py-dbus+= ${PYPKGPREFIX}-dbus>=0.83.0
48: .include "../../sysutils/py-dbus/buildlink3.mk"
49: .include "../../textproc/iso-codes/buildlink3.mk"
50: .include "../../mk/bsd.pkg.mk"
CVSweb <webmaster@jp.NetBSD.org>