Skip to content

build: override prefix on all system install locations

Carlos Garnacho requested to merge wip/carlosg/meson-system-dirs into master

Following https://www.bassi.io/articles/2018/03/15/pkg-config-and-paths/, this includes dbus service, bash completion, gir and typelib paths.

Unfortunately, the path for systemd user units cannot be overriden, so use a path made from our libdir path.

This allows for trouble free builds by just defining prefix. If installing onto system paths was desirable on some setups, it might return through a -Duse_system_paths boolean build option that disables the overrides, but this is a preferrable default.

Merge request reports