2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-05 00:55:12 +00:00

Update tg_owt to webrtc m90.

This commit is contained in:
John Preston
2021-05-18 10:01:35 +04:00
parent b905a18161
commit e0e878cbb1
6 changed files with 25 additions and 9 deletions

View File

@@ -733,13 +733,20 @@ COPY --from=ffmpeg ${LibrariesPath}/ffmpeg-cache /
COPY --from=openssl ${LibrariesPath}/openssl-cache /
COPY --from=libXtst ${LibrariesPath}/libXtst-cache /
ADD https://api.github.com/repos/desktop-app/tg_owt/git/refs/heads/master tg_owt-version.json
RUN git clone --depth=1 --recursive $GIT/desktop-app/tg_owt.git
# Shallow clone on a specific commit.
RUN mkdir tg_owt
WORKDIR tg_owt
RUN git init
RUN git remote add origin $GIT/desktop-app/tg_owt.git
RUN git fetch --depth=1 origin 80c1c625332cb056aae50794c107700edc3b71d2
RUN git reset --hard FETCH_HEAD
RUN git submodule init
RUN git submodule update
WORKDIR tg_owt/src/third_party/pipewire
WORKDIR src/third_party/pipewire
RUN meson build
WORKDIR $LibrariesPath/tg_owt
WORKDIR ../../..
RUN cmake3 -B out/Release . \
-DCMAKE_BUILD_TYPE=Release \