Annotation of pkgsrc/inputmethod/ibus-python/Makefile, revision 1.22
1.22 ! adam 1: # $NetBSD: Makefile,v 1.21 2020/10/03 16:43:17 tsutsui Exp $
1.1 obache 2:
1.22 ! adam 3: PKGREVISION= 1
1.1 obache 4: .include "../../inputmethod/ibus/Makefile.common"
5:
6: PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/ibus/ibus-python/}
7:
8: COMMENT= Python library for Intelligent Input Bus
9: LICENSE= gnu-lgpl-v2.1
10:
1.13 adam 11: USE_LANGUAGES= c c++
12: USE_LIBTOOL= yes
1.1 obache 13: USE_PKGLOCALEDIR= yes
1.13 adam 14: USE_TOOLS+= pkg-config intltool msgfmt gmake
15: GNU_CONFIGURE= yes
1.1 obache 16:
1.13 adam 17: DEPENDS+= ibus>=${PKGVERSION_NOREV}:../../inputmethod/ibus
18: DEPENDS+= ${PYPKGPREFIX}-gobject3-[0-9]*:../../devel/py-gobject3
19: DEPENDS+= ${PYPKGPREFIX}-gtk2-[0-9]*:../../x11/py-gtk2
1.1 obache 20:
21: PKGCONFIG_OVERRIDE+= ibus-1.0.pc.in
22:
23: CONFIGURE_ARGS+= --disable-gtk2
24: CONFIGURE_ARGS+= --disable-gtk3
25: CONFIGURE_ARGS+= --disable-xim
26: CONFIGURE_ARGS+= --disable-nls
27: CONFIGURE_ARGS+= --disable-libnotify
28: CONFIGURE_ARGS+= --disable-engine
29: CONFIGURE_ARGS+= --disable-surround-text
1.12 tsutsui 30: CONFIGURE_ARGS+= --disable-emoji-dict
1.14 tsutsui 31: CONFIGURE_ARGS+= --disable-unicode-dict
1.1 obache 32:
33: .include "../../mk/compiler.mk"
34: .if !empty(CC_VERSION:Mgcc-4.1.[0-9]*)
35: BUILDLINK_TRANSFORM+= rm:-Wno-unused-but-set-variable
36: .endif
37:
38: NO_BUILD= yes
39: INSTALL_DIRS= bindings ibus
40:
1.13 adam 41: CONFIGURE_ARGS+= --disable-dconf
42: CONFIGURE_ARGS+= --enable-python-library
43: CONFIGURE_ENV+= PYTHON2=${PYTHONBIN}
1.2 jperkin 44:
1.19 rillig 45: PYTHON_VERSIONS_ACCEPTED= 27 # 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>