forked from gtk-rs/gtk4-rs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
21 lines (18 loc) · 737 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
FROM fedora:latest
RUN dnf update -y
RUN dnf install git xorg-x11-server-Xvfb procps-ng wget libjpeg-turbo-devel expat-devel 'dnf-command(builddep)' -y
RUN dnf builddep gtk4 -y
# build gtk4
RUN git clone https://gitlab.gnome.org/gnome/gtk.git --depth=1
WORKDIR gtk
RUN meson setup builddir --prefix=/usr -Dgtk_doc=false -Dintrospection=disabled -Dbuild-examples=false -Dbuild-tests=false -Ddemos=false
RUN meson install -C builddir
WORKDIR /
RUN rm -rf gtk
# build libadwaita
RUN git clone https://gitlab.gnome.org/GNOME/libadwaita.git -b 1.1.1
WORKDIR libadwaita
RUN meson setup builddir --prefix=/usr -Dintrospection=disabled -Dvapi=false -Dexamples=false -Dtests=false
RUN meson install -C builddir
WORKDIR /
RUN rm -rf libadwaita