mirror of
https://github.com/Qv2ray/Qv2ray.git
synced 2025-05-21 19:30:26 +08:00
snap: using system zxing-cpp for snap packaging
This commit is contained in:
parent
3c18bd19e9
commit
f894b86331
@ -1 +1 @@
|
|||||||
5527
|
5528
|
||||||
|
@ -57,6 +57,7 @@ parts:
|
|||||||
- libprotobuf-dev
|
- libprotobuf-dev
|
||||||
- protobuf-compiler-grpc
|
- protobuf-compiler-grpc
|
||||||
- pkg-config
|
- pkg-config
|
||||||
|
- libzxingcore-dev
|
||||||
stage-packages:
|
stage-packages:
|
||||||
- libgcc1
|
- libgcc1
|
||||||
- libstdc++6
|
- libstdc++6
|
||||||
@ -68,11 +69,13 @@ parts:
|
|||||||
- libqt5network5
|
- libqt5network5
|
||||||
- libqt5widgets5
|
- libqt5widgets5
|
||||||
- libglib2.0-bin
|
- libglib2.0-bin
|
||||||
|
- libzxingcore1
|
||||||
cmake-parameters:
|
cmake-parameters:
|
||||||
- -DCMAKE_INSTALL_PREFIX=/usr
|
- -DCMAKE_INSTALL_PREFIX=/usr
|
||||||
- -DCMAKE_BUILD_TYPE=Release
|
- -DCMAKE_BUILD_TYPE=Release
|
||||||
- -DEMBED_TRANSLATIONS=ON
|
- -DEMBED_TRANSLATIONS=ON
|
||||||
- -DFALL_BACK_TO_XDG_OPEN=ON
|
- -DFALL_BACK_TO_XDG_OPEN=ON
|
||||||
|
- -DQV2RAY_ZXING_PROVIDER=package
|
||||||
override-pull: |
|
override-pull: |
|
||||||
snapcraftctl pull
|
snapcraftctl pull
|
||||||
build_number=$(cat makespec/BUILDVERSION)
|
build_number=$(cat makespec/BUILDVERSION)
|
||||||
|
Loading…
Reference in New Issue
Block a user