[packages/SDL2] add ibus bcond

atler atler at pld-linux.org
Sat May 21 11:01:39 CEST 2022


commit d37ef9b7e15867d4b03ab9805bd0b0ed01289c73
Author: Jan Palus <jpalus at fastmail.com>
Date:   Sat May 21 11:00:58 2022 +0200

    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} \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/SDL2.git/commitdiff/d37ef9b7e15867d4b03ab9805bd0b0ed01289c73



More information about the pld-cvs-commit mailing list