mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-31 22:25:33 -04:00
dockerfile: Install Meson from upstream tarball
This is because the meson build requires meson 0.47, which is not available in the current Ubuntu LTS (18.04). Signed-off-by: Arnaud Rebillout <arnaud.rebillout@collabora.com>
This commit is contained in:
parent
40e72e02eb
commit
1b7fab22a4
1 changed files with 8 additions and 1 deletions
|
|
@ -42,10 +42,17 @@ RUN apt-get update && apt-get install -y \
|
||||||
libxml2-utils \
|
libxml2-utils \
|
||||||
libxtst-dev \
|
libxtst-dev \
|
||||||
make \
|
make \
|
||||||
meson \
|
|
||||||
ninja-build \
|
ninja-build \
|
||||||
systemd
|
systemd
|
||||||
|
|
||||||
|
# Install meson from upstream tarball
|
||||||
|
ARG MESON_VERSION=0.47.0
|
||||||
|
RUN apt-get install -y wget && \
|
||||||
|
wget -q https://github.com/mesonbuild/meson/releases/download/${MESON_VERSION}/meson-${MESON_VERSION}.tar.gz && \
|
||||||
|
tar -xf meson-${MESON_VERSION}.tar.gz && \
|
||||||
|
cd meson-${MESON_VERSION} && \
|
||||||
|
python3 setup.py install
|
||||||
|
|
||||||
# Add a user and set as default for the build. This is safer, in general, and
|
# Add a user and set as default for the build. This is safer, in general, and
|
||||||
# allows us to avoid having to explicitly allow running as root in the
|
# allows us to avoid having to explicitly allow running as root in the
|
||||||
# check-daemon stage.
|
# check-daemon stage.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue