mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 23:06:49 +00:00
032c8cc01e
featuring: - flite - elfuitls - gsl - couple of mesa packages - sdl2 - graphene - aom - neon - sbc
119 lines
No EOL
2.8 KiB
Bash
119 lines
No EOL
2.8 KiB
Bash
set -eu
|
|
|
|
dnf install -y git ninja-build dnf-plugins-core
|
|
|
|
# Configure git for various usage
|
|
git config --global user.email "gst-build@gstreamer.net"
|
|
git config --global user.name "Gstbuild Runner"
|
|
|
|
# Add rpm fusion repositories in order to access all of the gst plugins
|
|
dnf install -y "http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-29.noarch.rpm" \
|
|
"http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-29.noarch.rpm"
|
|
|
|
rpm --import "/etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-nonfree-fedora-29"
|
|
rpm --import "/etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-fedora-29"
|
|
dnf upgrade -y
|
|
|
|
# Enable the cisco openh264 repo
|
|
dnf config-manager --set-enabled fedora-cisco-openh264
|
|
|
|
# install rest of the extra deps
|
|
dnf install -y \
|
|
aom \
|
|
aom-extra-tools \
|
|
libaom \
|
|
libaom-devel \
|
|
ccache \
|
|
cmake \
|
|
elfutils \
|
|
elfutils-libs \
|
|
elfutils-devel \
|
|
gcc \
|
|
gcc-c++ \
|
|
gdb \
|
|
gtk3 \
|
|
gtk3-devel \
|
|
graphene \
|
|
graphene-devel \
|
|
gsl \
|
|
gsl-devel \
|
|
ffmpeg \
|
|
ffmpeg-libs \
|
|
ffmpeg-devel \
|
|
flite \
|
|
flite-devel \
|
|
procps-ng \
|
|
patch \
|
|
redhat-rpm-config \
|
|
json-glib \
|
|
json-glib-devel \
|
|
libnice \
|
|
libnice-devel \
|
|
libunwind \
|
|
libunwind-devel \
|
|
neon \
|
|
neon-devel \
|
|
opencv \
|
|
opencv-devel \
|
|
openjpeg2 \
|
|
openjpeg2-devel \
|
|
openh264 \
|
|
openh264-devel \
|
|
SDL2 \
|
|
SDL2-devel \
|
|
sbc \
|
|
sbc-devel \
|
|
x264 \
|
|
x264-libs \
|
|
x264-devel \
|
|
python3-gobject \
|
|
python3-cairo \
|
|
python3-cairo-devel \
|
|
vulkan \
|
|
vulkan-devel \
|
|
mesa-omx-drivers \
|
|
mesa-libGL \
|
|
mesa-libGL-devel \
|
|
mesa-libGLU \
|
|
mesa-libGLU-devel \
|
|
mesa-libGLES \
|
|
mesa-libGLES-devel \
|
|
mesa-libOpenCL \
|
|
mesa-libOpenCL-devel \
|
|
mesa-libgbm \
|
|
mesa-libgbm-devel \
|
|
mesa-libd3d \
|
|
mesa-libd3d-devel \
|
|
mesa-libOSMesa \
|
|
mesa-libOSMesa-devel \
|
|
mesa-vulkan-drivers \
|
|
xorg-x11-server-utils \
|
|
xorg-x11-server-Xvfb
|
|
|
|
pip3 install meson
|
|
# Add the pip3 installation to the path
|
|
export PATH="$PATH:/usr/local/lib/python3.7/site-packages"
|
|
|
|
# Install the dependencies of gstreamer
|
|
dnf builddep -y 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 \
|
|
gstreamer1-vaapi \
|
|
python3-gstreamer1 \
|
|
-x meson
|
|
|
|
# Remove gst-devel packages installed by builddep above
|
|
dnf remove -y "gstreamer1*devel"
|
|
|
|
# get gst-build and make all subprojects available
|
|
git clone git://anongit.freedesktop.org/gstreamer/gst-build /gst-build/
|
|
cd /gst-build && meson build/ && rm -rf build/ |