1
0
Fork 0
mutter-performance-source/.gitlab-ci
Florian Müllner 0b3e85bf40 ci: Add pkgconf wrapper in install-common-dependencies
The script is used to install dependencies that are needed both
for the CI image and the gnome os system extension.

To avoid installing dependencies in an environment where they are
already satisfied, they should be guarded by an appropriate check,
most commonly pkgconf.

Right now these checks are straight-forward:
 - if a dependency is not in the base image, it will
   be built when building the CI image
 - if a dependency is not in GNOME OS, it will be
   built when building the GNOME OS system extension

However we will soon add another caller of the script, when
allowing to export a system extension from our development
toolboxes to the host.

That case is trickier, as the dependency *is* satisfied by
the build environment (because it is based on the CI image),
but it will still be needed by the exported system extension.

To account for that case, add a pkgconf wrapper that only searches
in PKG_CONFIG_DIRS in the specified destdirs.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/4075>
2024-10-15 14:06:24 +00:00
..
checkout-gnome-shell.sh ci: Look for matching ref in user remote for branch pipeline 2023-08-08 04:11:13 +02:00
commit-rules.yml ci: Restrict use of "Fixes #123" 2024-09-11 00:44:52 +02:00
download-coverity-tarball.sh tests: Use a more interoperable path to bash 2023-03-22 15:16:06 +00:00
export-artifact-path ci: Use meson introspect to generate artifact path 2024-05-24 20:55:23 +00:00
install-common-dependencies.sh ci: Add pkgconf wrapper in install-common-dependencies 2024-10-15 14:06:24 +00:00
install-gnomeos-sysext-dependencies.sh ci: Make --destdir option in install-meson-project cumulative 2024-10-15 14:06:24 +00:00
install-meson-project.sh ci: Make --destdir option in install-meson-project cumulative 2024-10-15 14:06:24 +00:00
simple-junit-report.sh ci: Check repo sanity 2024-04-02 11:16:31 +02:00