496f41d1f8
you're the maintainer - it's unusual to do submit requests for your own packages and not accept them right away OBS-URL: https://build.opensuse.org/request/show/53307 OBS-URL: https://build.opensuse.org/package/show/M17N/ibus?expand=0&rev=10
36 lines
1.2 KiB
Diff
36 lines
1.2 KiB
Diff
Index: ibus-1.3.8/configure.ac
|
|
===================================================================
|
|
--- ibus-1.3.8.orig/configure.ac
|
|
+++ ibus-1.3.8/configure.ac
|
|
@@ -169,7 +169,20 @@ else
|
|
fi
|
|
|
|
# GObject introspection
|
|
-GOBJECT_INTROSPECTION_CHECK([0.6.8])
|
|
+
|
|
+AC_ARG_ENABLE(gobject-introspection,
|
|
+ AS_HELP_STRING([--disable-gobject-introspection],
|
|
+ [Do not use gobject-introspection code]),
|
|
+ [enable_gobject_introspection=$enableval],
|
|
+ [enable_gobject_introspection=yes]
|
|
+)
|
|
+AM_CONDITIONAL([HAVE_INTROSPECTION], [test "x$enable_gobject_introspection" = "xyes"])
|
|
+
|
|
+if test x"$enable_gobject_introspection" = x"yes"; then
|
|
+ GOBJECT_INTROSPECTION_CHECK([0.6.8])
|
|
+else
|
|
+ AM_CONDITIONAL([HAVE_INTROSPECTION], [false])
|
|
+fi
|
|
|
|
IBUS_GIR_SCANNERFLAGS=
|
|
if test x"$found_introspection" = x"yes" ; then
|
|
@@ -397,7 +410,7 @@ Build options:
|
|
Build python modules $enable_python
|
|
Build gconf modules $enable_gconf
|
|
Build memconf modules $enable_memconf
|
|
- Build introspection $found_introspection
|
|
+ Build introspection $enable_gobject_introspection
|
|
IBus-1.0.gir scannerflags "$IBUS_GIR_SCANNERFLAGS"
|
|
Build vala binding $enable_vala
|
|
Build document $enable_gtk_doc
|