Exclude DL Streamer installation dependencies from install_dependencies script (#9126)
This commit is contained in:
parent
c41acdeaf3
commit
d4c8926fc5
@ -8,7 +8,7 @@ set -e
|
||||
#===================================================================================================
|
||||
# Option parsing
|
||||
|
||||
all_comp=(opencv_req opencv_opt python dev myriad dlstreamer installer cl_compiler)
|
||||
all_comp=(opencv_req opencv_opt python dev myriad installer cl_compiler)
|
||||
os=${os:-auto}
|
||||
|
||||
# public options
|
||||
@ -117,26 +117,6 @@ if [ "$os" == "ubuntu18.04" ] ; then
|
||||
libgstreamer1.0-0
|
||||
libswscale4
|
||||
)
|
||||
pkgs_dlstreamer=(
|
||||
ffmpeg
|
||||
flex
|
||||
gstreamer1.0-alsa
|
||||
gstreamer1.0-plugins-bad
|
||||
gstreamer1.0-plugins-base
|
||||
gstreamer1.0-plugins-good
|
||||
gstreamer1.0-plugins-ugly
|
||||
gstreamer1.0-vaapi
|
||||
gstreamer1.0-tools
|
||||
libfaac0
|
||||
libfluidsynth1
|
||||
libgl-dev
|
||||
libglib2.0-dev
|
||||
libgstreamer1.0-0
|
||||
libnettle6
|
||||
libtag-extras1
|
||||
python3-gi
|
||||
vainfo
|
||||
)
|
||||
|
||||
elif [ "$os" == "ubuntu20.04" ] ; then
|
||||
|
||||
@ -159,33 +139,6 @@ elif [ "$os" == "ubuntu20.04" ] ; then
|
||||
libgstreamer1.0-0
|
||||
libswscale5
|
||||
)
|
||||
pkgs_dlstreamer=(
|
||||
ffmpeg
|
||||
flex
|
||||
gstreamer1.0-alsa
|
||||
gstreamer1.0-libav
|
||||
gstreamer1.0-plugins-bad
|
||||
gstreamer1.0-plugins-base
|
||||
gstreamer1.0-plugins-good
|
||||
gstreamer1.0-plugins-ugly
|
||||
gstreamer1.0-vaapi
|
||||
gstreamer1.0-tools
|
||||
gstreamer1.0-x
|
||||
libfaac0
|
||||
libfluidsynth2
|
||||
libgl-dev
|
||||
libglib2.0-dev
|
||||
libgstreamer-plugins-base1.0-dev
|
||||
libgstreamer1.0-0
|
||||
libgstrtspserver-1.0-dev
|
||||
libnettle7
|
||||
libopenexr24
|
||||
libtag-extras1
|
||||
python3-gi
|
||||
python3-gi-cairo
|
||||
python3-gst-1.0
|
||||
vainfo
|
||||
)
|
||||
|
||||
elif [ "$os" == "rhel8" ] ; then
|
||||
|
||||
@ -200,7 +153,6 @@ elif [ "$os" == "rhel8" ] ; then
|
||||
gstreamer1-plugins-good
|
||||
gstreamer1-plugins-ugly-free
|
||||
)
|
||||
pkgs_dlstreamer=()
|
||||
extra_repos+=(https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm)
|
||||
|
||||
elif [ "$os" == "centos7" ] ; then
|
||||
@ -219,101 +171,11 @@ elif [ "$os" == "centos7" ] ; then
|
||||
gstreamer1-plugins-good
|
||||
gstreamer1-plugins-ugly-free
|
||||
)
|
||||
pkgs_dlstreamer=(
|
||||
OpenEXR-libs
|
||||
alsa-lib
|
||||
boost-regex
|
||||
bzip2-libs
|
||||
cairo
|
||||
cdparanoia-libs
|
||||
flac-libs
|
||||
flite
|
||||
gdk-pixbuf2
|
||||
glib2
|
||||
glibc
|
||||
gmp
|
||||
gsm
|
||||
gstreamer1
|
||||
gstreamer1-plugins-bad-free
|
||||
gstreamer1-plugins-base
|
||||
ilmbase
|
||||
libX11
|
||||
libXdamage
|
||||
libXext
|
||||
libXfixes
|
||||
libXrandr
|
||||
libXrender
|
||||
libXv
|
||||
libdrm
|
||||
libdv
|
||||
libgcc
|
||||
libglvnd-glx
|
||||
libjpeg-turbo
|
||||
libogg
|
||||
libpng
|
||||
librdkafka
|
||||
librsvg2
|
||||
libsndfile
|
||||
libsoup
|
||||
libstdc++
|
||||
libtheora
|
||||
libuuid
|
||||
libv4l
|
||||
libvisual
|
||||
libvorbis
|
||||
libxml2
|
||||
mpg123-libs
|
||||
neon
|
||||
nettle
|
||||
openjpeg2
|
||||
openssl-libs
|
||||
opus
|
||||
orc
|
||||
pango
|
||||
pulseaudio-libs
|
||||
sbc
|
||||
soundtouch
|
||||
speex
|
||||
wavpack
|
||||
xz-libs
|
||||
zlib
|
||||
python36-gi
|
||||
python36-gobject
|
||||
python36-gobject-devel
|
||||
)
|
||||
|
||||
if [ -n "$extra" ] ; then
|
||||
# 1 RPMFusion
|
||||
extra_repos+=(https://mirrors.rpmfusion.org/free/el/rpmfusion-free-release-7.noarch.rpm)
|
||||
pkgs_opencv_opt+=(ffmpeg-libs)
|
||||
pkgs_dlstreamer+=(
|
||||
libde265
|
||||
libmms
|
||||
librtmp
|
||||
opencore-amr
|
||||
vo-amrwbenc
|
||||
)
|
||||
# 2 EPEL
|
||||
extra_repos+=(https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm)
|
||||
pkgs_dlstreamer+=(
|
||||
fluidsynth-libs
|
||||
game-music-emu
|
||||
libass
|
||||
libbs2b
|
||||
libchromaprint
|
||||
libmodplug
|
||||
openal-soft
|
||||
paho-c
|
||||
spandsp
|
||||
zbar
|
||||
zvbi
|
||||
)
|
||||
# 3 ForensicsTools
|
||||
extra_repos+=(https://forensics.cert.org/cert-forensics-tools-release-el7.rpm)
|
||||
pkgs_dlstreamer+=(
|
||||
faac
|
||||
fdk-aac
|
||||
)
|
||||
fi
|
||||
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user