mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
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
This commit is contained in:
parent
7f0bdc5d36
commit
c7b6db00ca
1 changed files with 11 additions and 10 deletions
|
@ -447,15 +447,15 @@ parts:
|
||||||
webrtc:
|
webrtc:
|
||||||
source: https://github.com/desktop-app/tg_owt.git
|
source: https://github.com/desktop-app/tg_owt.git
|
||||||
source-depth: 1
|
source-depth: 1
|
||||||
source-commit: 25c8637f5975db830cc5d74477641a8b609e248d
|
source-commit: d618d0b5ff3e59bea0143e6070481f8f4316a428
|
||||||
plugin: cmake
|
plugin: cmake
|
||||||
build-packages:
|
build-packages:
|
||||||
- yasm
|
- yasm
|
||||||
- libdrm-dev
|
#- libdrm-dev
|
||||||
- libgbm-dev
|
#- libgbm-dev
|
||||||
- libglib2.0-dev
|
#- libglib2.0-dev
|
||||||
- libopus-dev
|
- libopus-dev
|
||||||
- libpipewire-0.2-dev
|
#- libpipewire-0.2-dev
|
||||||
- libssl-dev
|
- libssl-dev
|
||||||
- libx11-dev
|
- libx11-dev
|
||||||
- libxcomposite-dev
|
- libxcomposite-dev
|
||||||
|
@ -466,11 +466,11 @@ parts:
|
||||||
- libxrandr-dev
|
- libxrandr-dev
|
||||||
- libxtst-dev
|
- libxtst-dev
|
||||||
stage-packages:
|
stage-packages:
|
||||||
- libdrm2
|
#- libdrm2
|
||||||
- libgbm1
|
#- libgbm1
|
||||||
- libglib2.0-0
|
#- libglib2.0-0
|
||||||
- libopus0
|
- libopus0
|
||||||
- libpipewire-0.2-1
|
#- libpipewire-0.2-1
|
||||||
- libssl1.1
|
- libssl1.1
|
||||||
- libx11-6
|
- libx11-6
|
||||||
- libxcomposite1
|
- libxcomposite1
|
||||||
|
@ -486,12 +486,13 @@ parts:
|
||||||
- -DCMAKE_INSTALL_PREFIX=/usr
|
- -DCMAKE_INSTALL_PREFIX=/usr
|
||||||
- -DJPEG_LIBRARY_RELEASE=$SNAPCRAFT_STAGE/usr/lib/$SNAPCRAFT_ARCH_TRIPLET/libjpeg.so
|
- -DJPEG_LIBRARY_RELEASE=$SNAPCRAFT_STAGE/usr/lib/$SNAPCRAFT_ARCH_TRIPLET/libjpeg.so
|
||||||
- -DJPEG_INCLUDE_DIR=$SNAPCRAFT_STAGE/usr/include
|
- -DJPEG_INCLUDE_DIR=$SNAPCRAFT_STAGE/usr/include
|
||||||
|
- -DTG_OWT_USE_PIPEWIRE=OFF
|
||||||
prime:
|
prime:
|
||||||
- -./usr/include
|
- -./usr/include
|
||||||
- -./usr/lib/$SNAPCRAFT_ARCH_TRIPLET/cmake
|
- -./usr/lib/$SNAPCRAFT_ARCH_TRIPLET/cmake
|
||||||
- -./usr/lib/$SNAPCRAFT_ARCH_TRIPLET/*.a
|
- -./usr/lib/$SNAPCRAFT_ARCH_TRIPLET/*.a
|
||||||
after:
|
after:
|
||||||
- epoxy
|
#- epoxy
|
||||||
- ffmpeg
|
- ffmpeg
|
||||||
- mozjpeg
|
- mozjpeg
|
||||||
- vpx
|
- vpx
|
||||||
|
|
Loading…
Add table
Reference in a new issue