[packages/at-spi2-core] - allow building on systems without systemd

hawk hawk at pld-linux.org
Tue Apr 2 19:10:30 CEST 2024


commit 2d754e37cce830b4eb1feb8e2f2c224d776c581a
Author: Marcin Krol <hawk at tld-linux.org>
Date:   Tue Apr 2 18:46:24 2024 +0200

    - allow building on systems without systemd

 at-spi2-core.spec | 6 ++++++
 1 file changed, 6 insertions(+)
---
diff --git a/at-spi2-core.spec b/at-spi2-core.spec
index fba5c19..9fc664c 100644
--- a/at-spi2-core.spec
+++ b/at-spi2-core.spec
@@ -2,6 +2,7 @@
 # Conditional build:
 %bcond_without	apidocs		# API documentation
 %bcond_without	static_libs	# static library
+%bcond_without	systemd		# systemd
 
 Summary:	Protocol definitions and daemon for D-Bus at-spi
 Summary(pl-UTF-8):	Definicje protokołu oraz demon at-spi dla usługi D-Bus
@@ -256,8 +257,13 @@ Dokumentacja API ATK.
 %meson build \
 	%{!?with_static_libs:--default-library='shared'} \
 	-Ddbus_daemon=/usr/bin/dbus-daemon \
+%if %{with systemd}
 	-Ddbus_broker=/usr/bin/dbus-broker-launch \
 	-Ddefault_bus=dbus-broker \
+%else
+	-Ddefault_bus=dbus-daemon \
+	-Duse_systemd=false \
+%endif
 	%{?with_apidocs:-Ddocs=true} \
 	-Dx11=enabled
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/at-spi2-core.git/commitdiff/2d754e37cce830b4eb1feb8e2f2c224d776c581a



More information about the pld-cvs-commit mailing list