mirror of
https://gitlab.gnome.org/jwestman/blueprint-compiler.git
synced 2025-05-04 15:59:08 -04:00
ci: Use libadwaita from git
This commit is contained in:
parent
fc0358ef01
commit
aafebf0dfb
2 changed files with 34 additions and 3 deletions
|
@ -1,8 +1,13 @@
|
||||||
FROM fedora:latest
|
FROM fedora:latest
|
||||||
|
|
||||||
RUN dnf install -y meson python3-pip gtk4-devel gobject-introspection-devel \
|
RUN dnf install -y meson gcc g++ python3-pip gobject-introspection-devel \
|
||||||
libadwaita-devel python3-devel python3-gobject git diffutils xorg-x11-server-Xvfb
|
python3-devel python3-gobject git diffutils xorg-x11-server-Xvfb \
|
||||||
|
appstream-devel "dnf-command(builddep)"
|
||||||
|
RUN dnf build-dep -y gtk4 libadwaita
|
||||||
RUN pip3 install furo mypy sphinx coverage black
|
RUN pip3 install furo mypy sphinx coverage black
|
||||||
|
|
||||||
|
COPY install_deps.sh .
|
||||||
|
RUN ./install_deps.sh
|
||||||
|
|
||||||
# The version on PyPI is very old and doesn't install. Use the upstream package registry instead.
|
# The version on PyPI is very old and doesn't install. Use the upstream package registry instead.
|
||||||
RUN pip install pythonfuzz --extra-index-url https://gitlab.com/api/v4/projects/19904939/packages/pypi/simple
|
RUN pip install pythonfuzz --extra-index-url https://gitlab.com/api/v4/projects/19904939/packages/pypi/simple
|
26
build-aux/install_deps.sh
Executable file
26
build-aux/install_deps.sh
Executable file
|
@ -0,0 +1,26 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
echo "===== Install GTK ====="
|
||||||
|
git clone --depth=1 https://gitlab.gnome.org/GNOME/gtk.git
|
||||||
|
cd gtk
|
||||||
|
meson setup builddir \
|
||||||
|
--prefix=/usr \
|
||||||
|
-Dgtk_doc=true \
|
||||||
|
-Ddemos=false \
|
||||||
|
-Dbuild-examples=false \
|
||||||
|
-Dbuild-tests=false \
|
||||||
|
-Dbuild-testsuite=false
|
||||||
|
ninja -C builddir install
|
||||||
|
cd -
|
||||||
|
rm -rf gtk
|
||||||
|
|
||||||
|
echo "===== Install libadwaita ====="
|
||||||
|
git clone --depth=1 https://gitlab.gnome.org/GNOME/libadwaita.git
|
||||||
|
cd libadwaita
|
||||||
|
meson builddir \
|
||||||
|
--prefix=/usr
|
||||||
|
ninja -C builddir install
|
||||||
|
cd -
|
||||||
|
rm -rf libadwaita
|
Loading…
Add table
Add a link
Reference in a new issue