Skip to content

Instantly share code, notes, and snippets.

@creeefs
Created October 8, 2020 22:01
Show Gist options
  • Select an option

  • Save creeefs/32c6767a7e0ad12dc31d46c878dd3783 to your computer and use it in GitHub Desktop.

Select an option

Save creeefs/32c6767a7e0ad12dc31d46c878dd3783 to your computer and use it in GitHub Desktop.
FROM ubuntu:20.04
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y \
bison \
build-essential \
flex \
git \
libmount-dev \
pkg-config \
python3 \
python3-pip \
ninja-build \
gobjc++-mingw-w64
# Install OpenGL
RUN apt-get update && apt-get install -y \
libglvnd-dev \
libgl1-mesa-dev \
libegl1-mesa-dev \
libgles2-mesa-dev
# Install Wayland
RUN apt-get update && apt-get install -y \
libwayland-dev \
wayland-protocols \
libffi-dev
# libwpebackend-fdo-1.0-1
# libwpebackend-fdo-1.0-dev
# Install WPE
RUN apt-get update && apt-get install -y \
libwpe-1.0-1 \
libwpe-1.0-dev \
libwpewebkit-1.0-3 \
libwpewebkit-1.0-dev
RUN pip3 install meson
WORKDIR /opt/gstreamer
RUN git clone https://github.com/GStreamer/gst-build.git
WORKDIR /opt/gstreamer/gst-build
RUN sed -i 's/https:\/\/gitlab.freedesktop.org\/gstreamer\/gst-plugins-bad.git/https:\/\/gitlab.freedesktop.org\/philn\/gst-plugins-bad.git/g' subprojects/gst-plugins-bad.wrap
RUN sed -i 's/master/wrap-wpebackend-fdo/g' subprojects/gst-plugins-bad.wrap
RUN cat subprojects/gst-plugins-bad.wrap
RUN meson -Dgst-plugins-base:gl=enabled -Dgst-plugins-bad:wpe=enabled build
RUN ninja -C build
RUN meson install -C build
RUN ldconfig
@pincesco79
Copy link

Hi!, During ninja building occurred this error. It seems that webrtc-enumtypes.h is missing. Can you please help me to solve it?
ninja: error: 'subprojects/gst-plugins-bad/gst-libs/gst/webrtc/webrtc-enumtypes.h', needed by 'subprojects/gst-examples/webrtc/multiparty-sendrecv/gst/mp-webrtc-sendrecv.p/mp-webrtc-sendrecv.c.o', missing and no known rule to make it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment