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