]> git.pld-linux.org Git - packages/at-spi2-core.git/commitdiff
- allow building on systems without systemd master
authorMarcin Krol <hawk@tld-linux.org>
Tue, 2 Apr 2024 16:46:24 +0000 (18:46 +0200)
committerMarcin Krol <hawk@tld-linux.org>
Tue, 2 Apr 2024 16:46:24 +0000 (18:46 +0200)
at-spi2-core.spec

index fba5c19d9752b6e893ac3a14482fb81acd0e8c69..9fc664c1f0ca97ec89594674e59437d9d8cb31f4 100644 (file)
@@ -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
 
This page took 0.222662 seconds and 4 git commands to generate.