From 4a94d08cf08323a8efc4e7ea5c3c09a5b8b966b7 Mon Sep 17 00:00:00 2001 From: sasgas Date: Mon, 27 Feb 2023 18:28:35 +0900 Subject: [PATCH] =?UTF-8?q?gstreamer=201.18.5=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 3 +++ install_gstreamer1185.sh | 17 +++++++++++++++++ 2 files changed, 20 insertions(+) create mode 100755 install_gstreamer1185.sh diff --git a/Dockerfile b/Dockerfile index 55c00e4..5d29e44 100644 --- a/Dockerfile +++ b/Dockerfile @@ -99,6 +99,9 @@ RUN /script/install_gstreamer1203.sh ADD install_gstreamer1220.sh /script/ RUN /script/install_gstreamer1220.sh +ADD install_gstreamer1185.sh /script/ +RUN /script/install_gstreamer1185.sh + # ctail RUN wget -O - https://raw.githubusercontent.com/castisdev/ctail/master/install.sh --no-check-certificate | bash diff --git a/install_gstreamer1185.sh b/install_gstreamer1185.sh new file mode 100755 index 0000000..040d461 --- /dev/null +++ b/install_gstreamer1185.sh @@ -0,0 +1,17 @@ +#!/bin/bash -e +set -x #echo on +cd ~ +pip3 install meson +yum -y install flex bison libmount-devel; yum -y clean all +wget -nv --no-check-certificate --content-disposition https://github.com/GStreamer/gst-build/archive/refs/tags/1.18.5.tar.gz +tar xf gst-build-1.18.5.tar.gz +cd gst-build-1.18.5 +export CFLAGS=$(pkg-config --cflags openssl11) +export LDFLAGS=$(pkg-config --libs openssl11) +meson -Dlibsoup:c_std=gnu99 -Dgst-plugins-bad:avtp=disabled build --prefix=/usr/local/gstreamer-1.18.5 +meson install -C build +echo "/usr/local/gstreamer-1.18.5/lib64" >> /etc/ld.so.conf.d/gstreamer-1.18.5.conf +ldconfig +cd ~ +rm -rf gst-build-1.18.5* +ccache -C