When cross-compiling, this requires a version of gobject-introspection
that is currently only available in experimental. When not
cross-compiling, the version in testing is sufficient.
docbook-xsl <!nodoc>,
libext2fs-dev,
elfutils,
- fuse3,
- gjs [!alpha !hppa !ia64 !m68k !sh4 !sparc64 !x32],
+ fuse3:native,
+ gir1.2-gio-2.0-dev,
+ gjs:native [!alpha !hppa !ia64 !m68k !sh4 !sparc64 !x32],
gnupg <!nocheck>,
gobject-introspection,
+ gobject-introspection (>= 1.78.1-7~) <cross>,
gtk-doc-tools <!nodoc>,
libarchive-dev,
libattr1-dev,
libcap-dev,
libcurl4-gnutls-dev | libcurl-dev,
libfuse3-dev,
- libgirepository1.0-dev,
libglib2.0-dev,
libgpgme-dev,
liblzma-dev,
override_dh_auto_configure:
dh_auto_configure -- $(configure_options)
+override_dh_auto_build:
+ # The upstream build system overrides this to gcc as a way to avoid
+ # passing unsupported options to clang, but that's wrong for
+ # cross-builds
+ dh_auto_build -- INTROSPECTION_SCANNER_ENV="CC=$(DEB_HOST_GNU_TYPE)-gcc"
+
override_dh_auto_test-arch:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
chmod +x tests/test-pull-bareuseronly.sh