Source: xdg-desktop-portal
Version: 1.7.2-2
Tags: patch upstream
User: [email protected]
Usertags: ftcbfs
xdg-desktop-portal fails to cross build from source, because
configure.ac hard codes the build architecture pkg-config in one
occasion. The relevant occasion is indeed entirely unnecessary as the
version check can be fused in an earlier access of the relevant package
with the right pkg-config. Doing so makes xdg-desktop-portal cross
buildable. Please consider applying the attached patch.
Helmut
--- xdg-desktop-portal-1.8.1.orig/configure.ac
+++ xdg-desktop-portal-1.8.1/configure.ac
@@ -50,10 +50,7 @@
AC_ARG_WITH(flatpak_interfaces_dir,
AS_HELP_STRING([--with-flatpak-interfaces-dir=PATH],[choose directory for Flatpak interface files, [default=PREFIX/share/dbus-1/interfaces]]),
[[FLATPAK_INTERFACES_DIR="$withval"]],
- [PKG_CHECK_VAR([FLATPAK_INTERFACES_DIR], [flatpak], [interfaces_dir])])
-if ! pkg-config --atleast-version "1.5.0" flatpak; then
- FLATPAK_INTERFACES_DIR=""
-fi
+ [PKG_CHECK_VAR([FLATPAK_INTERFACES_DIR], [flatpak >= 1.5.0], [interfaces_dir])])
AC_SUBST(FLATPAK_INTERFACES_DIR)
AC_ARG_WITH([systemduserunitdir],
_______________________________________________
Pkg-utopia-maintainers mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-utopia-maintainers