From d37ef9b7e15867d4b03ab9805bd0b0ed01289c73 Mon Sep 17 00:00:00 2001 From: Jan Palus Date: Sat, 21 May 2022 11:00:58 +0200 Subject: [PATCH] add ibus bcond --- SDL2.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/SDL2.spec b/SDL2.spec index 28f282c..c626962 100644 --- a/SDL2.spec +++ b/SDL2.spec @@ -12,6 +12,7 @@ %bcond_without vulkan # Vulkan graphics support %bcond_without wayland # Wayland graphics support %bcond_without fcitx # Fcitx IM support +%bcond_without ibus # IBus IM support %bcond_without static_libs # don't build static libraries %bcond_with mmx # MMX instructions %bcond_with sse # SSE instructions @@ -86,7 +87,7 @@ BuildRequires: dbus-devel %{?with_fcitx:BuildRequires: fcitx-devel} BuildRequires: gcc >= 5:4.0 BuildRequires: hidapi-devel -BuildRequires: ibus-devel >= 1.0 +%{?with_ibus:BuildRequires: ibus-devel >= 1.0} %{?with_jack:BuildRequires: jack-audio-connection-kit-devel >= 0.125} %{?with_kms:BuildRequires: libdrm-devel >= 1.4.82} BuildRequires: libsamplerate-devel @@ -227,6 +228,7 @@ SDL - przykładowe programy. %{!?with_arts:--disable-arts} \ %{!?with_esd:--disable-esd} \ %{!?with_fcitx:--disable-fcitx} \ + %{!?with_ibus:--disable-ibus} \ %{!?with_jack:--disable-jack} \ %{!?with_mmx:--disable-mmx} \ %{!?with_nas:--disable-nas} \ -- 2.44.0