Skip to content

Commit 7812152

Browse files
committed
CI/Linux: Install OMT
1 parent 69801bc commit 7812152

1 file changed

Lines changed: 30 additions & 1 deletion

File tree

.github/scripts/Linux/install_others.sh

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,13 +62,42 @@ install_vulkan() {(
6262
sudo make install
6363
)}
6464

65+
install_omt() {(
66+
sudo apt install dotnet8
67+
68+
mkdir omt_build
69+
cd omt_build
70+
git clone --depth 1 https://github.com/openmediatransport/libvmx.git
71+
git clone --depth 1 https://github.com/openmediatransport/libomt.git
72+
git clone --depth 1 https://github.com/openmediatransport/libomtnet.git
73+
74+
cd libvmx/build
75+
chmod +x buildlinuxx64.sh
76+
./buildlinuxx64.sh
77+
cd ../..
78+
79+
cd libomtnet/build
80+
chmod +x buildall.sh
81+
./buildall.sh
82+
cd ../..
83+
84+
cd libomt/build
85+
chmod +x buildlinuxx64.sh
86+
./buildlinuxx64.sh
87+
cd ../..
88+
89+
sudo cp libvmx/build/libvmx.so /usr/local/lib/
90+
sudo cp libomt/bin/Release/net8.0/linux-x64/publish/libomt.so /usr/local/lib/
91+
sudo cp libomt/bin/Release/net8.0/linux-x64/publish/libomt.h /usr/local/include/
92+
)}
93+
6594
show_help=
6695
if [ $# -eq 1 ] && { [ "$1" = -h ] || [ "$1" = --help ] || [ "$1" = help ]; }; then
6796
show_help=1
6897
fi
6998

7099
if [ $# -eq 0 ] || [ $show_help ]; then
71-
set -- gpujpeg ndi svt_jpegxs vulkan ximea
100+
set -- gpujpeg ndi svt_jpegxs vulkan ximea omt
72101
fi
73102

74103
if [ $show_help ]; then

0 commit comments

Comments
 (0)