Created
October 7, 2020 14:09
-
-
Save creeefs/21c783ed7a57a5d77c03c13424707efd to your computer and use it in GitHub Desktop.
Gstreamer wpesrc Dockerfile
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM ubuntu:20.04 | |
| ENV DEBIAN_FRONTEND=noninteractive | |
| RUN apt-get update && apt-get install -y \ | |
| bison \ | |
| flex \ | |
| git \ | |
| libmount-dev \ | |
| pkg-config \ | |
| python3 \ | |
| python3-pip \ | |
| ninja-build | |
| # Install OpenGL | |
| RUN apt-get install -y \ | |
| libglvnd-dev \ | |
| libgl1-mesa-dev \ | |
| libegl1-mesa-dev \ | |
| libgles2-mesa-dev | |
| # Install Wayland | |
| RUN apt-get install -y \ | |
| libwayland-dev \ | |
| wayland-protocols \ | |
| libffi-dev | |
| # Install WPE | |
| RUN apt-get install -y snap && snap install wpe-webkit-libs | |
| RUN pip3 install meson | |
| WORKDIR /opt/gstreamer | |
| RUN git clone -b 1.18 https://github.com/GStreamer/gst-build.git | |
| WORKDIR /opt/gstreamer/gst-build | |
| RUN meson -Dgst-plugins-base:gl=enabled -Dgst-plugins-bad:wpe=enabled build | |
| RUN ninja -C build | |
| RUN meson install -C build | |
| RUN ldconfig |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Did you actually get this to run?
Build dies at "RUN apt-get install -y snap && snap install wpe-webkit-libs" as snap does not appear to be snapd and even once snapd is installed it cannot use the snapd socket "/run/snapd.socket" to install with?