Commit 3acf0001 authored by Michael Catanzaro's avatar Michael Catanzaro Committed by Guido Gunther

glade: Don't install glade files outside build prefix

When using pkg-config variables to get installation directory locations,
we must be careful to redefine any pkgconfig variables necessary to
ensure the installation does not occur outside the build prefix. We
could do, e.g.:

module_dir = gladeui_dep.get_pkgconfig_variable(
    define_variable: ['libdir', libdir)])

Except in the particular case of glade, this is not possible because the
pkg-config file uses absolute paths (i.e. the moduledir variable is not
relative to libdir, and not even relative to prefix!) so there's no way
to override it. This means we can't use the pkg-config directories at

If bored, fixing glade might be fun to do. In the meantime, we'll need
to install these manually. This fixes the files being installed under
/usr instead of /app when building a Fedora flatpak.

parent ea0cd152
Pipeline #27385 passed with stages
in 7 minutes and 52 seconds