mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Add protobuf to snap
This commit is contained in:
parent
e561f93d44
commit
8b20c27ba7
1 changed files with 24 additions and 0 deletions
|
@ -158,6 +158,7 @@ parts:
|
||||||
- mozjpeg
|
- mozjpeg
|
||||||
- openal
|
- openal
|
||||||
- openssl
|
- openssl
|
||||||
|
- protobuf
|
||||||
- rnnoise
|
- rnnoise
|
||||||
- webrtc
|
- webrtc
|
||||||
|
|
||||||
|
@ -338,6 +339,29 @@ parts:
|
||||||
- -./usr/lib/$CRAFT_ARCH_TRIPLET/*.so
|
- -./usr/lib/$CRAFT_ARCH_TRIPLET/*.so
|
||||||
- -./usr/share
|
- -./usr/share
|
||||||
|
|
||||||
|
protobuf:
|
||||||
|
source: https://github.com/protocolbuffers/protobuf.git
|
||||||
|
source-depth: 1
|
||||||
|
source-tag: v21.9
|
||||||
|
plugin: cmake
|
||||||
|
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
|
||||||
|
- -Dprotobuf_BUILD_LIBPROTOC=ON
|
||||||
|
prime:
|
||||||
|
- -./usr/bin
|
||||||
|
- -./usr/include
|
||||||
|
- -./usr/lib/$CRAFT_ARCH_TRIPLET/cmake
|
||||||
|
- -./usr/lib/$CRAFT_ARCH_TRIPLET/pkgconfig
|
||||||
|
- -./usr/lib/$CRAFT_ARCH_TRIPLET/*.so
|
||||||
|
|
||||||
qt:
|
qt:
|
||||||
plugin: nil
|
plugin: nil
|
||||||
build-packages:
|
build-packages:
|
||||||
|
|
Loading…
Add table
Reference in a new issue