[ibus/f15] Added --enable-bridge-hotkey for rawhide
Takao Fujiwara
fujiwara at fedoraproject.org
Wed Jul 20 10:38:37 UTC 2011
commit 2ff6178f738efb7ec3f008b9249a7dbadf460404
Author: Takao Fujiwara <tfujiwar at redhat.com>
Date: Wed Jul 20 19:37:35 2011 +0900
Added --enable-bridge-hotkey for rawhide
ibus.spec | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
---
diff --git a/ibus.spec b/ibus.spec
index b3beb20..af1529d 100644
--- a/ibus.spec
+++ b/ibus.spec
@@ -4,6 +4,13 @@
%define have_libxkbfile 1
%define have_gjsfile 1
+
+%if 0%{?fedora} > 15
+%define have_bridge_hotkey 1
+%else
+%define have_bridge_hotkey 0
+%endif
+
%define ibus_api_version 1.0
%define glib_ver %([ -a %{_libdir}/pkgconfig/glib-2.0.pc ] && pkg-config --modversion glib-2.0 | cut -d. -f 1,2 || echo -n "999")
@@ -197,6 +204,9 @@ automake -a -c -f
--disable-gtk-doc \
--with-no-snooper-apps='gnome-do,Do.*,firefox.*,.*chrome.*,.*chromium.*' \
--enable-surrounding-text \
+%if %have_bridge_hotkey
+ --enable-bridge-hotkey \
+%endif
--enable-introspection
# make -C po update-gmo
More information about the scm-commits
mailing list