From c7b6db00cac642e1737610963f77a0169b5b17a0 Mon Sep 17 00:00:00 2001 From: Ilya Fedin Date: Wed, 2 Feb 2022 03:52:44 +0400 Subject: [PATCH] Build WebRTC without PipeWire support in snap WebRTC no more supports PipeWire 0.2, so it's impossible to build PipeWire support until core22 runtime is released --- snap/snapcraft.yaml | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 25d8a79544..0e37eab204 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -447,15 +447,15 @@ parts: webrtc: source: https://github.com/desktop-app/tg_owt.git source-depth: 1 - source-commit: 25c8637f5975db830cc5d74477641a8b609e248d + source-commit: d618d0b5ff3e59bea0143e6070481f8f4316a428 plugin: cmake build-packages: - yasm - - libdrm-dev - - libgbm-dev - - libglib2.0-dev + #- libdrm-dev + #- libgbm-dev + #- libglib2.0-dev - libopus-dev - - libpipewire-0.2-dev + #- libpipewire-0.2-dev - libssl-dev - libx11-dev - libxcomposite-dev @@ -466,11 +466,11 @@ parts: - libxrandr-dev - libxtst-dev stage-packages: - - libdrm2 - - libgbm1 - - libglib2.0-0 + #- libdrm2 + #- libgbm1 + #- libglib2.0-0 - libopus0 - - libpipewire-0.2-1 + #- libpipewire-0.2-1 - libssl1.1 - libx11-6 - libxcomposite1 @@ -486,12 +486,13 @@ parts: - -DCMAKE_INSTALL_PREFIX=/usr - -DJPEG_LIBRARY_RELEASE=$SNAPCRAFT_STAGE/usr/lib/$SNAPCRAFT_ARCH_TRIPLET/libjpeg.so - -DJPEG_INCLUDE_DIR=$SNAPCRAFT_STAGE/usr/include + - -DTG_OWT_USE_PIPEWIRE=OFF prime: - -./usr/include - -./usr/lib/$SNAPCRAFT_ARCH_TRIPLET/cmake - -./usr/lib/$SNAPCRAFT_ARCH_TRIPLET/*.a after: - - epoxy + #- epoxy - ffmpeg - mozjpeg - vpx