Update tg_owt

This commit is contained in:
Ilya Fedin 2022-02-01 16:23:54 +04:00 committed by John Preston
parent 8148974e9f
commit d4b686ff65
2 changed files with 8 additions and 2 deletions

View File

@ -687,6 +687,7 @@ WORKDIR ..
FROM builder AS webrtc
COPY --from=libepoxy ${LibrariesPath}/libepoxy-cache /
COPY --from=mozjpeg ${LibrariesPath}/mozjpeg-cache /
COPY --from=opus ${LibrariesPath}/opus-cache /
COPY --from=libvpx ${LibrariesPath}/libvpx-cache /
@ -699,7 +700,7 @@ 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 1fd131d37777c445b58cad3889313a7c26ffc2ee
RUN git fetch --depth=1 origin 25c8637f5975db830cc5d74477641a8b609e248d
RUN git reset --hard FETCH_HEAD
RUN git submodule init
RUN git submodule update

View File

@ -447,10 +447,12 @@ parts:
webrtc:
source: https://github.com/desktop-app/tg_owt.git
source-depth: 1
source-commit: 6372a0848f8dd84013e291b44f9d1427fde3a90e
source-commit: 25c8637f5975db830cc5d74477641a8b609e248d
plugin: cmake
build-packages:
- yasm
- libdrm-dev
- libgbm-dev
- libglib2.0-dev
- libopus-dev
- libpipewire-0.2-dev
@ -464,6 +466,8 @@ parts:
- libxrandr-dev
- libxtst-dev
stage-packages:
- libdrm2
- libgbm1
- libglib2.0-0
- libopus0
- libpipewire-0.2-1
@ -487,6 +491,7 @@ parts:
- -./usr/lib/$SNAPCRAFT_ARCH_TRIPLET/cmake
- -./usr/lib/$SNAPCRAFT_ARCH_TRIPLET/*.a
after:
- epoxy
- ffmpeg
- mozjpeg
- vpx