Skip to content

Commit

Permalink
ci: add libpeas-2 to the Dockerfile
Browse files Browse the repository at this point in the history
libpeas-2 is not available in `fedora:39`, and fussing with a subproject
is not really worth the trouble at this point.

Add build and install the dependency in the CI, so test can be run
until its available or someone reports it as a necessity.
  • Loading branch information
andyholmes committed Sep 20, 2023
1 parent ff20e8d commit 33ccc62
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions build-aux/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,20 @@ RUN dnf install -y --enablerepo=fedora-debuginfo,updates-debuginfo \
sqlite-devel sqlite-debuginfo && \
dnf clean all && rm -rf /var/cache/dnf

# Build libpeas-2, until it's available in Fedora
RUN git clone https://gitlab.gnome.org/GNOME/libpeas.git \
--branch main \
--single-branch && \
cd libpeas && \
meson setup --prefix=/usr \
-Dgjs=false \
-Dlua51=false \
-Dpython3=false \
-Dintrospection=true \
-Dvapi=true \
_build && \
meson install -C _build

# Build libwalbottle from source, since it's not available in most repositories
RUN git clone https://gitlab.com/walbottle/walbottle.git \
--branch main \
Expand Down

0 comments on commit 33ccc62

Please sign in to comment.