ci: Move fedora pkg list in a .txt file

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5629>
This commit is contained in:
Jordan Petridis 2023-10-24 09:52:41 +03:00
parent 5c86cad51d
commit 579c9285c1
3 changed files with 108 additions and 135 deletions

View file

@ -5,7 +5,7 @@ variables:
# If you are hacking on them or need a them to rebuild, its enough
# to change any part of the string of the image you want.
###
FEDORA_TAG: '2023-11-09.0'
FEDORA_TAG: '2023-11-13.2'
INDENT_TAG: '2023-08-24.3'

106
ci/docker/fedora/deps.txt Normal file
View file

@ -0,0 +1,106 @@
aalib-devel
aom
bat
bison
busybox
ccache
clang-devel
cmake
curl
dnf-plugins-core
elfutils
elfutils-devel
faac-devel
ffmpeg
ffmpeg-devel
ffmpeg-libs
flex
flite-devel
gcc
gcc-c++
gdb
git-core
git-lfs
glslc
gpac-devel
graphene-devel
gsl-devel
gssdp-devel
gtest-devel
gtk-doc
gtk3-devel
gtk4-devel
gupnp-devel
gupnp-igd-devel
intel-mediasdk-devel
iproute
json-glib-devel
libaom-devel
libcaca-devel
libcurl-devel
libdav1d-devel
libdrm-devel
libnice-devel
libsodium-devel
libsoup-devel
libunwind-devel
libva-devel
libxcb-devel
libxkbcommon-devel
libxkbcommon-x11-devel
libxml2-devel
libxslt-devel
libyaml-devel
llvm-devel
log4c-devel
make
mesa-dri-drivers
mesa-libd3d-devel
mesa-libgbm-devel
mesa-libGL-devel
mesa-libGLES-devel
mesa-libGLU-devel
mesa-libOpenCL-devel
mesa-libOSMesa-devel
mesa-vulkan-drivers
mono-devel
nasm
neon-devel
ninja-build
npm
nunit
opencv-devel
openjpeg2-devel
patch
procps-ng
python3
python3-cairo
python3-cairo-devel
python3-devel
python3-gobject
python3-pip
python3-wheel
qconf
qemu-system-x86
qt5-linguist
qt5-qtbase-devel
qt5-qtbase-private-devel
qt5-qtdeclarative-devel
qt5-qtquickcontrols2-devel
qt5-qttools-common
qt5-qtwayland-devel
qt5-qtx11extras-devel
redhat-rpm-config
sbc-devel
SDL2-devel
toolbox-experience
valgrind
vulkan-devel
vulkan-loader
x264
x264-devel
x265
x264-devel
xorg-x11-server-utils
xorg-x11-server-Xvfb
xset

View file

@ -7,146 +7,13 @@ set -eux
sed -i '/tsflags=nodocs/d' /etc/dnf/dnf.conf
dnf -y swap coreutils-single coreutils-full
dnf install -y git-core dnf-plugins-core python3-pip toolbox-experience
# Add rpm fusion repositories in order to access all of the gst plugins
sudo dnf install -y \
"https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm" \
"https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm"
dnf upgrade -y && dnf distro-sync -y
# install rest of the extra deps
dnf install -y \
aalib-devel \
aom \
bat \
busybox \
intel-mediasdk-devel \
libaom \
libaom-devel \
libcaca-devel \
libcurl-devel \
libdav1d \
libdav1d-devel \
libdrm-devel \
ccache \
cmake \
clang-devel \
curl \
elfutils \
elfutils-libs \
elfutils-devel \
gcc \
gcc-c++ \
gdb \
git-lfs \
glslc \
gtk-doc \
gtk3 \
gtk3-devel \
gtk4 \
gtk4-devel \
gtest \
gtest-devel \
graphene \
graphene-devel \
gsl \
gsl-devel \
gupnp \
gupnp-devel \
gupnp-igd \
gupnp-igd-devel \
gssdp \
gssdp-devel \
iproute \
faac-devel \
ffmpeg \
ffmpeg-libs \
ffmpeg-devel \
flex \
flite \
flite-devel \
libsoup \
libsoup-devel \
mono-devel \
procps-ng \
patch \
qconf \
qt5-linguist \
qt5-qtbase-devel \
qt5-qtbase-private-devel \
qt5-qtdeclarative-devel \
qt5-qtquickcontrols2-devel \
qt5-qttools-common \
qt5-qtwayland-devel \
qt5-qtx11extras-devel \
redhat-rpm-config \
json-glib \
json-glib-devel \
libnice \
libnice-devel \
libsodium-devel \
libunwind \
libunwind-devel \
libva-devel \
libyaml-devel \
libxml2-devel \
libxslt-devel \
llvm-devel \
log4c-devel \
libxcb-devel \
libxkbcommon-devel \
libxkbcommon-x11-devel \
make \
nasm \
neon \
neon-devel \
ninja-build \
nunit \
npm \
opencv \
opencv-devel \
openjpeg2 \
openjpeg2-devel \
qemu-system-x86 \
SDL2 \
SDL2-devel \
sbc \
sbc-devel \
x264 \
x264-libs \
x264-devel \
python3 \
python3-devel \
python3-libs \
python3-wheel \
python3-gobject \
python3-cairo \
python3-cairo-devel \
valgrind \
vulkan \
vulkan-devel \
vulkan-loader \
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-dri-drivers \
mesa-vulkan-drivers \
xset \
xorg-x11-server-utils \
xorg-x11-server-Xvfb
dnf install -y $(<./ci/docker/fedora/deps.txt)
# Install the dependencies of gstreamer
dnf builddep -y gstreamer1 \