[pulseaudio-commits] [Git][pulseaudio/pulseaudio][master] dockerfile: Install Meson from upstream tarball
Arun Raghavan
gitlab at gitlab.freedesktop.org
Mon Dec 17 04:16:50 UTC 2018
Arun Raghavan pushed to branch master at PulseAudio / pulseaudio
Commits:
1b7fab22 by Arnaud Rebillout at 2018-12-17T04:06:31Z
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 at collabora.com>
- - - - -
1 changed file:
- scripts/Dockerfile
Changes:
=====================================
scripts/Dockerfile
=====================================
@@ -42,10 +42,17 @@ RUN apt-get update && apt-get install -y \
libxml2-utils \
libxtst-dev \
make \
- meson \
ninja-build \
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
# allows us to avoid having to explicitly allow running as root in the
# check-daemon stage.
View it on GitLab: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/commit/1b7fab22a419ad284a28e84083ba29cae2fb4b2f
--
View it on GitLab: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/commit/1b7fab22a419ad284a28e84083ba29cae2fb4b2f
You're receiving this email because of your account on gitlab.freedesktop.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/pulseaudio-commits/attachments/20181217/fcbb5c24/attachment.html>
More information about the pulseaudio-commits
mailing list