Build linux backend on s390

This was disabled due to the lack of libusb1 in 2010. However, that is
not a dependency anymore, and while imobiledevice is missing the
configuration will be picked up automatically.
This commit is contained in:
Benjamin Berg 2022-06-09 16:02:36 +02:00
parent 0d63374acd
commit 22139bfa24

View File

@ -13,8 +13,10 @@ BuildRequires: sqlite-devel
BuildRequires: git
BuildRequires: gettext
BuildRequires: libgudev1-devel
%define idevice disabled
%ifnarch s390 s390x
%if ! 0%{?rhel}
%define idevice enabled
BuildRequires: libimobiledevice-devel
%endif
%endif
@ -55,12 +57,10 @@ Developer documentation for for libupower-glib.
%build
%meson \
-Didevice=%{idevice} \
-Dman=true \
-Dgtk-doc=true \
-Dintrospection=enabled \
%ifarch s390 s390x
-Dos_backend=dummy
%endif
-Dintrospection=enabled
%meson_build