mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-07 23:53:58 +02:00
Update protobuf in snap
This commit is contained in:
parent
1c77ae818e
commit
50bfed79be
1 changed files with 25 additions and 3 deletions
|
@ -89,7 +89,6 @@ parts:
|
||||||
- clang
|
- clang
|
||||||
- libtool-bin
|
- libtool-bin
|
||||||
- python3
|
- python3
|
||||||
- protobuf-compiler
|
|
||||||
- libasound2-dev
|
- libasound2-dev
|
||||||
- libavif-dev
|
- libavif-dev
|
||||||
- libboost-regex-dev
|
- libboost-regex-dev
|
||||||
|
@ -98,7 +97,6 @@ parts:
|
||||||
- libheif-dev
|
- libheif-dev
|
||||||
- libopenal-dev
|
- libopenal-dev
|
||||||
- libopus-dev
|
- libopus-dev
|
||||||
- libprotobuf-dev
|
|
||||||
- libpulse-dev
|
- libpulse-dev
|
||||||
- libssl-dev
|
- libssl-dev
|
||||||
- libxcb1-dev
|
- libxcb1-dev
|
||||||
|
@ -116,7 +114,6 @@ parts:
|
||||||
- libheif1
|
- libheif1
|
||||||
- libopenal1
|
- libopenal1
|
||||||
- libopus0
|
- libopus0
|
||||||
- libprotobuf-lite32t64
|
|
||||||
- libpulse0
|
- libpulse0
|
||||||
- libssl3t64
|
- libssl3t64
|
||||||
- libwebkit2gtk-4.1-0
|
- libwebkit2gtk-4.1-0
|
||||||
|
@ -164,6 +161,7 @@ parts:
|
||||||
- ada
|
- ada
|
||||||
- ffmpeg
|
- ffmpeg
|
||||||
- libjxl
|
- libjxl
|
||||||
|
- protobuf
|
||||||
- qt
|
- qt
|
||||||
- rnnoise
|
- rnnoise
|
||||||
- tde2e
|
- tde2e
|
||||||
|
@ -295,6 +293,30 @@ parts:
|
||||||
- -./usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/*.so
|
- -./usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/*.so
|
||||||
- -./usr/share
|
- -./usr/share
|
||||||
|
|
||||||
|
protobuf:
|
||||||
|
source: https://github.com/protocolbuffers/protobuf.git
|
||||||
|
source-depth: 1
|
||||||
|
source-tag: v30.2
|
||||||
|
plugin: cmake
|
||||||
|
build-environment:
|
||||||
|
- LDFLAGS: ${LDFLAGS:+$LDFLAGS} -s
|
||||||
|
build-packages:
|
||||||
|
- zlib1g-dev
|
||||||
|
stage-packages:
|
||||||
|
- zlib1g
|
||||||
|
cmake-generator: Ninja
|
||||||
|
cmake-parameters:
|
||||||
|
- -DCMAKE_BUILD_TYPE=Release
|
||||||
|
- -DCMAKE_INSTALL_PREFIX=/usr
|
||||||
|
- -DBUILD_SHARED_LIBS=ON
|
||||||
|
- -Dprotobuf_BUILD_TESTS=OFF
|
||||||
|
prime:
|
||||||
|
- -./usr/bin
|
||||||
|
- -./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/*.so
|
||||||
|
|
||||||
qt:
|
qt:
|
||||||
plugin: nil
|
plugin: nil
|
||||||
build-environment:
|
build-environment:
|
||||||
|
|
Loading…
Add table
Reference in a new issue