2018-11-05 18:52:37 +00:00
|
|
|
FROM registry.freedesktop.org/thiblahute/gst-ci/amd64/fedora-runtime
|
2017-10-21 10:45:38 +00:00
|
|
|
# Add rpmfusion repositories and install all build dependencies of GStreamer
|
|
|
|
RUN dnf builddep -y \
|
2018-11-05 19:34:55 +00:00
|
|
|
gstreamer1 \
|
|
|
|
gstreamer1-plugins-base \
|
|
|
|
gstreamer1-plugins-good \
|
|
|
|
gstreamer1-plugins-good-extras \
|
|
|
|
gstreamer1-plugins-ugly \
|
|
|
|
gstreamer1-plugins-ugly-free \
|
|
|
|
gstreamer1-plugins-bad-nonfree \
|
|
|
|
gstreamer1-plugins-bad-free \
|
|
|
|
gstreamer1-plugins-bad-free-extras \
|
|
|
|
gstreamer1-plugins-bad-freeworld \
|
|
|
|
gstreamer1-libav \
|
|
|
|
gstreamer1-rtsp-server \
|
|
|
|
python3-gstreamer1 \
|
2017-10-21 10:45:38 +00:00
|
|
|
&& \
|
|
|
|
rpm -e \
|
2018-11-05 19:34:55 +00:00
|
|
|
gstreamer1-devel \
|
|
|
|
gstreamer1-plugins-base-devel \
|
2017-10-21 10:45:38 +00:00
|
|
|
&& \
|
|
|
|
dnf install -y \
|
2018-11-05 19:34:55 +00:00
|
|
|
ccache \
|
|
|
|
gcc \
|
|
|
|
gcc-c++ \
|
|
|
|
gdb \
|
|
|
|
git \
|
|
|
|
ffmpeg \
|
|
|
|
ffmpeg-libs \
|
|
|
|
ffmpeg-devel \
|
|
|
|
procps-ng \
|
|
|
|
patch \
|
|
|
|
redhat-rpm-config \
|
|
|
|
json-glib \
|
|
|
|
json-glib-devel \
|
|
|
|
libnice \
|
|
|
|
libnice-devel \
|
|
|
|
libunwind \
|
|
|
|
libunwind-devel \
|
|
|
|
opencv \
|
|
|
|
opencv-devel \
|
|
|
|
openjpeg2 \
|
|
|
|
openjpeg2-devel \
|
|
|
|
x264 \
|
|
|
|
x264-libs \
|
|
|
|
x264-devel \
|
|
|
|
pygobject3-devel \
|
|
|
|
python3-gobject \
|
|
|
|
python3-cairo \
|
|
|
|
python3-cairo-devel \
|
|
|
|
xorg-x11-server-utils \
|
|
|
|
xorg-x11-server-Xvfb \
|
|
|
|
ninja-build && \
|
|
|
|
dnf clean all && \
|
|
|
|
pip3 install meson && \
|
|
|
|
export PATH="$PATH:/usr/local/lib/python3.6/site-packages"
|
2017-10-21 10:45:38 +00:00
|
|
|
|
2018-08-07 23:34:38 +00:00
|
|
|
ENV GST_BUILD_PATH="/gst-build/"
|
|
|
|
ENV GST_VALIDATE_OUTPUT="/validate-output"
|
|
|
|
ENV GST_VALIDATE_TESTSUITES="$GST_VALIDATE_OUTPUT/gst-integration-testsuites"
|
|
|
|
# FIXME Enabled gst-libav.
|
|
|
|
ENV GST_BUILD_MESON_ARGS="-Dpython=disabled -Dlibav=disabled -Dugly=enabled -Dbad=enabled -Ddevtools=enabled -Dges=enabled -Drtsp_server=enabled -Domx=disabled -Dvaapi=disabled -Dsharp=disabled"
|
2017-10-21 10:45:38 +00:00
|
|
|
|
|
|
|
# Configure git for various usage
|
2018-08-07 23:34:38 +00:00
|
|
|
RUN git config --global user.email "gst-build@gstreamer.net" && git config --global user.name "Gstbuild Runner"
|
|
|
|
|
|
|
|
# get gst-build and make all subprojects available
|
|
|
|
RUN git clone git://anongit.freedesktop.org/gstreamer/gst-build $GST_BUILD_PATH && \
|
|
|
|
cd $GST_BUILD_PATH && \
|
2018-11-05 19:34:55 +00:00
|
|
|
meson build/ $GST_BUILD_MESON_ARGS && \
|
|
|
|
rm -rf build/
|