mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-07 07:33:52 +02:00
Add t2e2e to snap
This commit is contained in:
parent
01452b7309
commit
66ede6037d
1 changed files with 27 additions and 0 deletions
|
@ -166,6 +166,7 @@ parts:
|
|||
- libjxl
|
||||
- qt
|
||||
- rnnoise
|
||||
- tde2e
|
||||
- webrtc
|
||||
|
||||
patches:
|
||||
|
@ -449,6 +450,32 @@ parts:
|
|||
stage:
|
||||
- ./usr/bin/systemd-detect-virt
|
||||
|
||||
tde2e:
|
||||
source: https://github.com/tdlib/td.git
|
||||
source-depth: 1
|
||||
source-commit: 51743dfd01dff6179e2d8f7095729caa4e2222e9
|
||||
plugin: cmake
|
||||
build-environment:
|
||||
- LDFLAGS: ${LDFLAGS:+$LDFLAGS} -s
|
||||
build-packages:
|
||||
- gperf
|
||||
- libssl-dev
|
||||
- zlib1g-dev
|
||||
stage-packages:
|
||||
- libssl3t64
|
||||
- zlib1g
|
||||
cmake-generator: Ninja
|
||||
cmake-parameters:
|
||||
- -DCMAKE_BUILD_TYPE=Release
|
||||
- -DCMAKE_INSTALL_PREFIX=/usr
|
||||
- -DCMAKE_INSTALL_LIBDIR=lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR
|
||||
- -DTD_E2E_ONLY=ON
|
||||
prime:
|
||||
- -./usr/include
|
||||
- -./usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/cmake
|
||||
- -./usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/pkgconfig
|
||||
- -./usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/*.a
|
||||
|
||||
webrtc:
|
||||
source: https://github.com/desktop-app/tg_owt.git
|
||||
source-depth: 1
|
||||
|
|
Loading…
Add table
Reference in a new issue