Change-Id: I74be6c48e1dd6a5120a506109a7b6849793d20ae
configuration: libexec_conf,
install_dir: systemd_user_dir)
-if x11_dep.found()
- # Note: It is safe to always install it. However, we only need this on
- # systemd enabled machines where Xwayland may be started on-demand.
- install_data('00-at-spi',
- install_dir: xwayland_session_dir)
-endif
-
launcher_args = [
'-DSYSCONFDIR="@0@"'.format(atspi_sysconfdir),
'-DDATADIR="@0@"'.format(atspi_datadir),
cp %{SOURCE1001} .
%build
-meson --prefix /usr --libdir %{_libdir} build -Dwith-dbus-daemondir=%{_bindir} -Ddbus_daemon=/usr/bin/dbus-daemon \
-%if !%{with x}
- -Denable-x11=no \
-%else
- -Denable-x11=yes \
-%endif
- -Denable-static=no
+meson setup \
+ --prefix=/usr \
+ --libdir=%{_libdir} \
+ --default-library=shared \
+ -Ddbus_daemon=/usr/bin/dbus-daemon \
+ -Dx11=no \
+ build
-ninja -C build all
+meson compile -C build
%install
find %{buildroot} -name '*.la' -or -name '*.a' | xargs rm -f
export DESTDIR=%{buildroot}
-ninja -C build install
+meson install -C build
%find_lang %{name}