Fix docker & snap build

This commit is contained in:
Ilya Fedin 2023-12-01 14:29:35 +04:00 committed by John Preston
parent 06564efe0e
commit 85f56217a8
2 changed files with 2 additions and 3 deletions

View file

@ -703,7 +703,7 @@ RUN git clone -b xkbcommon-1.6.0 --depth=1 {{ GIT }}/xkbcommon/libxkbcommon.git
&& cd .. \
&& rm -rf libxkbcommon
FROM patches AS glib
FROM builder AS glib
RUN git clone -b 2.78.1 --depth=1 {{ GIT }}/GNOME/glib.git \
&& cd glib \
&& meson build \
@ -716,7 +716,7 @@ RUN git clone -b 2.78.1 --depth=1 {{ GIT }}/GNOME/glib.git \
&& cd .. \
&& rm -rf glib
FROM builder AS glibmm
FROM patches AS glibmm
COPY --link --from=glib {{ LibrariesPath }}/glib-cache /
RUN git clone -b 2.78.0 --depth=1 {{ GIT }}/GNOME/glibmm.git \

View file

@ -272,7 +272,6 @@ parts:
- --prefix=/usr
- --strip
- -Dtests=false
- -Dintrospection=disabled
prime:
- -./usr/include
- -./usr/lib/$CRAFT_ARCH_TRIPLET/pkgconfig